File: fcft_text_run_destroy.3.scd

package info (click to toggle)
fcft 3.3.3-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 3,248 kB
  • sloc: ansic: 8,184; python: 115; sh: 44; makefile: 4
file content (27 lines) | stat: -rw-r--r-- 680 bytes parent folder | download
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
fcft_text_run_destroy(3) "3.3.3" "fcft"

# NAME

fcft_text_run_destroy - free fcft_text_run objects

# SYNOPSIS

*\#include <fcft/fcft.h>*

*void fcft_text_run_destroy(struct fcft_text_run \**_run_*);*

# DESCRIPTION

*fcft_text_run_destroy*() frees the *fcft_text_run* object _run_,
which must have been created with *fcft_text_run_rasterize*().

Note that it is ok to call *fcft_destroy*() on the font object that
was used to rasterize the text-run, before freeing the text-run
itself. I.e. applications may cache text-runs beyond the life time of
the font object.

_run_ may be NULL, in which case *fcft_text_run_destroy*() is a no-op.

# SEE ALSO

*fcft_text_run_rasterize*()