Function

CGFontRetain

Increments the retain count of a font.

Declaration

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

CGFontRelease

Decrements the retain count of a font.