Documentation ¶
Index ¶
- Variables
- func FixedInt26_6ToFloat64(i fixed.Int26_6) float64
- func FixedInt26_6ToInt(i fixed.Int26_6) int
- func LoadFont(fontData []byte, size float64) (font.Face, error)
- func LoadFontFromFile(path string, size float64) (font.Face, error)
- func MeasureString(text string, fontFace font.Face) int
- type Metrics
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultFontFace, _ = LoadFont(tffFile, 8)
Functions ¶
func FixedInt26_6ToFloat64 ¶
func FixedInt26_6ToInt ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.