Oolite 1.91.0.7645-241119-222d325
|
import "OOPolygonSprite.h"
import "OOCollectionExtractors.h"
import "OOMacroOpenGL.h"
import "OOMaths.h"
import "OOPointMaths.h"
import "OOGraphicsResetManager.h"
import "ResourceManager.h"
import "legacy_random.h"
Go to the source code of this file.
Classes | |
category | OOPolygonSprite(Private) |
struct | TessPolygonData |
Macros | |
#define | APIENTRY |
#define | kCosMitreLimit 0.866f |
Typedefs | |
typedef GLvoid(* | TessFuncPtr) () |
Functions | |
static NSArray * | DataArrayToPoints (TessPolygonData *data, NSArray *dataArray) |
static NSArray * | BuildOutlineContour (NSArray *dataArray, GLfloat width, BOOL inner) |
static void | SubmitVertices (GLUtesselator *tesselator, TessPolygonData *polygonData, NSArray *contour) |
static BOOL | GrowTessPolygonData (TessPolygonData *data, size_t capacityHint) |
static BOOL | AppendVertex (TessPolygonData *data, NSPoint vertex) |
static void | SVGDumpBegin (TessPolygonData *data) |
static void | SVGDumpEnd (TessPolygonData *data) |
static void | SVGDumpBeginGroup (TessPolygonData *data, NSString *name) |
static void | SVGDumpEndGroup (TessPolygonData *data) |
static void | SVGDumpAppendBaseContour (TessPolygonData *data, NSArray *points) |
static void | SVGDumpBeginPrimitive (TessPolygonData *data) |
static void | SVGDumpEndPrimitive (TessPolygonData *data) |
static void | SVGDumpAppendTriangle (TessPolygonData *data, NSPoint v0, NSPoint v1, NSPoint v2) |
static void APIENTRY | TessBeginCallback (GLenum type, void *polygonData) |
static void APIENTRY | TessVertexCallback (void *vertexData, void *polygonData) |
static void APIENTRY | TessCombineCallback (GLdouble coords[3], void *vertexData[4], GLfloat weight[4], void **outData, void *polygonData) |
static void APIENTRY | TessEndCallback (void *polygonData) |
static void APIENTRY | ErrorCallback (GLenum error, void *polygonData) |
#define APIENTRY |
Definition at line 51 of file OOPolygonSprite.m.
#define kCosMitreLimit 0.866f |
Definition at line 55 of file OOPolygonSprite.m.
Referenced by BuildOutlineContour().
typedef GLvoid(* TessFuncPtr) () |
Definition at line 119 of file OOPolygonSprite.m.
|
static |
Definition at line 647 of file OOPolygonSprite.m.
References TessPolygonData::capacity, TessPolygonData::count, TessPolygonData::data, and GrowTessPolygonData().
Referenced by TessVertexCallback().
|
static |
Definition at line 511 of file OOPolygonSprite.m.
References count, kCosMitreLimit, PtAdd(), PtCross(), PtDot(), PtNormal(), PtRotACW(), PtScale(), and PtSub().
|
static |
Definition at line 442 of file OOPolygonSprite.m.
References count, SVGDumpAppendBaseContour(), SVGDumpBeginGroup(), SVGDumpEndGroup(), x, and y.
|
static |
Definition at line 780 of file OOPolygonSprite.m.
References TessPolygonData::OK, and OOLog.
|
static |
Definition at line 618 of file OOPolygonSprite.m.
References TessPolygonData::capacity, TessPolygonData::data, and MAX.
Referenced by AppendVertex().
|
static |
Definition at line 421 of file OOPolygonSprite.m.
References TessPolygonData::OK.
|
static |
Definition at line 838 of file OOPolygonSprite.m.
References count, TessPolygonData::debugSVG, and nil.
Referenced by DataArrayToPoints().
|
static |
Definition at line 901 of file OOPolygonSprite.m.
References TessPolygonData::debugSVG, and nil.
Referenced by TessVertexCallback().
|
static |
Definition at line 800 of file OOPolygonSprite.m.
References TessPolygonData::debugSVG, and DESTROY.
|
static |
Definition at line 823 of file OOPolygonSprite.m.
References TessPolygonData::debugSVG, and nil.
Referenced by DataArrayToPoints().
|
static |
Definition at line 858 of file OOPolygonSprite.m.
References TessPolygonData::debugSVG, TessPolygonData::generatingOutline, TessPolygonData::mode, nil, and Ranrot().
Referenced by TessBeginCallback().
|
static |
Definition at line 813 of file OOPolygonSprite.m.
References TessPolygonData::debugSVG, DESTROY, nil, and ResourceManager::writeDiagnosticString:toFileNamed:.
|
static |
Definition at line 831 of file OOPolygonSprite.m.
References TessPolygonData::debugSVG, and nil.
Referenced by DataArrayToPoints().
|
static |
Definition at line 894 of file OOPolygonSprite.m.
References TessPolygonData::debugSVG, and nil.
Referenced by TessEndCallback().
|
static |
Definition at line 660 of file OOPolygonSprite.m.
References TessPolygonData::mode, SVGDumpBeginPrimitive(), and TessPolygonData::vCount.
|
static |
Definition at line 761 of file OOPolygonSprite.m.
|
static |
Definition at line 768 of file OOPolygonSprite.m.
References TessPolygonData::mode, SVGDumpEndPrimitive(), and TessPolygonData::vCount.
|
static |
Definition at line 672 of file OOPolygonSprite.m.
References AppendVertex(), TessPolygonData::mode, TessPolygonData::OK, OOLog, TessPolygonData::pending0, TessPolygonData::pending1, SVGDumpAppendTriangle(), and TessPolygonData::vCount.