AKL_Drawers

package
v0.0.0-...-d04e7c8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 22, 2022 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ImageDrawer

type ImageDrawer struct {
	*ebiten.Image
	ebiten.GeoM
}

func NewImageDrawer

func NewImageDrawer[Value values.Values](x_size, y_size Value, img *ebiten.Image) (ret ImageDrawer)

func NewImageDrawerR

func NewImageDrawerR[Value values.Values](x_size, y_size Value, rot int, img *ebiten.Image) (ret ImageDrawer)

func (ImageDrawer) Draw

func (iDrawe ImageDrawer) Draw(screen *ebiten.Image, GeomContext ebiten.GeoM)

func (ImageDrawer) Flip

func (iDrawe ImageDrawer) Flip(x, y bool) ImageDrawer

func (ImageDrawer) GetGeoM

func (iDrawe ImageDrawer) GetGeoM(GeomContext ebiten.GeoM) ebiten.GeoM

func (ImageDrawer) Rot

func (iDrawe ImageDrawer) Rot(angle float64) ImageDrawer

func (ImageDrawer) ToImageDrawer

func (iDrawe ImageDrawer) ToImageDrawer(GeomContext ebiten.GeoM) ImageDrawer

type ImageDrawerExec

type ImageDrawerExec struct {
	ImageDrawing
	ebiten.GeoM
}

func NewImageDrawerExec

func NewImageDrawerExec(iDrawerE ImageDrawing, GeomContext ebiten.GeoM) ImageDrawerExec

func (ImageDrawerExec) Draw

func (iDrawerE ImageDrawerExec) Draw(screen *ebiten.Image, GeomContext ebiten.GeoM)

func (ImageDrawerExec) GetGeoM

func (iDrawerE ImageDrawerExec) GetGeoM(GeomContext ebiten.GeoM) ebiten.GeoM

func (ImageDrawerExec) ToImageDrawer

func (iDrawerE ImageDrawerExec) ToImageDrawer(GeomContext ebiten.GeoM) ImageDrawer

type ImageDrawers

type ImageDrawers interface {
	ImageDrawer | ImageSerface | ImageDrawerExec
}

type ImageDrawing

type ImageDrawing interface {
	GetGeoM(GeomContext ebiten.GeoM) ebiten.GeoM

	Draw(img *ebiten.Image, GeomContext ebiten.GeoM)

	ToImageDrawer(GeomContext ebiten.GeoM) ImageDrawer
}

type ImageSerface

type ImageSerface struct {
	ImageDrawer
	ebiten.GeoM
}

func NewSerface

func NewSerface(iDraver ImageDrawer, geom ebiten.GeoM) ImageSerface

func (ImageSerface) Draw

func (iSerface ImageSerface) Draw(screen *ebiten.Image, GeomContext ebiten.GeoM)

func (ImageSerface) GetGeoM

func (iSerface ImageSerface) GetGeoM(GeomContext ebiten.GeoM) ebiten.GeoM

func (ImageSerface) ToImageDrawer

func (iSerface ImageSerface) ToImageDrawer(GeomContext ebiten.GeoM) ImageDrawer

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL