Documentation ¶
Index ¶
- Variables
- func PtToF(pt Pt) float64
- type Face
- type Key
- type Manager
- func (m *Manager) DPI() float64
- func (m *Manager) DotToPt(dot float64) Pt
- func (m *Manager) Err() error
- func (m *Manager) Face(name string, size float64) (font.Face, error)
- func (m *Manager) Path(name string) (string, error)
- func (m *Manager) PtToDot(pt Pt) float64
- func (m *Manager) RegisterTTF(name string, path string) *Manager
- func (m *Manager) SubPixels() (x, y int)
- type Pt
- type Src
Constants ¶
This section is empty.
Variables ¶
View Source
var PtI = fixed.I
Functions ¶
Types ¶
type Manager ¶
type Manager struct {
// contains filtered or unexported fields
}
func NewManager ¶
func (*Manager) RegisterTTF ¶
TODO add font style for bold and italic fonts and use inline styling
Click to show internal directories.
Click to hide internal directories.