This class is used to iterate through the rectangles in a region,
typically when examining the damaged regions of a window within an OnPaint call.
To use it, construct an iterator object on the stack and loop through the
regions, testing the object and incrementing the iterator at the end of the loop.
See PaintEvent for an example of use.
Creates an iterator object given a region.
Returns the x value for the current region.
Returns the y value for the current region.
An alias for GetWidth.
Returns the height value for the current region.
An alias for GetHeight.
Returns the current rectangle.
Returns the width value for the current region.
Returns true
if there are still some rectangles; otherwise returns false
.
Resets the iterator to the beginning of the rectangles.
reset(%(arg-type)Region% region)Resets the iterator to the given region.
Increment operator. Increments the iterator to the next region.
Returns true
if there are still some rectangles; otherwise returns false
.
You can use this to test the iterator object as if it were of type bool.
[This page automatically generated from the Textile source at 2023-06-13 21:31:37 +0000]