fbimage

package
v0.0.0-...-147dca1 Latest Latest
Warning

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

Go to latest
Published: Aug 18, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Package fbimage contains additional in-memory image format implementations that are useful for working with the Linux frame buffer.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BGR565

type BGR565 struct {
	Pix    []byte
	Rect   image.Rectangle
	Stride int
}

func (*BGR565) At

func (i *BGR565) At(x, y int) color.Color

func (*BGR565) Bounds

func (i *BGR565) Bounds() image.Rectangle

func (*BGR565) ColorModel

func (i *BGR565) ColorModel() color.Model

func (*BGR565) PixOffset

func (i *BGR565) PixOffset(x, y int) int

func (*BGR565) Set

func (i *BGR565) Set(x, y int, c color.Color)

func (*BGR565) SetNRGBA

func (i *BGR565) SetNRGBA(x, y int, c color.NRGBA)

type BGRA

type BGRA struct {
	Pix    []byte
	Rect   image.Rectangle
	Stride int
}

func (*BGRA) At

func (i *BGRA) At(x, y int) color.Color

func (*BGRA) Bounds

func (i *BGRA) Bounds() image.Rectangle

func (*BGRA) ColorModel

func (i *BGRA) ColorModel() color.Model

func (*BGRA) PixOffset

func (i *BGRA) PixOffset(x, y int) int

func (*BGRA) Set

func (i *BGRA) Set(x, y int, c color.Color)

func (*BGRA) SetRGBA

func (i *BGRA) SetRGBA(x, y int, c color.RGBA)

Jump to

Keyboard shortcuts

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