Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Bitmap ¶
type Bitmap interface { // dispmanx properties DXSize() rpi.DXSize DXRect() rpi.DXRect DXHandle() rpi.DXResource // Return image type Type() gopi.SurfaceFlags // Return bounds Origin() gopi.Point Size() gopi.Size // Return the bitmap as bytes // with bytes per row Bytes() ([]byte, uint32) // ClearToColor clears the screen to a single color ClearToColor(color.Color) // Paint a pixel Pixel(color.Color, gopi.Point) // PaintCircle paints an outlined circle with origin and radius CircleOutline(color.Color, gopi.Point, float32) // PaintLine paints a line Line(color.Color, gopi.Point, gopi.Point) // Paint a rune with a particular font face Rune(color.Color, gopi.Point, rune, gopi.FontFace, gopi.FontSize) // Retain and release Retain() Release() bool // Return points in the rectangle Centre() gopi.Point NorthWest() gopi.Point SouthWest() gopi.Point NorthEast() gopi.Point SouthEast() gopi.Point // Implements image.Image and draw.Image draw.Image // Implements gopi.Unit gopi.Unit }
type Color ¶
type Color struct { Data []byte Mode gopi.SurfaceFlags }
type ColorModel ¶
type ColorModel struct {
Mode gopi.SurfaceFlags
}
type RetainCount ¶
func (*RetainCount) Dec ¶
func (this *RetainCount) Dec() bool
func (*RetainCount) Inc ¶
func (this *RetainCount) Inc() uint
func (*RetainCount) String ¶
func (this *RetainCount) String() string
Click to show internal directories.
Click to hide internal directories.