Versions in this module Expand all Collapse all v1 v1.0.0 Mar 13, 2024 Changes in this version + type CachedFace struct + func NewFace(f font.Face) CachedFace + type Render struct + Face CachedFace + Height fixed.Int26_6 + Last []RenderGlyph + LastX fixed.Int26_6 + NotLast []RenderLine + Prev rune + Width fixed.Int26_6 + func NewRender(face font.Face, width, dy fixed.Int26_6) *Render + func (p *Render) AddText(s string) + func (p *Render) Draw(dst *ebiten.Image, x, y fixed.Int26_6, clr color.Color, mode int) + func (p *Render) Size() (fixed.Int26_6, fixed.Int26_6) + type RenderGlyph struct + C rune + X fixed.Int26_6 + type RenderLine struct + Items []RenderGlyph + LastX fixed.Int26_6