Font class.
Macros:
Enumerations:
None.
Typedefs:
None.
Struct CapyFont :
Struct CapyFont's properties:
Font dictionary (array of 128 Bezier splines for the 128 ASCII characters, null for undefined charachters, ordered accordingly to ascii code)
Scale (default (1,1))
Forward vector of the text (default (1,0))
Spacing of letter (default (1,1))
Struct CapyFont's methods:
Destructor
Convert a string to a CapyListBezierSpline
Input argument(s):
text: the text to convert
Output and side effect(s):
Return a list of Bezier spline.
Functions:
Create a CapyFont
Output and side effect(s):
Return a CapyFont
Allocate memory for a new CapyFont and create it
Output and side effect(s):
Return a CapyFont
Exception(s):
May raise CapyExc_MallocFailed.
Free the memory used by a CapyFont* and reset '*that' to NULL
Input argument(s):
that: a pointer to the CapyFont to free