Rogue Wave Views Foundation Package API Reference Guide |
Rogue Wave Views Documentation Home |
Utility class to optimize a region. More...
#include <ilviews/base/region.h>
Public Member Functions | |
IlvRegionOptimizer () | |
Creates a new IlvRegionOptimizer instance. | |
virtual IlBoolean | finalize (IlvRegion ®ion) const |
Is called to optimize the specified region. More... | |
virtual IlBoolean | optimize (IlvRegion ®ion, const IlvRect &rect) const |
Is called to optimize the specified region. More... | |
Utility class to optimize a region.
Library: xviews or winviews or mviews (mutually exclusive)
This class lets you define the precise way a region should be optimized. Optimizing a region is done each time a region is modified, and just before the drawing of this region occurs.
Is called to optimize the specified region.
This member function is called before a graphic holder requests an update of its refresh area (what part of the views must be redrawn).
region | The refresh region that must be updated by this member function. |
IlTrue
if a change is performed on region and IlFalse
otherwise.
|
virtual |
Is called to optimize the specified region.
This member function is called each time a graphic holder modifies its update region by adding a new rectangle to it.
region | The refresh region that must be updated by this member function. |
rect | The rectangle to add. |
IlTrue
if a change is performed on region and IlFalse
otherwise. © Copyright 2016, 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.