mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-25 11:18:54 +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.
|
||||
//
|
||||
// Here are the default values:
|
||||
// DstParts: (0, 0) - (source width, source height)
|
||||
// SrcParts: (0, 0) - (source width, source height) (i.e. the whole source image)
|
||||
// GeometryMatrix: Identity matrix
|
||||
// ColorMatrix: Identity matrix (that changes no colors)
|
||||
// Parts: (0, 0) - (source width, source height) to (0, 0) - (source width, source height)
|
||||
// (i.e. the whole source image)
|
||||
// GeoM: Identity matrix
|
||||
// ColorM: Identity matrix (that changes no colors)
|
||||
func (i *Image) DrawImage(image *Image, options *DrawImageOptions) (err error) {
|
||||
return i.drawImage(image.inner, options)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user