graphics

package
v0.0.0-...-e9df9b9 Latest Latest
Warning

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

Go to latest
Published: Jun 28, 2022 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ImageResolution = 1024
)

Variables

View Source
var (
	BrushImage = ebiten.NewImage(1, 1)
)

Functions

func AppendQuadVerticesIndices

func AppendQuadVerticesIndices(vertices []ebiten.Vertex, indices []uint16, x, y, w, h, r, g, b, a float32, index int) ([]ebiten.Vertex, []uint16)

func DrawRect

func DrawRect(dst *ebiten.Image, x, y, width, height float32, r, g, b, a float32)

func DrawRectBorder

func DrawRectBorder(dst *ebiten.Image, x, y, width, height, borderWidth, r, g, b, a float32)

Types

This section is empty.

Jump to

Keyboard shortcuts

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