Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
fcft_clone(3)			      fcft			   fcft_clone(3)

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  ex-
     plicitly 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()

3.3.3				   2026-07-30			   fcft_clone(3)

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=fcft_clone&sektion=3&manpath=FreeBSD+Ports+15.1.quarterly>

home | help