Change the size of this nonbackdrop layer.
Source position: layers.pas line 161
function SizeLayer( |
Summy: LongInt; |
Layer: PLayer; |
Dx: LongInt; |
Dy: LongInt |
):LongInt; |
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.