Documentation ¶
Index ¶
- type BinaryImage
- type Face
- func (f *Face) Close() error
- func (f *Face) Glyph(dot fixed.Point26_6, r rune) (dr image.Rectangle, mask image.Image, maskp image.Point, advance fixed.Int26_6, ...)
- func (f *Face) GlyphAdvance(r rune) (advance fixed.Int26_6, ok bool)
- func (f *Face) GlyphBounds(r rune) (bounds fixed.Rectangle26_6, advance fixed.Int26_6, ok bool)
- func (f *Face) Kern(r0, r1 rune) fixed.Int26_6
- func (f *Face) Metrics() font.Metrics
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BinaryImage ¶
type BinaryImage struct {
// contains filtered or unexported fields
}
func NewBinaryImage ¶
func NewBinaryImage(bits []byte, width, height int) *BinaryImage
func (*BinaryImage) Bounds ¶
func (b *BinaryImage) Bounds() image.Rectangle
func (*BinaryImage) ColorModel ¶
func (b *BinaryImage) ColorModel() color.Model
Click to show internal directories.
Click to hide internal directories.