a1200   NEWS   APPS   DOCS   ABOUT
a1200
----
a1200
----
Autodocs
 Libraries:
 layers.library
  BeginUpdate
  BehindLayer
  CreateBehindHookLayer
  CreateBehindLayer
  CreateUpfrontHookLayer
  CreateUpfrontLayer
  DeleteLayer
  DisposeLayerInfo
  DoHookClipRects
  EndUpdate
  FattenLayerInfo
  InitLayers
  InstallClipRegion
  InstallLayerHook
  InstallLayerInfoHook
  LockLayer
  LockLayerInfo
  LockLayers
  MoveLayer
  MoveLayerInFrontOf
  MoveSizeLayer
  NewLayerInfo
  ScrollLayer
  SizeLayer
  SwapBitsRastPortClipRect
  ThinLayerInfo
  UnlockLayer
  UnlockLayerInfo
  UnlockLayers
  UpfrontLayer
  WhichLayer
Include
GuruMeditation
Docs » Autodocs » layers.library » SizeLayer

NAME

	SizeLayer -- Change the size of this nonbackdrop layer.

SYNOPSIS

	result = SizeLayer( dummy, l, dx, dy )
d0 a0 a1 d0 d1
LONG SizeLayer( LONG, struct Layer *, LONG, LONG);

FUNCTION

	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.

INPUTS

	dummy - unused
l - pointer to a nonbackdrop layer
dx - delta to add to current x size
dy - delta to add to current y size

RESULT

	result - TRUE if operation successful
FALSE if failed (out of memory)

BUGS

SEE ALSO

<graphics/layers.h>, <graphics/clip.h>

Comments

Name:
E-mail: Use this if you want a message if you get a response, will not be shown.
Comment:
Select correct short for:

The Silents

HZ
KEF
TSL
TBL

Comments:

$VER: d0.se 1.14 Copyright © 2011-2024 Tobias Geijersson support at d0 dot se