#include "TPoint.h"
Classes | |
struct | _EdgeTableEntry |
struct | _ScanLineList |
struct | _ScanLineListBlock |
struct | BRESINFO |
struct | EdgeTable |
Macros | |
#define | BRESINCRPGON(d, minval, m, m1, incr1, incr2) |
#define | BRESINCRPGONSTRUCT(bres) BRESINCRPGON(bres.d, bres.minor_axis, bres.m, bres.m1, bres.incr1, bres.incr2) |
#define | BRESINITPGON(dy, x1, x2, xStart, d, m, m1, incr1, incr2) |
#define | BRESINITPGONSTRUCT(dmaj, min1, min2, bres) |
#define | CLOCKWISE 1 |
#define | COUNTERCLOCKWISE -1 |
#define | EVALUATEEDGEEVENODD(pAET, pPrevAET, y) |
#define | EVALUATEEDGEWINDING(pAET, pPrevAET, y, fixWAET) |
#define | LARGE_COORDINATE 1000000 |
#define | SLLSPERBLOCK 25 |
#define | SMALL_COORDINATE -LARGE_COORDINATE |
Typedefs | |
typedef struct _EdgeTableEntry | EdgeTableEntry |
typedef struct _ScanLineList | ScanLineList |
typedef struct _ScanLineListBlock | ScanLineListBlock |
Functions | |
static void | CreateETandAET (int count, TPoint *pts, EdgeTable *ET, EdgeTableEntry *AET, EdgeTableEntry *pETEs, ScanLineListBlock *pSLLBlock) |
static void | FreeStorage (ScanLineListBlock *pSLLBlock) |
static void | InsertEdgeInET (EdgeTable *ET, EdgeTableEntry *ETE, int scanline, ScanLineListBlock **SLLBlock, int *iSLLBlock) |
static int | InsertionSort (EdgeTableEntry *AET) |
static void | loadAET (EdgeTableEntry *AET, EdgeTableEntry *ETEs) |
#define BRESINCRPGONSTRUCT | ( | bres | ) | BRESINCRPGON(bres.d, bres.minor_axis, bres.m, bres.m1, bres.incr1, bres.incr2) |
Definition at line 157 of file TASPolyUtils.c.
Definition at line 93 of file TASPolyUtils.c.
#define BRESINITPGONSTRUCT | ( | dmaj, | |
min1, | |||
min2, | |||
bres | |||
) |
Definition at line 153 of file TASPolyUtils.c.
#define CLOCKWISE 1 |
Definition at line 210 of file TASPolyUtils.c.
#define COUNTERCLOCKWISE -1 |
Definition at line 211 of file TASPolyUtils.c.
#define EVALUATEEDGEEVENODD | ( | pAET, | |
pPrevAET, | |||
y | |||
) |
Definition at line 287 of file TASPolyUtils.c.
#define EVALUATEEDGEWINDING | ( | pAET, | |
pPrevAET, | |||
y, | |||
fixWAET | |||
) |
Definition at line 264 of file TASPolyUtils.c.
#define LARGE_COORDINATE 1000000 |
Definition at line 301 of file TASPolyUtils.c.
#define SLLSPERBLOCK 25 |
Definition at line 242 of file TASPolyUtils.c.
#define SMALL_COORDINATE -LARGE_COORDINATE |
Definition at line 302 of file TASPolyUtils.c.
typedef struct _EdgeTableEntry EdgeTableEntry |
typedef struct _ScanLineList ScanLineList |
typedef struct _ScanLineListBlock ScanLineListBlock |
|
static |
Definition at line 365 of file TASPolyUtils.c.
|
static |
Definition at line 524 of file TASPolyUtils.c.
|
static |
Definition at line 305 of file TASPolyUtils.c.
|
static |
Definition at line 485 of file TASPolyUtils.c.
|
static |
Definition at line 455 of file TASPolyUtils.c.