#include <cliprect.h>
Data Fields | |
Rect | bounds |
size_t | maxDirty |
Rect * | dirty |
size_t | cDirty |
struct blah { ClipRect clip; Rect clips[32]; }; ClipRect_init( &blah.clip, blah.clips, countof(blah.clip) );
If you're only using this for accumulating dirty rectangles, then a very small number of rectangles is needed. If you are poking holes in rects with ClipRect_remove, you'll need larger numbers of rectangles.
Definition at line 28 of file cliprect.h.
Bounding box for rectangles
Definition at line 30 of file cliprect.h.
size_t ClipRect::maxDirty |
Maximum count of rectangles
Definition at line 31 of file cliprect.h.
Dirty rectangle list vector
Definition at line 32 of file cliprect.h.
Referenced by _GUI_Default(), ClipRect_copy(), and ClipRect_merge().
size_t ClipRect::cDirty |
Current count of distinct regions
Definition at line 33 of file cliprect.h.
Referenced by _GUI_Default(), ClipRect_copy(), and ClipRect_merge().