Moves and resizes the layer in one step. Collects damage lists for those layers that become visible and are simple layers. If the layer to be moved is becoming larger the additional areas are added to a damagelist if it is a non-superbitmap layer. Refresh is also triggered for this layer.
INPUTS
l
pointer to layer to be moved
dx
delta to add to current x position
dy
delta to add to current y position
dw
delta to add to current width
dw
delta to add to current height
RESULT
result - TRUE everyting went alright FALSE an error occurred (out of memory)
EXAMPLE
SEE ALSO
NOTES
BUGS
INTERNALS
HISTORY
20.07.1999 digulla
Update for S. Berger
18.03.1999 bergers
Uses CreateRastPort() and FreeRastPort() for RastPorts and fixes memory leak in layers library.
16.03.1999 bergers
ClipRects are not cached in the LayerInfo structure anymore as this might suggest that there is a memory leak while there is not one. Instead there are cached with every layer individually.
28.02.1999 bergers
All functions use the backfill or blank hook to fill cleared or new areas.
25.02.1999 bergers
Alloc ClipRects are fetched from a pool of cliprects in the LayerInfo and when freed put into that pool.
23.02.1999 bergers
Removed BUG-comment.
20.02.1999 bergers
Added text to autodocs. Bugfixes. Fixed some typos in docs.
18.02.1999 bergers
DamageList is updated when the layer is getting larger and it is a simple or a smart layer.
08.02.1999 bergers
Added description, support for simple layers and bugfixes.