Crate ttf2mesh_sys

Crate ttf2mesh_sys 

Source

Structs§

__BindgenBitfieldUnit
__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_LEAST8_MAX
INT_LEAST8_MIN
INT_LEAST16_MAX
INT_LEAST16_MIN
INT_LEAST32_MAX
INT_LEAST32_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_LEAST8_MAX
UINT_LEAST16_MAX
UINT_LEAST32_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_TIMEVAL64
__LDOUBLE_REDIRECTS_TO_FLOAT128_ABI
__OFF_T_MATCHES_OFF64_T
__RLIM_T_MATCHES_RLIM64_T
__STATFS_MATCHES_STATFS64
__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_POSIX2
__USE_POSIX199309
__USE_POSIX199506
__USE_POSIX_IMPLICITLY
__USE_XOPEN2K
__USE_XOPEN2K8
__WORDSIZE
__WORDSIZE_TIME64_COMPAT32
__bool_true_false_are_defined
__glibc_c99_flexarr_available
false_
true_

Statics§

ubranges

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