ofDoc > graphics > ofGraphics

ofGraphicsfile

Color

ofFill ()

Background Color

ofGetBackground () Use ofGetBackgroundColor instead
ofClear ()
ofbClearBg () Use ofGetBackgroundAuto instead

2D Primitives Drawing

ofTriangle () Use ofDrawTriangle instead
ofCircle () Use ofDrawCircle instead
ofEllipse () Use ofDrawEllipse instead
ofLine () Use ofDrawLine instead
ofRect () Use ofDrawRectangle instead
ofRectRounded () Use ofDrawRectRounded instead
ofCurve () Use ofDrawCurve instead
ofBezier () Use ofDrawBezier instead

Custom Shapes Drawing

Text Drawing

Rendering Settings

Transformation

ofScale ()

Matrix Transformation

View Setup

ofSetupScreenPerspective () ofSetupScreenPerspective() doesn't accept orientation and vflip parameters anymore, use ofSetOrientation() to specify them
ofSetupScreenOrtho () ofSetupScreenOrtho() doesn't accept orientation and vflip parameters anymore, use ofSetOrientation() to specify them

Screen Saving