Documentation ¶
Index ¶
- type Bit
- type Model
- func (this *Model) Convert(src color.Color) color.Color
- func (this *Model) EGLConfig() []uint
- func (this *Model) Format() gopi.SurfaceFormat
- func (this *Model) Pitch(pixels uint32) uint32
- func (this *Model) PixFormat() dx.PixFormat
- func (this *Model) String() string
- func (this *Model) XOffset(x uint32) (uint32, uint8)
- type RGB16
- type RGB24
- type RGBA32
- type RGBX32
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Model ¶
type Model struct {
// contains filtered or unexported fields
}
Model represents a way to convert colors and how a bitmap is represented in memory
func ColorModel ¶
func ColorModel(fmt gopi.SurfaceFormat) *Model
func (*Model) Format ¶
func (this *Model) Format() gopi.SurfaceFormat
Format returns abstract bitmap format
Click to show internal directories.
Click to hide internal directories.