ClipRect Struct Reference

Accumulate dirty rectangles or do window clipping Provides an instruction set for rendering/blitting dirty rectangle regions and skipping over rectangular window contents. More...

#include <cliprect.h>

Collaboration diagram for ClipRect:

Collaboration graph
[legend]

Data Fields

Rect bounds
size_t maxDirty
Rectdirty
size_t cDirty

Detailed Description

Accumulate dirty rectangles or do window clipping Provides an instruction set for rendering/blitting dirty rectangle regions and skipping over rectangular window contents.

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.


Field Documentation

Bounding box for rectangles

Definition at line 30 of file cliprect.h.

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().

Current count of distinct regions

Definition at line 33 of file cliprect.h.

Referenced by _GUI_Default(), ClipRect_copy(), and ClipRect_merge().


The documentation for this struct was generated from the following file:

Generated on Fri Jan 2 15:28:37 2009 for Squat by  doxygen 1.5.6