Unit 'agraphics' Package
[Overview][Constants][Types][Procedures and functions][Variables][Index] [#os4units]

ScrollRasterBF

Push bits in rectangle in raster around by dx,dy towards 0,0 inside rectangle. Newly empty areas will be filled via EraseRect().

Declaration

Source position: agraphics.pas line 2465

procedure ScrollRasterBF(

  Rp: PRastPort;

  Dx: LongWord;

  Dy: LongWord;

  XMin: LongWord;

  YMin: LongWord;

  XMax: LongWord;

  yMax: LongWord

);

Arguments

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

Description

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.

See also

ScrollRaster

  

Push bits in rectangle in raster around by dx,dy towards 0,0 inside rectangle.


Documentation generated on: 2021-07-30