openframeworks/openFrameworks — pull request #1223 by lawarner (2012-04-27 06:35:58+00:00)
Title: Feature of rounded rect

I find that I'm using rectangles with rounded corners quiet often and seems like a fairly simple addition.
An example of using this is as follows:

ofSetPolyMode(OF_POLY_WINDING_ODD);
ofSetLineWidth(1.5);
ofEnableSmoothing();
ofNoFill();
ofSetHexColor(0x000000);
ofRoundedRect(630,520,80,60,9);
ofDisableSmoothing();