diff --git a/colorm.go b/colorm.go index 87c7999f2..3bbf9ae9f 100644 --- a/colorm.go +++ b/colorm.go @@ -176,7 +176,7 @@ func Monochrome() ColorM { return monochrome } -// Deprecated as of 1.2.0-alpha. Use Scale instead. +// ScaleColor is deprecated as of 1.2.0-alpha. Use Scale instead. func ScaleColor(r, g, b, a float64) ColorM { return ColorM{ initialized: true, @@ -189,7 +189,7 @@ func ScaleColor(r, g, b, a float64) ColorM { } } -// Deprecated as of 1.2.0-alpha. Use Translate instead. +// TranslateColor is deprecated as of 1.2.0-alpha. Use Translate instead. func TranslateColor(r, g, b, a float64) ColorM { return ColorM{ initialized: true, @@ -202,7 +202,7 @@ func TranslateColor(r, g, b, a float64) ColorM { } } -// Deprecated as of 1.2.0-alpha. Use RotateHue member function instead. +// RotateHue is deprecated as of 1.2.0-alpha. Use RotateHue member function instead. func RotateHue(theta float64) ColorM { c := ColorM{} c.RotateHue(theta) diff --git a/geom.go b/geom.go index a9ecb012e..72d1bd43b 100644 --- a/geom.go +++ b/geom.go @@ -111,7 +111,7 @@ func (g *GeoM) SetElement(i, j int, element float64) { g.es[i][j] = element } -// Deprecated as of 1.2.0-alpha. Use Scale instead. +// ScaleGeo is deprecated as of 1.2.0-alpha. Use Scale instead. func ScaleGeo(x, y float64) GeoM { return GeoM{ initialized: true, @@ -122,7 +122,7 @@ func ScaleGeo(x, y float64) GeoM { } } -// Deprecated as of 1.2.0-alpha. Use Translate instead. +// TranslateGeo is deprecated as of 1.2.0-alpha. Use Translate instead. func TranslateGeo(tx, ty float64) GeoM { return GeoM{ initialized: true, @@ -133,7 +133,7 @@ func TranslateGeo(tx, ty float64) GeoM { } } -// Deprecated as of 1.2.0-alpha. Use Rotate instead. +// RotateGeo is deprecated as of 1.2.0-alpha. Use Rotate instead. func RotateGeo(theta float64) GeoM { sin, cos := math.Sincos(theta) return GeoM{ diff --git a/imageparts.go b/imageparts.go index 97a6356a4..5fb77e925 100644 --- a/imageparts.go +++ b/imageparts.go @@ -22,7 +22,7 @@ import ( "github.com/hajimehoshi/ebiten/internal/graphics" ) -// Deprecated (as of 1.1.0-alpha): Use ImageParts instead. +// An ImagePart is deprecated (as of 1.1.0-alpha): Use ImageParts instead. type ImagePart struct { Dst image.Rectangle Src image.Rectangle