Push bits in rectangle in raster around by dx,dy towards 0,0 inside rectangle. Newly empty areas will be filled via EraseRect().
Source position: agraphics.pas line 2141
procedure ScrollRasterBF( |
Rp: PRastPort; |
Dx: LongInt; |
Dy: LongInt; |
XMin: LongInt; |
YMin: LongInt; |
XMax: LongInt; |
YMax: LongInt |
); |
Rp |
|
A pointer to a rastport |
Dx |
|
x value to move |
Dy |
|
y value to move |
XMin |
|
Left edge of the rect to scroll |
YMin |
|
Upper edge of the rect to scroll |
XMax |
|
right edge of the rect to scroll |
YMax |
|
lower edge of the rect to scroll |
Scroll the contents of a rastport (dx,dy) towards (0,0). The empty spaces is filled by a call to EraseRect(). Only the pixel in the rectangle (xMin,yMin)-(xMax,yMax) will be affected. The lower right corner (xMax, yMax) is automatically adjusted to the lower right corner in case it would be outside. After this operation the Flags bit of the layer associated with this rastport, if there is any layer, should be tested for simple layers in case there has any damage been created.
|
Push bits in rectangle in raster around by dx,dy towards 0,0 inside rectangle. |