drawlua

package
v0.0.0-...-31017a7 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Eval

func Eval(img ImageSetter, code []string) error

Eval runs code against the image.

func RegisterDrawFunctions

func RegisterDrawFunctions(L *lua.LState, img ImageSetter) (cleanup func() error)

Types

type ImageSetter

type ImageSetter interface {
	image.Image
	Set(int, int, color.Color)
}

Jump to

Keyboard shortcuts

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