reference

This documentation is automatically generated from the openFrameworks source code using doxygen and refers to the most recent release, version 0.12.0.

ofGraphicsConstants.h
Go to the documentation of this file.
1#pragma once
2
3#include "ofMathConstants.h"
4
5template<typename T>
6class ofColor_;
12
18
19
36
37
47
48#define OF_MAX_STYLE_HISTORY 32
49
51#define OF_MAX_VIEWPORT_HISTORY 32
52
54#define OF_MAX_CIRCLE_PTS 1024
55
71
72
85
111
117
120
121
122
132
133
145
146
ofColor represents a color in openFrameworks.
Definition ofColor.h:20
ofPrimitiveMode
Definition ofGraphicsConstants.h:20
@ OF_PRIMITIVE_LINES_ADJACENCY
Definition ofGraphicsConstants.h:29
@ OF_PRIMITIVE_TRIANGLES_ADJACENCY
Definition ofGraphicsConstants.h:31
@ OF_PRIMITIVE_TRIANGLE_FAN
Definition ofGraphicsConstants.h:23
@ OF_PRIMITIVE_TRIANGLES
Definition ofGraphicsConstants.h:21
@ OF_PRIMITIVE_TRIANGLE_STRIP
Definition ofGraphicsConstants.h:22
@ OF_PRIMITIVE_POINTS
Definition ofGraphicsConstants.h:27
@ OF_PRIMITIVE_TRIANGLE_STRIP_ADJACENCY
Definition ofGraphicsConstants.h:32
@ OF_PRIMITIVE_PATCHES
Definition ofGraphicsConstants.h:33
@ OF_PRIMITIVE_LINE_LOOP
Definition ofGraphicsConstants.h:26
@ OF_PRIMITIVE_LINE_STRIP
Definition ofGraphicsConstants.h:25
@ OF_PRIMITIVE_LINE_STRIP_ADJACENCY
Definition ofGraphicsConstants.h:30
@ OF_PRIMITIVE_LINES
Definition ofGraphicsConstants.h:24
ofDrawBitmapMode
Sets the bitmap drawing mode for text.
Definition ofGraphicsConstants.h:125
@ OF_BITMAPMODE_SCREEN
Definition ofGraphicsConstants.h:127
@ OF_BITMAPMODE_SIMPLE
Definition ofGraphicsConstants.h:126
@ OF_BITMAPMODE_MODEL
Definition ofGraphicsConstants.h:129
@ OF_BITMAPMODE_MODEL_BILLBOARD
Definition ofGraphicsConstants.h:130
@ OF_BITMAPMODE_VIEWPORT
Definition ofGraphicsConstants.h:128
ofMatrixMode
represents the available matrix types used internally in ofMatrixStack.
Definition ofGraphicsConstants.h:119
@ OF_MATRIX_PROJECTION
Definition ofGraphicsConstants.h:119
@ OF_MATRIX_MODELVIEW
Definition ofGraphicsConstants.h:119
@ OF_MATRIX_TEXTURE
Definition ofGraphicsConstants.h:119
ofHandednessType
represents the available matrix coordinate system handednesses.
Definition ofGraphicsConstants.h:116
@ OF_LEFT_HANDED
Definition ofGraphicsConstants.h:116
@ OF_RIGHT_HANDED
Definition ofGraphicsConstants.h:116
ofDefaultVec3 ofDefaultNormalType
Definition ofGraphicsConstants.h:9
ofGradientMode
Represents the gradient types available to ofBackgroundGradient().
Definition ofGraphicsConstants.h:74
@ OF_GRADIENT_BAR
Represents a horizontal bar gradient.
Definition ofGraphicsConstants.h:83
@ OF_GRADIENT_LINEAR
Represents a top-to-bottom linear gradient.
Definition ofGraphicsConstants.h:76
@ OF_GRADIENT_CIRCULAR
Represents a circular gradient beginning at the screen's center.
Definition ofGraphicsConstants.h:78
ofRectMode
Used to represent the available rectangle drawing modes.
Definition ofGraphicsConstants.h:139
@ OF_RECTMODE_CENTER
Represents the mode where rectangles draw from the center.
Definition ofGraphicsConstants.h:143
@ OF_RECTMODE_CORNER
Represents the mode where rectangles draw from the top left.
Definition ofGraphicsConstants.h:141
ofDefaultVec2 ofDefaultTexCoordType
Definition ofGraphicsConstants.h:11
ofBlendMode
Used to represent the available blending modes for drawing.
Definition ofGraphicsConstants.h:57
@ OF_BLENDMODE_MULTIPLY
Blend mode used for multiplicative blending.
Definition ofGraphicsConstants.h:67
@ OF_BLENDMODE_ADD
Blend mode used for additive blending.
Definition ofGraphicsConstants.h:63
@ OF_BLENDMODE_DISABLED
Blend mode is disabled.
Definition ofGraphicsConstants.h:59
@ OF_BLENDMODE_SUBTRACT
Blend mode used for subtractive blending.
Definition ofGraphicsConstants.h:65
@ OF_BLENDMODE_ALPHA
Blend mode used for alpha blending.
Definition ofGraphicsConstants.h:61
@ OF_BLENDMODE_SCREEN
Blend mode used for screen blending.
Definition ofGraphicsConstants.h:69
ofImageType
Used to represent the available channel types in ofImage.
Definition ofGraphicsConstants.h:154
@ OF_IMAGE_GRAYSCALE
A single channel (or monochrome) image.
Definition ofGraphicsConstants.h:158
@ OF_IMAGE_COLOR_ALPHA
A four channel (or RGBA) image.
Definition ofGraphicsConstants.h:166
@ OF_IMAGE_COLOR
A three channel (or RGB) image.
Definition ofGraphicsConstants.h:162
@ OF_IMAGE_UNDEFINED
An unknown and unsupported image type.
Definition ofGraphicsConstants.h:170
ofPolyRenderMode
Definition ofGraphicsConstants.h:13
@ OF_MESH_WIREFRAME
Definition ofGraphicsConstants.h:15
@ OF_MESH_POINTS
Definition ofGraphicsConstants.h:14
@ OF_MESH_FILL
Definition ofGraphicsConstants.h:16
ofDefaultVec3 ofDefaultVertexType
Definition ofGraphicsConstants.h:8
ofColor_< float > ofFloatColor
Definition ofGraphicsConstants.h:7
ofPolyWindingMode
represents the available polygon winding modes.
Definition ofGraphicsConstants.h:97
@ OF_POLY_WINDING_ABS_GEQ_TWO
Fill all winding numbers greater than 1 or less than -1.
Definition ofGraphicsConstants.h:109
@ OF_POLY_WINDING_ODD
Fill odd winding numbers.
Definition ofGraphicsConstants.h:99
@ OF_POLY_WINDING_NEGATIVE
Fill all winding numbers less than zero.
Definition ofGraphicsConstants.h:105
@ OF_POLY_WINDING_NONZERO
Fill all non-zero winding numbers.
Definition ofGraphicsConstants.h:101
@ OF_POLY_WINDING_POSITIVE
Fill all winding numbers greater than zero.
Definition ofGraphicsConstants.h:103
ofFillFlag
Used to represent the available fill modes.
Definition ofGraphicsConstants.h:41
@ OF_OUTLINE
Draw shapes as outlines, unfilled.
Definition ofGraphicsConstants.h:43
@ OF_FILLED
Draw shapes filled with the current draw color.
Definition ofGraphicsConstants.h:45
glm::vec3 ofDefaultVec3
Definition ofMathConstants.h:15
glm::vec2 ofDefaultVec2
Definition ofMathConstants.h:14