Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func New1 ¶
New1 allocates a font of size=1.
Allocating several instances of the same-sized font is unadvised as they would not share the resources.
func New1_3 ¶
New1_3 allocates a font of size=1.3.
Allocating several instances of the same-sized font is unadvised as they would not share the resources.
func Scale ¶
Scale takes the bitmap font and returns its scaled version. Scaling the font is efficient and doesn't extra memory.
A scaling factor of 1 is a no-op. A scaling factor of 2 makes the pixels twice as big.
This function will only work with fonts created by this package. Any other font will make it panic.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.