Documentation ¶
Index ¶
- Constants
- type Bitmap
- func (p *Bitmap) At(x, y int) color.Color
- func (p *Bitmap) BitOffsets(x, y int) (int, int)
- func (p *Bitmap) Bounds() image.Rectangle
- func (*Bitmap) ColorModel() color.Model
- func (p *Bitmap) Set(x, y int, c color.Color)
- func (p *Bitmap) SetAlpha(x, y int, c color.Alpha)
- func (p *Bitmap) SetGray(x, y int, c color.Gray)
- type Font
- func (f *Font) Char16(c uint16) *Bitmap
- func (f *Font) Close() error
- func (f *Font) Encode() ([]byte, error)
- func (f *Font) Glyph(dot fixed.Point26_6, r rune) (dr image.Rectangle, mask image.Image, maskp image.Point, advance fixed.Int26_6, ...)
- func (f *Font) GlyphAdvance(r rune) (fixed.Int26_6, bool)
- func (f *Font) GlyphBounds(r rune) (fixed.Rectangle26_6, fixed.Int26_6, bool)
- func (f *Font) Kern(r0, r1 rune) fixed.Int26_6
- func (f *Font) Metrics() font.Metrics
- func (f *Font) RangeFor(c uint16) *Range
- func (f *Font) Rune(rn rune) *Bitmap
- type Range
Constants ¶
View Source
const ( DefaultName = "default" LargeName = "large" SmallName = "small" NumbersName = "numbers" )
View Source
const ( DefaultFile = "default" LargeFile = "large" SmallFile = "small" NumbersFile = "number" )
View Source
const (
Ext = ".fnt"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Bitmap ¶
func (*Bitmap) ColorModel ¶
Click to show internal directories.
Click to hide internal directories.