Change the size of this nonbackdrop layer.
Source position: layers.pas line 105
function SizeLayer( |
dummy: LongInt; |
Layer: PLayer; |
dx: LongInt; |
dy: LongInt |
):LongInt; |
dummy |
|
unused |
Layer |
|
pointer to a nonbackdrop layer |
dx |
|
delta to add to current x size |
dy |
|
delta to add to current y size |
True if operation successful. False if failed (out of memory)
Change the size of this layer by (dx,dy). The lower right hand corner is extended to make room for the larger layer. If there is SuperBitMap for this layer then copy pixels into or out of the layer depending on whether the layer increases or decreases in size. Collect damage list for those layers that may need to be refreshed if damage occurred.