mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2025-02-07 00:14:28 +01:00
Updated Cheat Sheet (markdown)
parent
57342ced6a
commit
4b69bc68be
@ -199,12 +199,6 @@ For more performance tips, see [[Performance Tips]].
|
||||
|
||||
```go
|
||||
type DrawImageOptions struct {
|
||||
// (This is deprecated as of 1.9.0-alpha. Use (*Image).SubImage instead if you use Ebiten 1.9.0-alpha or later.)
|
||||
//
|
||||
// SourceRect is the region of the source image to draw.
|
||||
// If SourceRect is nil, whole image is used.
|
||||
SourceRect *image.Rectangle
|
||||
|
||||
// GeoM is a geometry matrix to draw.
|
||||
// The default (zero) value is identify, which draws the image at (0, 0).
|
||||
GeoM GeoM
|
||||
|
Loading…
Reference in New Issue
Block a user