MonobjcMonobjc Documented Class Library
ConvertPointToLayer Method (aPoint, layer)
NamespacesMonobjc.QuartzCoreCALayerConvertPointToLayer(CGPoint, CALayer)

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

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

Available in Mac OS X v10.5 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual CGPoint ConvertPointToLayer(
	CGPoint aPoint,
	CALayer layer
)
Public Overridable Function ConvertPointToLayer ( _
	aPoint As CGPoint, _
	layer As CALayer _
) As CGPoint
public:
virtual CGPoint ConvertPointToLayer(
	CGPoint aPoint, 
	CALayer^ layer
)
Parameters
aPoint (CGPoint)
A point specifying a location in the coordinate system of layer.
layer (CALayer)
The layer into whose coordinate system aPoint is to be converted. The receiver and layer must share a common parent layer.
Return Value
The point converted to the coordinate system of layer.
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)