drawer

package
v0.0.0-...-15f4133 Latest Latest
Warning

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

Go to latest
Published: Aug 4, 2023 License: MIT Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BoundString

func BoundString(face *multiface.Face, text string) image.Rectangle

Code taken from the ebiten project! Big thanks to them! (Also Idk what half of this does)

func Draw

func Draw(c *common.Chart) draw.Image

func Load

func Load(res *embed.FS) error

Types

type JustifyMode

type JustifyMode int
const (
	JUSTIFY_LEFT JustifyMode = iota
	JUSTIFY_CENTER
	JUSTIFY_RIGHT
)

Jump to

Keyboard shortcuts

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