lib

package
v0.0.0-...-db9c320 Latest Latest
Warning

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

Go to latest
Published: Jul 23, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CopyImage

func CopyImage(img image.Image, flip ...bool) *image.RGBA64

func CopyImageBounds

func CopyImageBounds(img image.Image, flip ...bool) *image.RGBA64

func NewImage

func NewImage(path string) (*image.RGBA64, error)

func RGBA64toPix

func RGBA64toPix(x, y, stride int) int

Converts an X,Y pixel location to the relevant stride location (Pix format). See the img lib for more info.

Types

type Direction

type Direction int
const (
	Vertical Direction = iota
	Horizontal
)

Jump to

Keyboard shortcuts

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