framebuffer

package
v0.0.0-...-e11de48 Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2020 License: MIT Imports: 8 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 {
	// contains filtered or unexported fields
}

func New

func New(w, h int) *FrameBuffer

func (*FrameBuffer) Bounds

func (fb *FrameBuffer) Bounds() (int, int)

func (*FrameBuffer) Dump

func (fb *FrameBuffer) Dump(w io.Writer) error

func (*FrameBuffer) DumpJPEG

func (fb *FrameBuffer) DumpJPEG(w io.Writer) error

func (*FrameBuffer) SetColor

func (fb *FrameBuffer) SetColor(x, y int, c color.Color)

type LockableImage

type LockableImage struct {
	sync.RWMutex
	Image *image.RGBA
}

func (*LockableImage) SetColor

func (li *LockableImage) SetColor(x, y int, c color.Color)

Directories

Path Synopsis
handlers
rgb

Jump to

Keyboard shortcuts

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