render

package
v0.0.0-...-9f6735e Latest Latest
Warning

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

Go to latest
Published: Apr 27, 2022 License: GPL-3.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewDrawingOverlay

func NewDrawingOverlay(targetWindow string, name string, drawLoop func(canvas *DrawingCanvas)) *guiWindow

Types

type DrawingCanvas

type DrawingCanvas struct {
	*imdraw.IMDraw

	*tx.Atlas
	*pixelgl.Window
	// contains filtered or unexported fields
}

func (DrawingCanvas) AddLine

func (d DrawingCanvas) AddLine(x, y, cx, cy int, thickness float32, color color.RGBA)

func (DrawingCanvas) AddText

func (d DrawingCanvas) AddText(x, y int, text string, color color.RGBA)

Jump to

Keyboard shortcuts

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