rwlogo

Rogue Wave Views
Foundation Package API Reference Guide

Product Documentation:

Rogue Wave Views
Documentation Home

 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
List of all members | Public Member Functions
IlvRegionUpdater Class Referenceabstract

Utility class to update invalidated display regions. More...

#include <ilviews/base/region.h>

Public Member Functions

virtual IlBoolean update (IlvRegion &region, const IlvRect &clip, const IlvTransformer *t=0) const =0
 Updates the refresh region. More...
 

Detailed Description

Utility class to update invalidated display regions.

Library: xviews or winviews or mviews (mutually exclusive)

This class lets you define the precise area that should be invalidated when modifications impact the display of a graphic holder. You typically create a subclass of IlvRegionUpdater that does the appropriate job depending on your context, and provide an instance of this class to IlvGraphicHolder::invalidateRegion(IlvRegionUpdater&,const IlvGraphic*).

Member Function Documentation

virtual IlBoolean IlvRegionUpdater::update ( IlvRegion region,
const IlvRect clip,
const IlvTransformer t = 0 
) const
pure virtual

Updates the refresh region.

This member function is called when a graphic holder requests an update of its refresh area (what part of the views must be redrawn).

Parameters
regionThe refresh region that must be updated by this member function, in the destination view coordinates system.
clipThe clipping rectangle of the display area. This parameter can be used to discard irrelevant region updates.
tThe transformer that must be taken into account to update the region.
Returns
IlTrue if a change is performed on region and IlFalse otherwise.

© Copyright 2015, 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.