MonobjcMonobjc Documented Class Library
CGFont Class
NamespacesMonobjc.ApplicationServicesCGFont

[Missing <summary> documentation for "T:Monobjc.ApplicationServices.CGFont"]

Declaration Syntax
C#Visual BasicVisual C++
public static class CGFont
Public NotInheritable Class CGFont
public ref class CGFont abstract sealed
Members
All MembersMethodsFields



IconMemberDescription
CanCreatePostScriptSubset(IntPtr, CGFontPostScriptFormat)

Determines whether Quartz can create a subset of the font in PostScript format.

Original signature is 'bool CGFontCanCreatePostScriptSubset ( CGFontRef font, CGFontPostScriptFormat format );'

Available in Mac OS X v10.4 and later.


CopyFullName(IntPtr)

Returns the full name associated with a font object.

Original signature is 'CFStringRef CGFontCopyFullName ( CGFontRef font );'

Available in Mac OS X v10.5 and later.


CopyGlyphNameForGlyph(IntPtr)

Returns the glyph name of the specified glyph in the specified font.

Original signature is 'CFStringRef CGFontCopyGlyphNameForGlyph ( CGFontRef font CGGlyph glyph );'

Available in Mac OS X v10.5 and later.


CopyPostScriptName(IntPtr)

Obtains the PostScript name of a font.

Original signature is 'CFStringRef CGFontCopyPostScriptName ( CGFontRef font );'

Available in Mac OS X v10.4 and later.


CopyTableForTag(IntPtr, UInt32)

Returns the font table that corresponds to the provided tag.

Original signature is 'CFDataRef CGFontCopyTableForTag( CGFontRef font, uint32_t tag );'

Available in Mac OS X v10.5 and later.


CopyTableTags(IntPtr)

Returns an array of tags that correspond to the font tables for a font.

Original signature is 'CFArrayRef CGFontCopyTableTags( CGFontRef font );'

Available in Mac OS X v10.5 and later.


CopyVariationAxes(IntPtr)

Returns an array of the variation axis dictionaries for a font.

Original signature is 'CFArrayRef CGFontCopyVariationAxes ( CGFontRef font );'

Available in Mac OS X v10.4 and later.


CopyVariations(IntPtr)

Returns the variation specification dictionary for a font.

Original signature is 'CFDictionaryRef CGFontCopyVariations ( CGFontRef font );'

Available in Mac OS X v10.4 and later.


CreateCopyWithVariations(IntPtr, NSDictionary)

Creates a copy of a font using a variation specification dictionary.

Original signature is 'CGFontRef CGFontCreateCopyWithVariations ( CGFontRef font, CFDictionaryRef variations );'

Available in Mac OS X v10.4 and later.


CreatePostScriptEncoding(IntPtr, IntPtr)

Creates a PostScript encoding of a font.

Original signature is 'CFDataRef CGFontCreatePostScriptEncoding ( CGFontRef font, const CGGlyph encoding[256] );'

Available in Mac OS X v10.4 and later.


CreatePostScriptSubset(IntPtr, NSString, CGFontPostScriptFormat, IntPtr, NSUInteger, IntPtr)

Creates a subset of the font in the specified PostScript format.

Original signature is 'CFDataRef CGFontCreatePostScriptSubset ( CGFontRef font, CFStringRef subsetName, CGFontPostScriptFormat format, const CGGlyph glyphs[], size_t count, const CGGlyph encoding[256] );'

Available in Mac OS X v10.4 and later.


CreateWithDataProvider(IntPtr)

Creates a font object from data supplied from a data provider.

Original signature is 'CGFontRef CGFontCreateWithDataProvider ( CGDataProviderRef provider );'

Available in Mac OS X v10.5 and later.


CreateWithFontName(NSString)

Creates a font object corresponding to the font specified by a PostScript or full name.

Original signature is 'CGFontRef CGFontCreateWithFontName ( CFStringRef name );'

Available in Mac OS X v10.5 and later.


GetAscent(IntPtr)

Returns the ascent of a font.

Original signature is 'int CGFontGetAscent ( CGFontRef font );'

Available in Mac OS X v10.5 and later.


GetCapHeight(IntPtr)

Returns the cap height of a font.

Original signature is 'int CGFontGetCapHeight ( CGFontRef font );'

Available in Mac OS X v10.5 and later.


GetDescent(IntPtr)

Returns the descent of a font.

Original signature is 'int CGFontGetDescent ( CGFontRef font );'

Available in Mac OS X v10.5 and later.


GetFontBBox(IntPtr)

Returns the bounding box of a font.

Original signature is 'CGRect CGFontGetFontBBox ( CGFontRef font );'

Available in Mac OS X v10.5 and later.


GetGlyphAdvances(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.


GetGlyphBBoxes(IntPtr, IntPtr, NSUInteger, IntPtr)

Get the bounding box of each glyph in an array.

Original signature is 'bool CGFontGetGlyphBBoxes ( CGFontRef font, const CGGlyph glyphs[], size_t count, CGRect bboxes[] );'

Available in Mac OS X v10.5 and later.


GetGlyphWithGlyphName(IntPtr)

Returns the glyph for the glyph name associated with the specified font object.

Original signature is 'CGGlyph CGFontGetGlyphWithGlyphName ( CGFontRef font CFStringRef name );'

Available in Mac OS X v10.5 and later.


GetItalicAngle(IntPtr)

Returns the italic angle of a font.

Original signature is 'CGFloat CGFontGetItalicAngle ( CGFontRef font );'

Available in Mac OS X v10.5 and later.


GetLeading(IntPtr)

Returns the leading of a font.

Original signature is 'int CGFontGetLeading ( CGFontRef font );'

Available in Mac OS X v10.5 and later.


GetNumberOfGlyphs(IntPtr)

Returns the number of glyphs in a font.

Original signature is 'size_t CGFontGetNumberOfGlyphs ( CGFontRef font );'

Available in Mac OS X v10.5 and later.


GetUnitsPerEm(IntPtr)

Returns the number of glyph space units per em for the provided font.

Original signature is 'int CGFontGetUnitsPerEm ( CGFontRef font );'

Available in Mac OS X v10.5 and later.


GetXHeight(IntPtr)

Returns the x-height of a font.

Original signature is 'int CGFontGetXHeight ( CGFontRef font );'

Available in Mac OS X v10.5 and later.


kCGFontVariationAxisDefaultValue

The key used to obtain the default variation axis value from a variation axis dictionary. The value obtained with this key is a CFNumberRef that specifies the default value of the variation axis.

Available in Mac OS X v10.4 and later.


Release(IntPtr)

Decrements the retain count of a Quartz font.

Original signature is 'void CGFontRelease ( CGFontRef font );'

Available in Mac OS X v10.0 and later.


Retain(IntPtr)

Increments the retain count of a Quartz font.

Original signature is 'CGFontRef CGFontRetain ( CGFontRef font );'

Available in Mac OS X v10.0 and later.


Inheritance Hierarchy
Object
CGFont
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)