fcft_clone - copy an already instantiated font
Contents
Description
fcft_clone() creates a new instance by copying font. fcft internally uses reference counting, making this
operation very fast (much faster than explicitly instantiating a new font using fcft_from_name()).
To free all resources associated with the both the original font, and the cloned font, fcft_destroy()
must be called for both the original font, and the clone.
Name
fcft_clone - copy an already instantiated font
Return Value
On success, fcft_clone() returns a pointer to a new fcft_font object. On error, NULL is returned.
See Also
fcft_from_name(), fcft_from_name2(), fcft_destroy()
3.3.1 2025-03-22 fcft_clone(3)
Synopsis
#include<fcft/fcft.h>structfcft_font*fcft_clone(conststructfcft_font*font);
