#include "ofGraphics.h"#include "ofAppRunner.h"#include "ofBitmapFont.h"#include <vector>Defines | |
| #define | CALLBACK |
| #define | OF_GLU_CALLBACK_HACK (void(CALLBACK*)() |
Functions | |
| void | setupCircle () |
| void | ofSetRectMode (int mode) |
| int | ofGetRectMode () |
| bool | ofGetUsingArbTex () |
| void | ofEnableArbTex () |
| void | ofDisableArbTex () |
| void | ofSetBackgroundAuto (bool bAuto) |
| bool | ofbClearBg () |
| float * | ofBgColorPtr () |
| void | ofBackground (int r, int g, int b) |
| void | ofNoFill () |
| void | ofFill () |
| void | ofSetLineWidth (float lineWidth) |
| void | startSmoothing () |
| void | endSmoothing () |
| void | ofSetCircleResolution (int res) |
| 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 x, float y, float w, float h) |
| 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 | 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 () |
| void | ofSetStyle (ofStyle style) |
| ofStyle | ofGetStyle () |
| void | ofPushStyle () |
| void | ofPopStyle () |
| void | ofPushMatrix () |
| void | ofPopMatrix () |
| void | ofTranslate (float x, float y, float z) |
| void | ofScale (float xAmnt, float yAmnt, float zAmnt) |
| 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 CALLBACK | tessError (GLenum) |
| void CALLBACK | tessVertex (void *data) |
| void CALLBACK | tessCombine (GLdouble coords[3], void *vertex_data[4], GLfloat weight[4], void **outData) |
| void | clearTessVertices () |
| void | clearCurveVertices () |
| void CALLBACK | tessBegin (GLint type) |
| void CALLBACK | tessEnd () |
| void | ofSetPolyMode (int mode) |
| void | ofBeginShape () |
| void | ofVertex (float x, float y) |
| void | ofCurveVertex (float x, float y) |
| void | ofBezierVertex (float x1, float y1, float x2, float y2, float x3, float y3) |
| void | ofNextContour (bool bClose) |
| void | ofEndShape (bool bClose) |
Variables | |
| float | bgColor [4] = {0,0,0,0} |
| bool | bSmoothHinted = false |
| bool | bUsingArbTex = true |
| bool | bBakgroundAuto = true |
| int | cornerMode = OF_RECTMODE_CORNER |
| int | polyMode = OF_POLY_WINDING_ODD |
| ofStyle | currentStyle |
| vector< ofStyle > | styleHistory |
| std::vector< double * > | newVectrices |
| std::vector< float > | tessVertices |
| std::vector< double * > | polyVertices |
| std::vector< double * > | curveVertices |
| #define CALLBACK |
| #define OF_GLU_CALLBACK_HACK (void(CALLBACK*)() |
| void clearCurveVertices | ( | ) |
| void clearTessVertices | ( | ) |
| void endSmoothing | ( | ) |
| 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 ) |
| void ofFill | ( | ) |
| int ofGetRectMode | ( | ) |
| ofStyle ofGetStyle | ( | ) |
| bool ofGetUsingArbTex | ( | ) |
| void ofLine | ( | float | x1, |
| float | y1, | ||
| float | x2, | ||
| float | y2 | ||
| ) |
| void ofNextContour | ( | bool | bClose ) |
| void ofNoFill | ( | ) |
| void ofPopMatrix | ( | ) |
| void ofPopStyle | ( | ) |
| void ofPushMatrix | ( | ) |
| void ofPushStyle | ( | ) |
| void ofRect | ( | float | x, |
| float | y, | ||
| 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 | ||
| ) |
| void ofSetBackgroundAuto | ( | bool | bAuto ) |
| void ofSetCircleResolution | ( | int | res ) |
| void ofSetColor | ( | int | _r, |
| int | _g, | ||
| int | _b | ||
| ) |
| void ofSetColor | ( | int | hexColor ) |
| 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 | ||
| ) |
| void ofTriangle | ( | float | x1, |
| float | y1, | ||
| float | x2, | ||
| float | y2, | ||
| float | x3, | ||
| float | y3 | ||
| ) |
| void ofVertex | ( | float | x, |
| float | y | ||
| ) |
| void setupCircle | ( | ) |
| void startSmoothing | ( | ) |
| void CALLBACK tessBegin | ( | GLint | type ) |
| void CALLBACK tessCombine | ( | GLdouble | coords[3], |
| void * | vertex_data[4], | ||
| GLfloat | weight[4], | ||
| void ** | outData | ||
| ) |
| void CALLBACK tessEnd | ( | ) |
| void CALLBACK tessError | ( | GLenum | errCode ) |
| void CALLBACK tessVertex | ( | void * | data ) |
| bool bBakgroundAuto = true |
| float bgColor[4] = {0,0,0,0} |
| bool bSmoothHinted = false |
| bool bUsingArbTex = true |
| int cornerMode = OF_RECTMODE_CORNER |
| std::vector<double*> curveVertices |
| std::vector<double*> newVectrices |
| int polyMode = OF_POLY_WINDING_ODD |
| std::vector<double*> polyVertices |
| vector<ofStyle> styleHistory |
| std::vector<float> tessVertices |
1.7.2