Game Accessibility Library logo SourceForge.net Logo
Game Accessibility Suite: CATWindow::OSGenRegion
CATOSREGION CATWindow::OSGenRegion ( CATStack< CATRect > &  rectStack  )  [protected, virtual]

OSGenRegion() generates a region from a stack of rectangles to use for clipping.

You should call OSFreeRegion() on the region handle when done.

Returns:
CATOSREGION - regions we can draw in for clipping
See also:
OSFreeRegion()

Definition at line 664 of file CATWindow_Win32.cpp.

References CATRECT::bottom, CATOSREGION, CATSUCCEEDED, CATRECT::left, CATStack< T >::Pop(), CATRECT::right, and CATRECT::top.

Referenced by ResetBackground().


Generated on Mon Feb 11 04:11:24 2008 for Game Accessibility Suite by doxygen 1.5.4