Documentation ¶
Index ¶
- func Abs(n int) int
- func Flip(geoM ebiten.GeoM, origin Vec2F, horizontal, vertical bool) ebiten.GeoM
- func ImgResizeTo(geoM ebiten.GeoM, img *ebiten.Image, size Vec2F) ebiten.GeoM
- func Rotate(geoM ebiten.GeoM, origin Vec2F, angle float64) ebiten.GeoM
- func Scale(geoM ebiten.GeoM, origin Vec2F, scale Vec2F) ebiten.GeoM
- func Sign(n int) int
- func Translate(geoM ebiten.GeoM, pos Vec2F) ebiten.GeoM
- type RectF
- type RectI
- func (r RectI) Center() Vec2I
- func (r RectI) Clamp(o RectI) RectI
- func (r RectI) Contains(pos Vec2I) bool
- func (r RectI) Grow(d Vec2I) RectI
- func (r RectI) Inside(o RectI) bool
- func (r RectI) Intercepts(o RectI) bool
- func (r RectI) Move(d Vec2I) RectI
- func (r RectI) ToCoords() (int, int, int, int)
- func (r RectI) ToIR() image.Rectangle
- type Vec2F
- type Vec2I
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ImgResizeTo ¶
func ImgResizeTo(geoM ebiten.GeoM, img *ebiten.Image, size Vec2F) ebiten.GeoM
Types ¶
type RectI ¶
func (RectI) Intercepts ¶
Click to show internal directories.
Click to hide internal directories.