imagefb

package
v0.0.0-...-7fee067 Latest Latest
Warning

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

Go to latest
Published: Mar 3, 2024 License: MIT Imports: 3 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ImageFB

type ImageFB struct {
	Width  int
	Height int
	Alpha  uint8
	// contains filtered or unexported fields
}

func New

func New(width int, height int) *ImageFB

func (*ImageFB) Clear

func (i *ImageFB) Clear()

func (ImageFB) Display

func (i ImageFB) Display() error

func (*ImageFB) GetDisplay

func (i *ImageFB) GetDisplay() display.Displayer

func (*ImageFB) GetFrame

func (i *ImageFB) GetFrame() []byte

func (*ImageFB) Put

func (i *ImageFB) Put(x, y int16, c uint8)

func (*ImageFB) SetPixel

func (i *ImageFB) SetPixel(x, y int16, c color.RGBA)

func (ImageFB) Size

func (i ImageFB) Size() (int16, int16)

func (*ImageFB) ToPixels

func (i *ImageFB) ToPixels() []color.RGBA

Jump to

Keyboard shortcuts

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