elementImage

package
v0.0.0-...-8d78f50 Latest Latest
Warning

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

Go to latest
Published: Apr 17, 2024 License: GPL-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ElementImage

type ElementImage struct {
	// contains filtered or unexported fields
}

func New

func New(renderer types.Renderer, loadFn func([]byte, *types.XY) (types.Image, error)) *ElementImage

func (*ElementImage) Begin

func (el *ElementImage) Begin(_ *types.ApcSlice)

func (*ElementImage) Close

func (el *ElementImage) Close()

func (*ElementImage) Draw

func (el *ElementImage) Draw(rect *types.Rect) *types.XY

func (*ElementImage) End

func (el *ElementImage) End() *types.XY

func (*ElementImage) Insert

func (el *ElementImage) Insert(apc *types.ApcSlice) *types.XY

func (*ElementImage) MouseClick

func (el *ElementImage) MouseClick(_ uint8, _ *types.XY)

func (*ElementImage) ReadCell

func (el *ElementImage) ReadCell(cell *types.Cell)

Jump to

Keyboard shortcuts

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