fb

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Jul 29, 2022 License: BSD-3-Clause Imports: 4 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DrawImageAt

func DrawImageAt(img image.Image, posx int, posy int) error

func DrawOnBufAt

func DrawOnBufAt(
	buf []byte,
	img image.Image,
	posx int,
	posy int,
	stride int,
	bpp int,
)

func DrawScaledImageAt

func DrawScaledImageAt(img image.Image, posx int, posy int, factor int) error

func DrawScaledOnBufAt

func DrawScaledOnBufAt(
	buf []byte,
	img image.Image,
	posx int,
	posy int,
	factor int,
	stride int,
	bpp int,
)

func FbInit

func FbInit() (int, int, int, int, error)

FbInit initializes a frambuffer by querying ioctls and returns the width and height in pixels, the stride, and the bytes per pixel

Types

This section is empty.

Jump to

Keyboard shortcuts

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