Defines | Functions

ofGraphics.h File Reference

#include "ofConstants.h"
#include "ofTypes.h"

Go to the source code of this file.

Defines

#define CIRC_RESOLUTION   22

Functions

float * ofBgColorPtr ()
void ofBackground (int r, int g, int b)
void ofSetBackgroundAuto (bool bManual)
void ofSetRectMode (int mode)
bool ofGetUsingArbTex ()
void ofEnableArbTex ()
void ofDisableArbTex ()
bool ofbClearBg ()
int ofGetRectMode ()
void ofTriangle (float x1, float y1, float x2, float y2, float x3, float y3)
void ofCircle (float x, float y, float radius)
void ofEllipse (float x, float y, float width, float height)
void ofLine (float x1, float y1, float x2, float y2)
void ofRect (float x1, float y1, float w, float h)
void ofSetCircleResolution (int res)
void ofCurve (float x0, float y0, float x1, float y1, float x2, float y2, float x3, float y3)
void ofBezier (float x0, float y0, float x1, float y1, float x2, float y2, float x3, float y3)
void ofNoFill ()
void ofFill ()
void ofSetLineWidth (float lineWidth)
void ofSetColor (int r, int g, int b)
void ofSetColor (int r, int g, int b, int a)
void ofSetColor (int hexColor)
void ofEnableAlphaBlending ()
void ofDisableAlphaBlending ()
void ofEnableSmoothing ()
void ofDisableSmoothing ()
ofStyle ofGetStyle ()
void ofSetStyle (ofStyle style)
void ofPushStyle ()
void ofPopStyle ()
void ofPushMatrix ()
void ofPopMatrix ()
void ofTranslate (float x, float y, float z=0)
void ofScale (float xAmnt, float yAmnt, float zAmnt=1)
void ofRotate (float degrees, float vecX, float vecY, float vecZ)
void ofRotateX (float degrees)
void ofRotateY (float degrees)
void ofRotateZ (float degrees)
void ofRotate (float degrees)
void ofDrawBitmapString (string textString, float x, float y)
void ofSetupGraphicDefaults ()
void ofSetupScreen ()
void ofCurveVertex (float x, float y)
void ofBezierVertex (float x1, float y1, float x2, float y2, float x3, float y3)
void ofSetPolyMode (int mode)
void ofBeginShape ()
void ofVertex (float x, float y)
void ofEndShape (bool bClose=false)
void ofNextContour (bool bClose=false)

Define Documentation

#define CIRC_RESOLUTION   22

Function Documentation

void ofBackground ( int  r,
int  g,
int  b 
)
bool ofbClearBg (  )
void ofBeginShape (  )
void ofBezier ( float  x0,
float  y0,
float  x1,
float  y1,
float  x2,
float  y2,
float  x3,
float  y3 
)
void ofBezierVertex ( float  x1,
float  y1,
float  x2,
float  y2,
float  x3,
float  y3 
)
float* ofBgColorPtr (  )
void ofCircle ( float  x,
float  y,
float  radius 
)
void ofCurve ( float  x0,
float  y0,
float  x1,
float  y1,
float  x2,
float  y2,
float  x3,
float  y3 
)
void ofCurveVertex ( float  x,
float  y 
)
void ofDisableAlphaBlending (  )
void ofDisableArbTex (  )
void ofDisableSmoothing (  )
void ofDrawBitmapString ( string  textString,
float  x,
float  y 
)
void ofEllipse ( float  x,
float  y,
float  width,
float  height 
)
void ofEnableAlphaBlending (  )
void ofEnableArbTex (  )
void ofEnableSmoothing (  )
void ofEndShape ( bool  bClose = false )
void ofFill (  )
int ofGetRectMode (  )
ofStyle ofGetStyle (  )
bool ofGetUsingArbTex (  )
void ofLine ( float  x1,
float  y1,
float  x2,
float  y2 
)
void ofNextContour ( bool  bClose = false )
void ofNoFill (  )
void ofPopMatrix (  )
void ofPopStyle (  )
void ofPushMatrix (  )
void ofPushStyle (  )
void ofRect ( float  x1,
float  y1,
float  w,
float  h 
)
void ofRotate ( float  degrees,
float  vecX,
float  vecY,
float  vecZ 
)
void ofRotate ( float  degrees )
void ofRotateX ( float  degrees )
void ofRotateY ( float  degrees )
void ofRotateZ ( float  degrees )
void ofScale ( float  xAmnt,
float  yAmnt,
float  zAmnt = 1 
)
void ofSetBackgroundAuto ( bool  bManual )
void ofSetCircleResolution ( int  res )
void ofSetColor ( int  hexColor )
void ofSetColor ( int  r,
int  g,
int  b 
)
void ofSetColor ( int  r,
int  g,
int  b,
int  a 
)
void ofSetLineWidth ( float  lineWidth )
void ofSetPolyMode ( int  mode )
void ofSetRectMode ( int  mode )
void ofSetStyle ( ofStyle  style )
void ofSetupGraphicDefaults (  )
void ofSetupScreen (  )
void ofTranslate ( float  x,
float  y,
float  z = 0 
)
void ofTriangle ( float  x1,
float  y1,
float  x2,
float  y2,
float  x3,
float  y3 
)
void ofVertex ( float  x,
float  y 
)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines