Deprecated: use gitlab.freedesktop.org/emersion/go-kdf

package cairo

import "git.sr.ht/~emersion/go-kdf/cairo"

Index

Variables

var FormatTable map[string]Format = formatTable

Functions

func GetDescriptor

func GetDescriptor(fmt Format, endianness kdf.Endianness) *kdf.Descriptor

Types

type Format

type Format int
const (
	FormatARGB32    Format = 0
	FormatRGB24     Format = 1
	FormatA8        Format = 2
	FormatA1        Format = 3
	FormatRGB16_565 Format = 4
	FormatRGB30     Format = 5
	FormatRGB96F    Format = 6
	FormatRGBA128F  Format = 7
)
const FormatInvalid Format = -1

func (Format) String

func (fmt Format) String() string

Source Files

cairo.go formats.go

Version
v0.0.0-20240521102637-b6d8ec684be0 (latest)
Published
May 21, 2024
Platform
linux/amd64
Imports
2 packages
Last checked
3 weeks ago

Tools for package owners.