mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2025-01-13 20:42:07 +01:00
Fix comments
This commit is contained in:
parent
abc2621b4c
commit
ccd8fcac3d
8
image.go
8
image.go
@ -148,10 +148,10 @@ func (i *Image) Fill(clr color.Color) (err error) {
|
|||||||
// After determining parts to draw, this applies the geometry matrix and the color matrix.
|
// After determining parts to draw, this applies the geometry matrix and the color matrix.
|
||||||
//
|
//
|
||||||
// Here are the default values:
|
// Here are the default values:
|
||||||
// DstParts: (0, 0) - (source width, source height)
|
// Parts: (0, 0) - (source width, source height) to (0, 0) - (source width, source height)
|
||||||
// SrcParts: (0, 0) - (source width, source height) (i.e. the whole source image)
|
// (i.e. the whole source image)
|
||||||
// GeometryMatrix: Identity matrix
|
// GeoM: Identity matrix
|
||||||
// ColorMatrix: Identity matrix (that changes no colors)
|
// ColorM: Identity matrix (that changes no colors)
|
||||||
func (i *Image) DrawImage(image *Image, options *DrawImageOptions) (err error) {
|
func (i *Image) DrawImage(image *Image, options *DrawImageOptions) (err error) {
|
||||||
return i.drawImage(image.inner, options)
|
return i.drawImage(image.inner, options)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user