Versions in this module Expand all Collapse all v1 v1.0.1 Jul 22, 2020 Changes in this version + var ASCII []rune + func RangeTable(table *unicode.RangeTable) []rune + type Atlas struct + var Atlas7x13 *Atlas + func NewAtlas(face font.Face, runeSets ...[]rune) *Atlas + func (a *Atlas) Ascent() float64 + func (a *Atlas) Contains(r rune) bool + func (a *Atlas) Descent() float64 + func (a *Atlas) DrawRune(prevR, r rune, dot pixel.Vec) (rect, frame, bounds pixel.Rect, newDot pixel.Vec) + func (a *Atlas) Glyph(r rune) Glyph + func (a *Atlas) Kern(r0, r1 rune) float64 + func (a *Atlas) LineHeight() float64 + func (a *Atlas) Picture() pixel.Picture + type Glyph struct + Advance float64 + Dot pixel.Vec + Frame pixel.Rect + type Text struct + Color color.Color + Dot pixel.Vec + LineHeight float64 + Orig pixel.Vec + TabWidth float64 + func New(orig pixel.Vec, atlas *Atlas) *Text + func (txt *Text) Atlas() *Atlas + func (txt *Text) Bounds() pixel.Rect + func (txt *Text) BoundsOf(s string) pixel.Rect + func (txt *Text) Clear() + func (txt *Text) Draw(t pixel.Target, matrix pixel.Matrix) + func (txt *Text) DrawColorMask(t pixel.Target, matrix pixel.Matrix, mask color.Color) + func (txt *Text) Write(p []byte) (n int, err error) + func (txt *Text) WriteByte(c byte) error + func (txt *Text) WriteRune(r rune) (n int, err error) + func (txt *Text) WriteString(s string) (n int, err error)