(C) 1998 AROS - The Amiga Research OS


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

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

LOCATION
In GfxBase at offset 66

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 RectFill(). 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.
20.10.1998 hkiel
Amiga Research OS
27.01.1997 ldp
Polish
10.12.1996 aros
Moved #include into first column to allow makedepend to see it.
08.11.1996 aros
All OS function use now Amiga types

Moved intuition-driver protos to intuition_intern.h

31.10.1996 aros
Moved driver prototypes into graphics_intern.h
24.10.1996 aros
Use the official AROS macros over the __AROS versions.
24.10.1996 aros
Forgot return type
13.08.1996 digulla
Replaced __AROS_LA by __AROS_LHA
12.08.1996 digulla
Implemented the most commonly used Amiga graphics functions