MonobjcMonobjc Documented Class Library
ConvertToSliceFromPointFromView Method (inPoint, inView)
NamespacesMonobjc.SM2DGraphViewSMPieChartViewConvertToSliceFromPointFromView(NSPoint, NSView)

Original signature is '- (int)convertToSliceFromPoint:(NSPoint)inPoint fromView:(NSView *)inView;'

Declaration Syntax
C#Visual BasicVisual C++
public virtual int ConvertToSliceFromPointFromView(
	NSPoint inPoint,
	NSView inView
)
Public Overridable Function ConvertToSliceFromPointFromView ( _
	inPoint As NSPoint, _
	inView As NSView _
) As Integer
public:
virtual int ConvertToSliceFromPointFromView(
	NSPoint inPoint, 
	NSView^ inView
)
Parameters
inPoint (NSPoint)
The point to be converted.
inView (NSView)
The inPoint parameter is in this view's coordinate system. A value of nil means the window's coordinate system.
Return Value
The slice of the pie that was clicked on. If the point is not on a slice of pie, returns -1.
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.SM2DGraphView (Module: Monobjc.SM2DGraphView)