Structs§
- __
Bindgen Bitfield Unit - __
fsid_ t - __
va_ list_ tag - max_
align_ t - ttf_
file - @brief Loaded font structure
- ttf_
file__ bindgen_ ty_ 1 - ttf_
file__ bindgen_ ty_ 2 - ttf_
file__ bindgen_ ty_ 3 - ttf_
file__ bindgen_ ty_ 4 - ttf_
file__ bindgen_ ty_ 1__ bindgen_ ty_ 1 - ttf_
file__ bindgen_ ty_ 2__ bindgen_ ty_ 1 - ttf_
glyph - @brief The glyph struct
- ttf_
mesh - @brief The mesh struct
- ttf_
mesh3d - @brief The mesh struct
- ttf_
mesh3d__ bindgen_ ty_ 1 - ttf_
mesh3d__ bindgen_ ty_ 2 - ttf_
mesh3d__ bindgen_ ty_ 3 - ttf_
mesh__ bindgen_ ty_ 1 - ttf_
mesh__ bindgen_ ty_ 2 - ttf_
outline - @brief The outline struct
- ttf_
outline__ bindgen_ ty_ 1 - ttf_
point - @brief The outline point struct
- unicode_
bmp_ range - @brief The Unicode Basic Multilingual Plane range struct
Constants§
- INT8_
MAX - INT8_
MIN - INT16_
MAX - INT16_
MIN - INT32_
MAX - INT32_
MIN - INTPTR_
MAX - INTPTR_
MIN - INT_
FAST8_ MAX - INT_
FAST8_ MIN - INT_
FAST16_ MAX - INT_
FAST16_ MIN - INT_
FAST32_ MAX - INT_
FAST32_ MIN - INT_
LEAS T8_ MAX - INT_
LEAS T8_ MIN - INT_
LEAS T16_ MAX - INT_
LEAS T16_ MIN - INT_
LEAS T32_ MAX - INT_
LEAS T32_ MIN - PTRDIFF_
MAX - PTRDIFF_
MIN - SIG_
ATOMIC_ MAX - SIG_
ATOMIC_ MIN - SIZE_
MAX - TTF2MESH_
VERSION - TTF_
DONE - TTF_
ERR_ CSUM - TTF_
ERR_ FMT - TTF_
ERR_ MESHER - TTF_
ERR_ NOMEM - TTF_
ERR_ NOTAB - TTF_
ERR_ NO_ OUTLINE - TTF_
ERR_ OPEN - TTF_
ERR_ SIZE - TTF_
ERR_ UTAB - TTF_
ERR_ VER - TTF_
ERR_ WRITING - TTF_
FEATURES_ DFLT - TTF_
FEATURE_ IGN_ ERR - TTF_
MAX_ FILE - TTF_
QUALITY_ HIGH - TTF_
QUALITY_ LOW - TTF_
QUALITY_ NORMAL - TTF_
WEIGHT_ BLACK - TTF_
WEIGHT_ BOLD - TTF_
WEIGHT_ DEMIBOLD - TTF_
WEIGHT_ EXTRABOLD - TTF_
WEIGHT_ EXTRALIGHT - TTF_
WEIGHT_ LIGHT - TTF_
WEIGHT_ MEDIUM - TTF_
WEIGHT_ NORMAL - TTF_
WEIGHT_ THIN - UINT8_
MAX - UINT16_
MAX - UINT32_
MAX - UINTPTR_
MAX - UINT_
FAST8_ MAX - UINT_
FAST16_ MAX - UINT_
FAST32_ MAX - UINT_
LEAS T8_ MAX - UINT_
LEAS T16_ MAX - UINT_
LEAS T32_ MAX - WINT_
MAX - WINT_
MIN - _ATFILE_
SOURCE - _BITS_
STDINT_ INTN_ H - _BITS_
STDINT_ LEAST_ H - _BITS_
STDINT_ UINTN_ H - _BITS_
TIME64_ H - _BITS_
TYPESIZES_ H - _BITS_
TYPES_ H - _BITS_
WCHAR_ H - _DEFAULT_
SOURCE - _FEATURES_
H - _POSIX_
C_ SOURCE - _POSIX_
SOURCE - _STDC_
PREDEF_ H - _STDINT_
H - _SYS_
CDEFS_ H - __
FD_ SETSIZE - __
GLIBC_ MINOR__ - __
GLIBC_ USE_ C2X_ STRTOL - __
GLIBC_ USE_ DEPRECATED_ GETS - __
GLIBC_ USE_ DEPRECATED_ SCANF - __
GLIBC_ USE_ IEC_ 60559_ BFP_ EXT - __
GLIBC_ USE_ IEC_ 60559_ BFP_ EXT_ C2X - __
GLIBC_ USE_ IEC_ 60559_ EXT - __
GLIBC_ USE_ IEC_ 60559_ FUNCS_ EXT - __
GLIBC_ USE_ IEC_ 60559_ FUNCS_ EXT_ C2X - __
GLIBC_ USE_ IEC_ 60559_ TYPES_ EXT - __
GLIBC_ USE_ ISOC2X - __
GLIBC_ USE_ LIB_ EXT2 - __
GLIBC__ - __
GNU_ LIBRARY__ - __
HAVE_ GENERIC_ SELECTION - __
INO_ T_ MATCHES_ INO64_ T - __
KERNEL_ OLD_ TIMEVAL_ MATCHES_ TIMEVA L64 - __
LDOUBLE_ REDIRECTS_ TO_ FLOA T128_ ABI - __
OFF_ T_ MATCHES_ OFF64_ T - __
RLIM_ T_ MATCHES_ RLIM64_ T - __
STATFS_ MATCHES_ STATF S64 - __
STDC_ IEC_ 559_ COMPLEX__ - __
STDC_ IEC_ 559__ - __
STDC_ IEC_ 60559_ BFP__ - __
STDC_ IEC_ 60559_ COMPLEX__ - __
STDC_ ISO_ 10646__ - __
SYSCALL_ WORDSIZE - __
TIMESIZE - __
USE_ ATFILE - __
USE_ FORTIFY_ LEVEL - __
USE_ ISOC11 - __
USE_ ISOC95 - __
USE_ ISOC99 - __
USE_ MISC - __
USE_ POSIX - __
USE_ POSI X2 - __
USE_ POSI X199309 - __
USE_ POSI X199506 - __
USE_ POSIX_ IMPLICITLY - __
USE_ XOPE N2K - __
USE_ XOPE N2K8 - __
WORDSIZE - __
WORDSIZE_ TIME64_ COMPA T32 - __
bool_ true_ false_ are_ defined - __
glibc_ c99_ flexarr_ available - false_
- true_
Statics§
Functions§
- ttf_
export_ ⚠to_ obj - @brief Export ttf font to Wavefront .obj file @param ttf Pointer to font object @param file_name File name of output file @param quality Number of points to circle (see TTF_QUALITY_XXX) @return Operation result TTF_DONE, TTF_ERR_OPEN or TTF_ERR_WRITING
- ttf_
find_ ⚠glyph - @brief Translate unicode character to glyph index in font object @param ttf Pointer to font object @param utf16_char Unicode character @return Glyph index in glyphs array or -1
- ttf_
free ⚠ - @brief Free the font object @param ttf Pointer to font object
- ttf_
free_ ⚠list - @brief Free the font list created with ttf_list_fonts() @param list font list
- ttf_
free_ ⚠mesh - @brief Free the mesh object @param mesh Pointer to mesh object
- ttf_
free_ ⚠mesh3d - @brief Free the mesh3d object @param mesh Pointer to mesh object
- ttf_
free_ ⚠outline - @brief Free the outline object @param outline Pointer to outline object
- ttf_
glyph2mesh ⚠ - @brief Convert glyph to mesh-object @param glyph Pointer to glyph object @param output Pointer to mesh object or NULL if error occurred @param quality Number of points to circle (see TTF_QUALITY_XXX) @param features Process features and tricks (see TTF_FEATURES_DFLT, TTF_FEATURE_XXX) @return Operation result TTF_XXX
- ttf_
glyph2mesh3d ⚠ - @brief Convert glyph to mesh3d-object @param glyph Pointer to glyph object @param output Pointer to mesh3d object or NULL if error occurred @param quality Number of points to circle (see TTF_QUALITY_XXX) @param features Process features and tricks (see TTF_FEATURES_DFLT, TTF_FEATURE_XXX) @param depth Depth of the object @return Operation result TTF_XXX
- ttf_
glyph2svgpath ⚠ - @brief Convert glyph to
object of svg document @param glyph Pointer to glyph object @param xscale Scaling the glyph horizontally @param yscale Scaling the glyph vertically @return Null terminated string or NULL if no memory in system - ttf_
linear_ ⚠outline - @brief Convert glyph outline to sequence of line objects @param glyph Pointer to glyph object @param quality Number of points to circle (see TTF_QUALITY_XXX) @return Pointer to converted outline or NULL if no memory in system or if glyph have no outline
- ttf_
list_ ⚠fonts - @brief List available fonts in directory @param directories Array of standard C strings @param dir_count Length of \a directories array @param mask Font file name pattern (can be NULL) @return Array of references to ttf_t objects or NULL if no memory
- ttf_
list_ ⚠match - @brief Matching font from list @param list NULL-terminated array of references to ttf_t objects @param deflt Default font @param requirements Requirements string @return Matched font from \a list or \a deflt value if no font matched
- ttf_
list_ ⚠match_ id - @brief Same as ttf_list_match. @return Index of matched font from \a list or -1 value if no font matched
- ttf_
list_ ⚠system_ fonts - @brief List available system fonts @param mask Font file name pattern (can be NULL) @return Array of references to ttf_t objects or NULL if no memory
- ttf_
load_ ⚠from_ file - @brief Load a font from file @param filename TTF font file name @param output Pointer to font object or NULL if error was occurred @return Operation result TTF_XXX
- ttf_
load_ ⚠from_ mem - @brief Load a font from memory @param data Data pointer @param size Data size @param output Pointer to font object or NULL if error was occurred @return Operation result TTF_XXX
- ttf_
outline_ ⚠contour_ info - @brief Even-odd algorithm for retriving the contour information @param outline Outline which prepared by ttf_linear_outline function @param subglyph Subglyph of interest or -1 if does not matter @param contour Contour index in outline (0…ncontours-1) @param test_point Point index in it \a contour @param nested_to The index of parent contour if not NULL @return true if contour is not a hole
- ttf_
outline_ ⚠evenodd - @brief Even-odd algorithm for point @param outline Outline which prepared by ttf_linear_outline function @param point Point coordinates @param subglyph Subglyph of interest or -1 if does not matter @return true if point is on filled glyph region
- ttf_
outline_ ⚠evenodd_ base - @brief Base implementation of Even-odd algorithm @param outline Outline which prepared by ttf_linear_outline function @param point Point coordinates @param contour Contour index @param dist Distance at left of the point to a most closer point of contour, can be NULL if does not matter @return The number of intersections with the contour to the left of the point
- ttf_
splitted_ ⚠outline - @brief Convert continuous qbezier curves to their three-point variant @param glyph Pointer to glyph object @return Pointer to converted outline or NULL if no memory in system
Type Aliases§
- __
blkcnt64_ t - __
blkcnt_ t - __
blksize_ t - __
builtin_ va_ list - __
caddr_ t - __
clock_ t - __
clockid_ t - __
daddr_ t - __dev_t
- __
fsblkcnt64_ t - __
fsblkcnt_ t - __
fsfilcnt64_ t - __
fsfilcnt_ t - __
fsword_ t - __gid_t
- __
gnuc_ va_ list - __id_t
- __
ino64_ t - __ino_t
- __
int8_ t - __
int16_ t - __
int32_ t - __
int64_ t - __
int_ least8_ t - __
int_ least16_ t - __
int_ least32_ t - __
int_ least64_ t - __
intmax_ t - __
intptr_ t - __key_t
- __
loff_ t - __
mode_ t - __
nlink_ t - __
off64_ t - __off_t
- __pid_t
- __
quad_ t - __
rlim64_ t - __
rlim_ t - __
sig_ atomic_ t - __
socklen_ t - __
ssize_ t - __
suseconds64_ t - __
suseconds_ t - __
syscall_ slong_ t - __
syscall_ ulong_ t - __
time_ t - __
timer_ t - __
u_ char - __u_int
- __
u_ long - __
u_ quad_ t - __
u_ short - __uid_t
- __
uint8_ t - __
uint16_ t - __
uint32_ t - __
uint64_ t - __
uint_ least8_ t - __
uint_ least16_ t - __
uint_ least32_ t - __
uint_ least64_ t - __
uintmax_ t - __
useconds_ t - int_
fast8_ t - int_
fast16_ t - int_
fast32_ t - int_
fast64_ t - int_
least8_ t - int_
least16_ t - int_
least32_ t - int_
least64_ t - intmax_
t - ttf_
glyph_ t - @brief The glyph struct
- ttf_
mesh3d_ t - @brief The mesh struct
- ttf_
mesh_ t - @brief The mesh struct
- ttf_
outline_ t - @brief The outline struct
- ttf_
point_ t - @brief The outline point struct
- ttf_t
- @brief Loaded font structure
- ubrange_
t - @brief The Unicode Basic Multilingual Plane range struct
- uint_
fast8_ t - uint_
fast16_ t - uint_
fast32_ t - uint_
fast64_ t - uint_
least8_ t - uint_
least16_ t - uint_
least32_ t - uint_
least64_ t - uintmax_
t - va_list
- wchar_t