MonobjcMonobjc Documented Class Library
ConvertPointFromView Method (aPoint, aView)
NamespacesMonobjc.AppKitNSViewConvertPointFromView(NSPoint, NSView)

Converts a point from the coordinate system of a given view to that of the receiver.

Original signature is '- (NSPoint)convertPoint:(NSPoint)aPoint fromView:(NSView *)aView'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual NSPoint ConvertPointFromView(
	NSPoint aPoint,
	NSView aView
)
Public Overridable Function ConvertPointFromView ( _
	aPoint As NSPoint, _
	aView As NSView _
) As NSPoint
public:
virtual NSPoint ConvertPointFromView(
	NSPoint aPoint, 
	NSView^ aView
)
Parameters
aPoint (NSPoint)
A point specifying a location in the coordinate system of aView.
aView (NSView)
The view with aPoint in its coordinate system. If aView is nil, this method instead converts from window base coordinates. Otherwise, both aView and the receiver must belong to the same NSWindow object.
Return Value
The point converted to the coordinate system of the receiver.
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)