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 » MoveLayer

NAME

	MoveLayer -- Move layer to new position in BitMap.

SYNOPSIS

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

FUNCTION

	Move this layer to new position in shared BitMap.
If any refresh layers become revealed, collect damage and
set REFRESH bit in layer Flags.

INPUTS

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

RESULT

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

BUGS

	May not handle (dx,dy) which attempts to move the layer outside the
layer's RastPort->BitMap bounds .

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:

Sanity

SNT
ANA
DJ
SPB

Comments:

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