package ui import ( "image/color" "opslag.de/schobers/geom" ) type Font interface { Height() float32 Measure(t string) geom.RectangleF32 WidthOf(t string) float32 } type FontStyle struct { Name string Color color.Color }