InteropNSFontFromFont Method (Font, Double) |
Get native NSFont* from a Rhino Font. Only works on Mac
Namespace:
Rhino.Runtime
Assembly:
RhinoCommon (in RhinoCommon.dll)
Since: 6.9
Syntax public static IntPtr NSFontFromFont(
Font font,
double pointSize
)
Public Shared Function NSFontFromFont (
font As Font,
pointSize As Double
) As IntPtr
Parameters
- font
- Type: Rhino.DocObjectsFont
[Missing <param name="font"/> documentation for "M:Rhino.Runtime.Interop.NSFontFromFont(Rhino.DocObjects.Font,System.Double)"]
- pointSize
- Type: SystemDouble
Point size
Return Value
Type:
IntPtrNSFont* on success. IntPtr.Zero on failure
See Also