RegionSupport.cpp File Reference

Include dependency graph for RegionSupport.cpp:

Namespaces

namespace  std

Functions

static void SwapRects (clipping_rect &rect, clipping_rect &anotherRect)
static void SwapTrans (int *leftPoints, int *rightPoints, long index1, long index2)
static void InvertRectangles (int *lefts, int *rights, long count)
 Converts the empty spaces between rectangles to rectangles, and the rectangles to empty spaces.

Variables

static const int kMaxPoints = 1024
static const int kMaxVerticalExtent = 0x10000000
static const int kMaxPositive = 0x7ffffffd
static const int kMaxNegative = 0x80000003


Function Documentation

static void InvertRectangles ( int *  lefts,
int *  rights,
long  count 
) [static]

Converts the empty spaces between rectangles to rectangles, and the rectangles to empty spaces.

Watch out!!! We write 1 element more than count, so be sure that the passed arrays have the needed space TODO: Find a better name for this function

static void SwapRects ( clipping_rect rect,
clipping_rect anotherRect 
) [inline, static]

static void SwapTrans ( int *  leftPoints,
int *  rightPoints,
long  index1,
long  index2 
) [inline, static]


Variable Documentation

const int kMaxNegative = 0x80000003 [static]

const int kMaxPoints = 1024 [static]

const int kMaxPositive = 0x7ffffffd [static]

const int kMaxVerticalExtent = 0x10000000 [static]


Generated on Thu Dec 13 18:13:46 2007 for SkyGI by  doxygen 1.5.1-p1