Scroll the rectangles in the region by the amount of pixels specified, within the specified rectangle.
Source position: agraphics.pas line 2234
function ScrollRegion( |
Region: PRegion; |
Rect: PRectangle; |
Dx: SmallInt; |
Dy: SmallInt |
):LongBool; |
Region |
|
A pointer to a region |
Rect |
|
A pointer to the rectangle within which the scrolling has to happen. If nil, the region's bounds are used instead. |
Dx |
|
the amount of pixels by which to scroll the region vertically. Negative values mean left, positive values mean right. |
Dy |
|
the amount of pixels by which to scroll the region horizontally. Negative values mean up, positive values mean down. |
True if the operation succeeded, False otherwise.
This function doesn't exist in AmigaOS
|
Allocates memory for a new Region and initializes it to an empty Region. |