(C) 1998 AROS - The Amiga Research OS


NAME
#include <graphics/rastport.h>
#include <proto/graphics.h>

void ScrollRasterBF (rp , dx , dy , xMin , yMin , xMax , yMax)

LOCATION
In GfxBase at offset 167

SYNOPSIS
struct RastPort * rp
LONG dx
LONG dy
LONG xMin
LONG yMin
LONG xMax
LONG yMax

FUNCTION
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.

INPUTS
rp
pointer to rastport
dx,dy
distance to move in x and y direction. Positive values go towards (0,0)
xMin,yMin
upper left hand corner of the affected rectangle
xMax,yMax
lower right hand corner of the affected rectangle

RESULT

EXAMPLE

SEE ALSO

NOTES

BUGS

INTERNALS

HISTORY
25.05.1999 bergers
ScrollRaster(BF)() call driver_MoveRaster() now.
29.03.1999 bergers
Started to implement those functions. Lots of missing code in graphics_driver, though.