Rogue Wave Views 5.6 |
Rogue Wave Views |
Rogue Wave Views Documentation Home |
This class is used to temporarily modify the clip of an IlvPalette
.
More...
#include <ilviews/base/resource.h>
Public Member Functions | |
IlvPushClip (IlvPalette const &palette, IlvRect const *newClip) | |
Constructor from an IlvRect . More... | |
IlvPushClip (IlvPalette const &palette, IlvRegion const *newClip) | |
Constructor from an IlvRect . More... | |
IlvPushClip (IlvPalette const &palette, IlvRect const &newClip, IlvRegion const *globalClip) | |
This constructor sets the clip to the intersection of the current clip, and the region and the rectangle given as parameter. More... | |
~IlvPushClip () | |
The destructor. It restores the previous clip on the palette. | |
This class is used to temporarily modify the clip of an IlvPalette
.
Library: display
If the pointer to the new clip is not null
, the constructor modifies the clip of the palette with the intersection of the current clip and the new one, while the destructor restores the previous value. Otherwise the clip remains unchanged.
IlvPushClip::IlvPushClip | ( | IlvPalette const & | palette, |
IlvRect const * | newClip | ||
) |
Constructor from an IlvRect
.
palette | The palette whose clip will be modified. |
newClip | A pointer to the new clip to intersect with the current clip. If this pointer is null , nothing is done. |
IlvPushClip::IlvPushClip | ( | IlvPalette const & | palette, |
IlvRegion const * | newClip | ||
) |
Constructor from an IlvRect
.
palette | The palette whose clip will be modified. |
newClip | A pointer to the new clip to intersect with the current clip. If this pointer is null , nothing is done. |
IlvPushClip::IlvPushClip | ( | IlvPalette const & | palette, |
IlvRect const & | newClip, | ||
IlvRegion const * | globalClip | ||
) |
This constructor sets the clip to the intersection of the current clip, and the region and the rectangle given as parameter.
palette | The palette whose clip will be modified. |
newClip | A rectangle to intersect with the globalClip and the current clip of the palette. |
globalClip | A pointer to a region to intersect with the current clip and rect. |
© Copyright 2012, Rogue Wave Software, Inc. All Rights Reserved.
Rogue Wave is a registered trademark of Rogue Wave Software, Inc. in the United States and other countries. All other trademarks are the property of their respective owners.