mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-11-10 04:57:26 +01:00
Fix a comment
This commit is contained in:
parent
843b0d8621
commit
f7b2157585
2
image.go
2
image.go
@ -165,7 +165,7 @@ func (i *Image) DrawImage(image *Image, options *DrawImageOptions) (err error) {
|
|||||||
|
|
||||||
// DrawImageAt draws the given image on the receiver image at the position (x, y).
|
// DrawImageAt draws the given image on the receiver image at the position (x, y).
|
||||||
//
|
//
|
||||||
// If a geometry matrix is specified, the geometry matrix is applied ahead of the image is translated by (x, y).
|
// If a geometry matrix is specified, the geometry matrix is applied ahead of translating the image by (x, y).
|
||||||
func (i *Image) DrawImageAt(image *Image, x, y int, options *DrawImageOptions) (err error) {
|
func (i *Image) DrawImageAt(image *Image, x, y int, options *DrawImageOptions) (err error) {
|
||||||
if options == nil {
|
if options == nil {
|
||||||
options = &DrawImageOptions{}
|
options = &DrawImageOptions{}
|
||||||
|
Loading…
Reference in New Issue
Block a user