examples/graphics/graphicsExample/README.md
This example demonstrates a few of the most basic graphics capabilities of openFrameworks. After studying this example, you'll understand how to render some simple colored lines and elementary shapes, such as ellipses and rectangles.
In the code, pay attention to:
ofSetColor() and ofSetHexColor(). These commands set the color for subsequent drawing operations, including lines and fills.ofEnableAlphaBlending() and ofDisableAlphaBlending()ofFill() and ofNoFill()ofEnableAntiAliasing() and ofDisableAntiAliasing()ofDrawBitmapString().When launching this app, you should see a screen with:
Instructions for using the app:
s ("smooth") to toggle whether or not the red lines are anti-aliased.This example uses no other classes.