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

SizeLayer

Change the size of this nonbackdrop layer.

Declaration

Source position: layers.pas line 105

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