struct CCL::UpdateRgn
Overview
Update region. More…
#include <updatergn.h> struct UpdateRgn { // fields Rect bounds; Point offset; IUpdateRegion* region; // construction UpdateRgn ( RectRef bounds = Rect (), IUpdateRegion* region = nullptr, PointRef offset = Point () ); UpdateRgn (const UpdateRgn& other, RectRef subPart); // methods bool isEmpty () const; bool rectVisible (RectRef rect) const; };
Detailed Documentation
Update region.
Fields
Rect bounds
region boundaries in view coordinates
Point offset
offset into native region
IUpdateRegion* region
native update region (can be null)
Construction
UpdateRgn ( RectRef bounds = Rect (), IUpdateRegion* region = nullptr, PointRef offset = Point () )
Construct region.
UpdateRgn (const UpdateRgn& other, RectRef subPart)
Construct subpart of other region.
Methods
bool isEmpty () const
Check if region is empty.
bool rectVisible (RectRef rect) const
Check if any part of the rectangle is within the region.