GSDP:GAM100/CProcessing/defaultFont
From Inside
< GSDP:GAM100 | CProcessing
defaultFont
Description
The define defaultFont allows the user to access C Processing's default font. This is loaded when the program starts. Using this with the function textFont() to set the font back to the default.
Parameters
defaultFont
- No parameters
Example
// Set the font back to the default
textFont( defaultFont );
// Write some text using the default font
// starting at the point (50, 100)
text("Hello, World!", 50, 100);