Contents

CGFontRetain

Increments the retain count of a font.

Declaration

extern CGFontRef CGFontRetain(CGFontRef font);

Parameters

  • font:

    The font to retain.

Return Value

The same font you specified in the font parameter.

Discussion

This function is equivalent to CFRetain, except that it does not cause an error if the font parameter is NULL.

See Also

Retaining and Releasing a CGFont Object