-
Book Overview & Buying
-
Table Of Contents
OpenFrameworks Essentials
By :
The basic drawing functions are the following (see Chapter 2, Creating Your First openFrameworks Project, for details):
|
Example of function usage |
Description |
|---|---|
|
|
This sets the background to the white color. |
|
|
The |
|
|
The |
|
|
This draws a line segment connecting the points (100, 200) and (300, 400). |
|
|
This draws a rectangle with the top-left corner (100, 200), a width of 300 pixels, and a height of 400 pixels. The |
Change the font size
Change margin width
Change background colour