internal

package
v0.0.0-...-dbf2d9a Latest Latest
Warning

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

Go to latest
Published: Aug 16, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	GlobalCtx *gg.Context
	GlobalErr *LineError

	ErrEmptyInput = &LineError{
		Number: -1,
		Msg:    "empty input",
	}
)

Functions

func Init

func Init(width, height int)

func KeepLastErr

func KeepLastErr(err *LineError)

Types

type LineError

type LineError struct {
	Number int
	Flag   string
	Msg    string
}

func ParseColor

func ParseColor(args ...any) (icolor.RGBA, *LineError)

Directories

Path Synopsis
exported

Jump to

Keyboard shortcuts

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