MonobjcMonobjc Documented Class Library
GetGlyphAdvances Method (font, glyphs, count, advances)
NamespacesMonobjc.ApplicationServicesCGFontGetGlyphAdvances(IntPtr, IntPtr, NSUInteger, IntPtr)

Gets the bound box of each glyph in the provided array.

Original signature is 'bool CGFontGetGlyphAdvances ( CGFontRef font, const CGGlyph glyphs[], size_t count, int advances[] );'

Available in Mac OS X v10.5 and later.

Declaration Syntax
C#Visual BasicVisual C++
public static bool GetGlyphAdvances(
	IntPtr font,
	IntPtr glyphs,
	NSUInteger count,
	IntPtr advances
)
Public Shared Function GetGlyphAdvances ( _
	font As IntPtr, _
	glyphs As IntPtr, _
	count As NSUInteger, _
	advances As IntPtr _
) As Boolean
public:
static bool GetGlyphAdvances(
	IntPtr font, 
	IntPtr glyphs, 
	NSUInteger count, 
	IntPtr advances
)
Parameters
font (IntPtr)
MISSING
glyphs (IntPtr)
MISSING
count (NSUInteger)
MISSING
advances (IntPtr)
MISSING
Return Value
TRUE unless the advances can’t be provided for some reason.
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)