compat

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Jan 8, 2023 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	RGB565Model      color.Model = color.ModelFunc(rgb565Model)
	ARGB2101010Model color.Model = color.ModelFunc(argb2101010Model)
)

Functions

This section is empty.

Types

type ARGB2101010

type ARGB2101010 struct {
	ARGB uint32
}

func (ARGB2101010) RGBA

func (c ARGB2101010) RGBA() (r, g, b, a uint32)

type RGB565

type RGB565 struct {
	RGB uint16
}

func (RGB565) RGBA

func (c RGB565) RGBA() (r, g, b, a uint32)

Jump to

Keyboard shortcuts

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