Function

CTFontGetSize

Returns the point size of the given font.

Declaration

CGFloat CTFontGetSize(CTFontRef font);

Parameters

font

The font reference.

Return Value

The point size of the given font reference. This is the point size provided when the font was created.

See Also

Getting Font Data

CTFontCopyFontDescriptor

Returns the normalized font descriptor for the given font reference.

CTFontCopyAttribute

Returns the value associated with an arbitrary attribute of the given font.

CTFontGetMatrix

Returns the transformation matrix of the given font.

CTFontGetSymbolicTraits

Returns the symbolic traits of the given font.

CTFontCopyTraits

Returns the traits dictionary of the given font.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software