mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-11-10 04:57:26 +01:00
graphics: Fix comments
This commit is contained in:
parent
95485441f4
commit
f58a253631
9
image.go
9
image.go
@ -68,10 +68,11 @@ 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:
|
||||
// ImageParts: (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)
|
||||
// ImageParts: (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)
|
||||
// CompositeMode: CompositeModeSourceOver (regular alpha blending)
|
||||
//
|
||||
// Be careful that this method is potentially slow.
|
||||
// It would be better if you could call this method fewer times.
|
||||
|
Loading…
Reference in New Issue
Block a user