Which Layer is this point in?
Source position: layers.pas line 116
function WhichLayer( |
LayerInfo: PLayer_Info; |
x: LongInt; |
y: LongInt |
):PLayer; |
x |
|
x coordinate in the BitMap |
y |
|
y coordinate in the BitMap |
pointer to the topmost layer that this point is in nil if this point is not in a layer
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 nil if there is no layer at this point.