MonobjcMonobjc Documented Class Library
ConvertPointFromLayer Method (aPoint, layer)
NamespacesMonobjc.QuartzCoreCALayerConvertPointFromLayer(CGPoint, CALayer)

Converts the point from the specified layer’s coordinate system to the receiver’s coordinate system.

Original signature is '- (CGPoint)convertPoint:(CGPoint)aPoint fromLayer:(CALayer *)layer'

Available in Mac OS X v10.5 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual CGPoint ConvertPointFromLayer(
	CGPoint aPoint,
	CALayer layer
)
Public Overridable Function ConvertPointFromLayer ( _
	aPoint As CGPoint, _
	layer As CALayer _
) As CGPoint
public:
virtual CGPoint ConvertPointFromLayer(
	CGPoint aPoint, 
	CALayer^ layer
)
Parameters
aPoint (CGPoint)
A point specifying a location in the coordinate system of layer.
layer (CALayer)
The layer with aPoint in its coordinate system. The receiver and layer and must share a common parent layer.
Return Value
The point converted to the receiver’s coordinate system.
Version Information
  • Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)

Assembly: Monobjc.AppKit (Module: Monobjc.AppKit)