Versions in this module Expand all Collapse all v0 v0.1.1 Oct 10, 2026 v0.1.0 Oct 10, 2026 Changes in this version + type Default struct + func NewDefault() *Default + func (d *Default) Layout(s string, sizePx float64) Layout + func (d *Default) LineMetrics(sizePx float64) (float64, float64, float64) + type Layout struct + Ascent float64 + Descent float64 + Path *render.Path + Width float64 + type Renderer interface + Layout func(s string, sizePx float64) Layout + LineMetrics func(sizePx float64) (ascent, descent, gap float64)