Documentation ¶
Index ¶
Constants ¶
View Source
const ( FBIOGET_VSCREENINFO uintptr = 0x4600 FBIOPUT_VSCREENINFO uintptr = 0x4601 FBIOGET_FSCREENINFO uintptr = 0x4602 )
View Source
const ( PROT_READ int = 0x1 PROT_WRITE int = 0x2 PROT_EXEC int = 0x4 )
View Source
const ( MAP_SHARED int = 0x1 MAP_PRIVATE int = 0x2 )
View Source
const ( KDSETMODE uintptr = 0x4b3a KD_TEXT int = 0x0 KD_GRAPHICS int = 0x1 KDGETMODE uintptr = 0x4b3b )
View Source
const ( I_A = 3 I_R = 2 I_G = 1 I_B = 0 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Framebuffer ¶
type Framebuffer struct { Vinfo varScreenInfo Mem []byte MemOffscreen []byte // contains filtered or unexported fields }
func (*Framebuffer) Bounds ¶
func (fb *Framebuffer) Bounds() image.Rectangle
func (*Framebuffer) Close ¶
func (fb *Framebuffer) Close()
func (*Framebuffer) ColorModel ¶
func (fb *Framebuffer) ColorModel() color.Model
Click to show internal directories.
Click to hide internal directories.