Unit 'layers' Package
[Overview][Constants][Types][Procedures and functions][Variables][Index] [#amunits]

SizeLayer

Change the size of this nonbackdrop layer.

Declaration

Source position: layers.pas line 112

function SizeLayer(

  dummy: LongInt;

  layer: pLayer;

  dx: LongInt;

  dy: LongInt

):LongInt;

Arguments

dummy

  

unused

layer

  

pointer to a nonbackdrop layer

dx

  

delta to add to current x size

dy

  

delta to add to current y size

Function result

True if operation successful. False if failed (out of memory)

Description

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.


Documentation generated on: 2021-07-30