Skip to content

Commit 95e0ef3

Browse files
committed
vector: remove (*Path).ApplyGeoM
This was added in v2.9 and deprecated at the same time. Let's remove this. Updates #3266
1 parent 434b61d commit 95e0ef3

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

vector/path.go

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -777,18 +777,6 @@ func (p *Path) AppendVerticesAndIndicesForFilling(vertices []ebiten.Vertex, indi
777777
return vertices, indices
778778
}
779779

780-
// ApplyGeoM applies the given GeoM to the path and returns a new path.
781-
//
782-
// Deprecated: as of v2.9. Use [Path.AddPath] instead.
783-
func (p *Path) ApplyGeoM(geoM ebiten.GeoM) *Path {
784-
// Flat paths are not copied.
785-
var np Path
786-
op := &AddPathOptions{}
787-
op.GeoM = geoM
788-
np.AddPath(p, op)
789-
return &np
790-
}
791-
792780
// AddPathOptions is options for [Path.AddPath].
793781
type AddPathOptions struct {
794782
// GeoM is a geometry matrix to apply to the path.

0 commit comments

Comments
 (0)