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

NAME

	WhichLayer -- Which Layer is this point in?

SYNOPSIS

	layer = WhichLayer( li, x, y )
d0 a0 d0 d1
struct Layer *WhichLayer(struct Layer_Info*, WORD, WORD);

FUNCTION

	Starting at the topmost layer check to see if this point (x,y)
occurs in this layer. If it does return the pointer to this
layer. Return NULL if there is no layer at this point.

INPUTS

	li  = pointer to LayerInfo structure
(x,y) = coordinate in the BitMap

RESULT

	layer - pointer to the topmost layer that this point is in
NULL if this point is not in a layer

SEE ALSO

<graphics/layers.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:

Razor 1911

RZR
DJ
AOA
FLT

Comments:

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