DOKK / manpages / debian 11 / libfcft-doc / fcft_destroy.3.en
fcft_destroy(3) fcft fcft_destroy(3)

fcft_destroy - free fcft_font objects

#include <fcft/fcft.h>

void fcft_destroy(struct fcft_font *font);

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

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

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

None

fcft_from_name(3), fcft_clone(3), fcft_size_adjust(3), fcft_glyph_rasterize(3)

2020-11-07 2.3.1