framebuffer

package
v0.0.0-...-2425af4 Latest Latest
Warning

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

Go to latest
Published: Jul 2, 2026 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FrameBuffer

type FrameBuffer struct {
	Width  int
	Height int
	// contains filtered or unexported fields
}

func Open

func Open(device string, width, height int) (*FrameBuffer, error)

func (*FrameBuffer) Close

func (f *FrameBuffer) Close() error

func (*FrameBuffer) Draw

func (f *FrameBuffer) Draw(im *image.RGBA) error

func (*FrameBuffer) Size

func (f *FrameBuffer) Size() image.Point

func (*FrameBuffer) WithRotation

func (f *FrameBuffer) WithRotation(rotation int) *FrameBuffer

Jump to

Keyboard shortcuts

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