User Interface library OpenGL painter class Evaluate canvas margin Evaluate canvas space Evaluate font height Evaluate text width Evaluate text size

getTextSize evaluates a string, it will calculate the number of lines it consists of and will return the length in pixels of the longest line.

Exterior margin Interior margin Font height in pixels Text width Text width of widest line Draw a rectangle for debugging purposes

drawDebugRect draws a simple rectangle usefull for debugging purposes.

Rectangle size to draw User Interface library specialized for OpenGL Draw text with rectangle primitive Draw frame primitive Draw bool frame primitive Draw multi-line text primitive Draw rectangle primitive Rectangle to draw in Fill color Border color Rectangle to draw in Number of lines in text Caret position Boolean indicating if the mouse is hovering over it Boolean indicating if the widget is on Boolean indicating if the widget has focus Boolean indicating if the widget has focus Boolean indicating if the widget has focus Boolean indicating if the widget is on Boolean indicating if the widget is on Boolean indicating if the mouse is hovering over it Boolean indicating if the mouse is hovering over it Number of lines in text Fill color Fill color Fill color Fill color Fill color Fill color Border color Border color Border color Border color Border color Border color Border color Rectangle to draw in Rectangle to draw in Rectangle to draw in Rectangle to draw in Rectangle to draw in Rectangle to draw in Rectangle to draw in Rectangle to draw in Rectangle to draw in Width of the arrow Width of the arrow Width of the plus Width of the minus Radius of the corner Radius of the corner Radius of the corner Radius of the corner Draw rouded rectangle primitive Draw rouded rectangle outline primitive Draw circle primitive Draw minus primitive Draw plus primitive Draw down arrow primitive Draw up arrow primitive Initialization method of the painter class