1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32
|
fcft_clone(3) "3.3.3" "fcft"
# NAME
fcft_clone - copy an already instantiated font
# SYNOPSIS
*\#include <fcft/fcft.h>*
*struct fcft_font \*fcft_clone(const struct fcft_font \**_font_*);*
# 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.
# 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*()
|