Inheritance diagram for CP_Clip:
Public Member Functions | |
Constructor / Destructor | |
CP_Clip () | |
Constructor. | |
CP_Clip (const CP_Rect &inClipArea) | |
CP_Clip (const CP_Region &inClipArea) | |
virtual | ~CP_Clip () |
Destructor. | |
Canvas | |
void | UseInCanvas (CP_Canvas *inDestCanvas=NULL) |
Setters | |
void | Inset (SInt16 inHorAmt, SInt16 inVerAmt) |
void | Set (const CP_Rect &inClipArea) |
void | Set (const CP_Region &inClipRegion) |
Intersection | |
void | Intersect (const CP_Rect &inIntersect) |
void | Intersect (const CP_Region &inIntersect) |
Save / Restore | |
void | Save () |
void | Restore () |
Getters | |
CP_Region | GetClipRegion () |
Protected Attributes | |
CP_Region | fClip |
CP_Region | fSavedClip |
|
Constructor.
|
|
Constructor.
|
|
Constructor.
|
|
Destructor.
|
|
Make the clipping region current for the setup port.
|
|
Inset our clipping region by the specified amount.
|
|
Set our clip area from a CP_Rect.
|
|
Sets the region to be used for clipping.
|
|
Set our clipping region to the intersection of our bounds and the passed in rect.
|
|
Set our clipping region to the intersection of our bounds and the passed in region.
|
|
Save the current clipping region. This is the region that will later be used when calling the Restore method.
|
|
Restores the previously saved clipping region.
|
|
Returns the region used for clipping.
|
|
|
|
Current clipping region. |