Updated Cheat Sheet (markdown)

Hajime Hoshi 2019-03-04 23:53:20 +09:00
parent 57342ced6a
commit 4b69bc68be

@ -199,12 +199,6 @@ For more performance tips, see [[Performance Tips]].
```go ```go
type DrawImageOptions struct { 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. // GeoM is a geometry matrix to draw.
// The default (zero) value is identify, which draws the image at (0, 0). // The default (zero) value is identify, which draws the image at (0, 0).
GeoM GeoM GeoM GeoM