vivid v0.1.0 Vivid.Font.Char
Summary
Functions
Rendered height of a character
Rendered width of a character
Convert a %Char{} into a shape which can be rendered
Returns the (documented) width of a specific character. This is not the maximum width of the character, as some go beyond or don’t reach their documented bounds. I assume this is for kerning. I may be wrong
Functions
Convert a %Char{} into a shape which can be rendered.
charis a%Char{}struct.centerthe center%Point{}around which to render the character.scalehow much to scale the character by.