fcft_destroy - Man Page

free fcft_font objects

Synopsis

#include <fcft/fcft.h>

void fcft_destroy(struct fcft_font *font);

Description

fcft_destroy() frees the fcft_font object font, which must have been created with fcft_from_name(), fcft_clone(), or fcft_size_adjust().

After calling fcft_destroy(), font can no longer be used, and all references to fcft_glyph objects (retrieved with fcft_codepoint_rasterize()) are now invalid.

font may be NULL, in which case fcft_destroy() is a no-op.

Return Value

None

See Also

fcft_from_name(), fcft_clone(), fcft_size_adjust(), fcft_codepoint_rasterize()

Referenced By

fcft_clone(3), fcft_from_name(3), fcft_rasterize_char_utf32(3), fcft_rasterize_grapheme_utf32(3).

2022-09-20 3.1.5 fcft