Inkscape
Vector Graphics Editor
|
text_reassemble.h from libTERE More...
Go to the source code of this file.
Classes | |
struct | ALT_SPECS |
alt font entries. More... | |
struct | FNT_SPECS |
Information for a font instance. More... | |
struct | FT_INFO |
Information for all font instances. More... | |
struct | TRCOLORREF |
struct | TCHUNK_SPECS |
Information for a single text object. More... | |
struct | TP_INFO |
Information for all text objects. More... | |
struct | BRECT_SPECS |
Information for a single bounding rectangle. More... | |
struct | BR_INFO |
Information for all bounding rectangles. More... | |
struct | CHILD_SPECS |
List of all members of a single complex. More... | |
struct | CX_SPECS |
Information for a single complex. More... | |
struct | CX_INFO |
Information for all complexes. More... | |
struct | TR_INFO |
Information for the entire text reassembly system. More... | |
struct | RT_PAD |
Information for one padding record. More... | |
Enumerations | |
enum | tr_classes { TR_TEXT , TR_LINE , TR_PARA_UJ , TR_PARA_LJ , TR_PARA_CJ , TR_PARA_RJ } |
classification of complexes More... | |
Functions | |
int | TR_findcasesub (const char *string, const char *sub) |
char * | TR_construct_fontspec (const TCHUNK_SPECS *tsp, const char *fontname) |
char * | TR_reconstruct_fontspec (const char *fontspec, const char *fontname) |
int | TR_find_alternate_font (FT_INFO *fti, FNT_SPECS **efsp, uint32_t wc) |
int | TR_getadvance (FT_INFO *fti, FNT_SPECS *fsp, uint32_t wc, uint32_t pc, int load_flags, int kern_mode, int *ymin, int *ymax) |
int | TR_getkern2 (FNT_SPECS *fsp, uint32_t wc, uint32_t pc, int kern_mode) |
int | TR_kern_gap (FNT_SPECS *fsp, TCHUNK_SPECS *tsp, TCHUNK_SPECS *ptsp, int kern_mode) |
void | TR_rt_pad_set (RT_PAD *rt_pad, double up, double down, double left, double right) |
double | TR_baseline (TR_INFO *tri, int src, double *AscMax, double *DscMax) |
int | TR_check_set_vadvance (TR_INFO *tri, int src, int lines) |
int | TR_layout_analyze (TR_INFO *tri) |
void | TR_layout_2_svg (TR_INFO *tri) |
int | TR_weight_FC_to_SVG (int weight) |
FT_INFO * | ftinfo_init (void) |
int | ftinfo_make_insertable (FT_INFO *fti) |
int | ftinfo_insert (FT_INFO *fti, FNT_SPECS *fsp) |
FT_INFO * | ftinfo_release (FT_INFO *fti) |
FT_INFO * | ftinfo_clear (FT_INFO *fti) |
int | ftinfo_find_loaded_by_spec (const FT_INFO *fti, const uint8_t *fname) |
int | ftinfo_find_loaded_by_src (const FT_INFO *fti, const uint8_t *filename) |
int | ftinfo_load_fontname (FT_INFO *fti, const char *fontspec) |
void | ftinfo_dump (const FT_INFO *fti) |
int | fsp_alts_make_insertable (FNT_SPECS *fsp) |
int | fsp_alts_insert (FNT_SPECS *fsp, uint32_t fi_idx) |
int | fsp_alts_weight (FNT_SPECS *fsp, uint32_t a_idx) |
int | csp_make_insertable (CHILD_SPECS *csp) |
int | csp_insert (CHILD_SPECS *csp, int src) |
int | csp_merge (CHILD_SPECS *dst, CHILD_SPECS *src) |
void | csp_release (CHILD_SPECS *csp) |
void | csp_clear (CHILD_SPECS *csp) |
CX_INFO * | cxinfo_init (void) |
int | cxinfo_make_insertable (CX_INFO *cxi) |
int | cxinfo_insert (CX_INFO *cxi, int src, int src_rt_idx, enum tr_classes type) |
int | cxinfo_append (CX_INFO *cxi, int src, enum tr_classes type) |
int | cxinfo_merge (CX_INFO *cxi, int dst, int src, enum tr_classes type) |
int | cxinfo_trim (CX_INFO *cxi) |
CX_INFO * | cxinfo_release (CX_INFO *cxi) |
void | cxinfo_dump (const TR_INFO *tri) |
TP_INFO * | tpinfo_init (void) |
int | tpinfo_make_insertable (TP_INFO *tpi) |
int | tpinfo_insert (TP_INFO *tpi, const TCHUNK_SPECS *tsp) |
TP_INFO * | tpinfo_release (TP_INFO *tpi) |
BR_INFO * | brinfo_init (void) |
int | brinfo_make_insertable (BR_INFO *bri) |
int | brinfo_insert (BR_INFO *bri, const BRECT_SPECS *element) |
int | brinfo_merge (BR_INFO *bri, int dst, int src) |
enum tr_classes | brinfo_pp_alignment (const BR_INFO *bri, int dst, int src, double slop, enum tr_classes type) |
int | brinfo_overlap (const BR_INFO *bri, int dst, int src, RT_PAD *rp_dst, RT_PAD *rp_src) |
BR_INFO * | brinfo_release (BR_INFO *bri) |
TR_INFO * | trinfo_init (TR_INFO *tri) |
TR_INFO * | trinfo_release (TR_INFO *tri) |
TR_INFO * | trinfo_release_except_FC (TR_INFO *tri) |
TR_INFO * | trinfo_clear (TR_INFO *tri) |
int | trinfo_load_qe (TR_INFO *tri, double qe) |
int | trinfo_load_bk (TR_INFO *tri, int usebk, TRCOLORREF bkcolor) |
int | trinfo_load_ft_opts (TR_INFO *tri, int use_kern, int load_flags, int kern_mode) |
int | trinfo_load_textrec (TR_INFO *tri, const TCHUNK_SPECS *tsp, double escapement, int flags) |
int | trinfo_check_bk (TR_INFO *tri, int usebk, TRCOLORREF bkcolor) |
int | trinfo_append_out (TR_INFO *tri, const char *src) |
int | is_mn_unicode (int test) |
text_reassemble.h from libTERE
libTERE headers.
See text_reassemble.c for notes
File: text_reassemble.h Version: 0.0.13 Date: 06-FEB-2014 Author: David Mathog, Biology Division, Caltech email: matho.nosp@m.g@ca.nosp@m.ltech.nosp@m..edu Copyright: 2014 David Mathog and California Institute of Technology (Caltech)
Definition in file text_reassemble.h.
enum tr_classes |
classification of complexes
Definition at line 129 of file text_reassemble.h.
BR_INFO * brinfo_init | ( | void | ) |
int brinfo_insert | ( | BR_INFO * | bri, |
const BRECT_SPECS * | element | ||
) |
int brinfo_make_insertable | ( | BR_INFO * | bri | ) |
int brinfo_merge | ( | BR_INFO * | bri, |
int | dst, | ||
int | src | ||
) |
enum tr_classes brinfo_pp_alignment | ( | const BR_INFO * | bri, |
int | dst, | ||
int | src, | ||
double | slop, | ||
enum tr_classes | type | ||
) |
void csp_clear | ( | CHILD_SPECS * | csp | ) |
int csp_insert | ( | CHILD_SPECS * | csp, |
int | src | ||
) |
int csp_make_insertable | ( | CHILD_SPECS * | csp | ) |
int csp_merge | ( | CHILD_SPECS * | dst, |
CHILD_SPECS * | src | ||
) |
void csp_release | ( | CHILD_SPECS * | csp | ) |
int cxinfo_append | ( | CX_INFO * | cxi, |
int | src, | ||
enum tr_classes | type | ||
) |
void cxinfo_dump | ( | const TR_INFO * | tri | ) |
CX_INFO * cxinfo_init | ( | void | ) |
int cxinfo_insert | ( | CX_INFO * | cxi, |
int | src, | ||
int | src_rt_idx, | ||
enum tr_classes | type | ||
) |
int cxinfo_make_insertable | ( | CX_INFO * | cxi | ) |
int cxinfo_merge | ( | CX_INFO * | cxi, |
int | dst, | ||
int | src, | ||
enum tr_classes | type | ||
) |
int cxinfo_trim | ( | CX_INFO * | cxi | ) |
int fsp_alts_insert | ( | FNT_SPECS * | fsp, |
uint32_t | fi_idx | ||
) |
int fsp_alts_make_insertable | ( | FNT_SPECS * | fsp | ) |
int fsp_alts_weight | ( | FNT_SPECS * | fsp, |
uint32_t | a_idx | ||
) |
void ftinfo_dump | ( | const FT_INFO * | fti | ) |
int ftinfo_find_loaded_by_spec | ( | const FT_INFO * | fti, |
const uint8_t * | fname | ||
) |
int ftinfo_find_loaded_by_src | ( | const FT_INFO * | fti, |
const uint8_t * | filename | ||
) |
FT_INFO * ftinfo_init | ( | void | ) |
int ftinfo_load_fontname | ( | FT_INFO * | fti, |
const char * | fontspec | ||
) |
int ftinfo_make_insertable | ( | FT_INFO * | fti | ) |
int is_mn_unicode | ( | int | test | ) |
TP_INFO * tpinfo_init | ( | void | ) |
int tpinfo_insert | ( | TP_INFO * | tpi, |
const TCHUNK_SPECS * | tsp | ||
) |
int tpinfo_make_insertable | ( | TP_INFO * | tpi | ) |
double TR_baseline | ( | TR_INFO * | tri, |
int | src, | ||
double * | AscMax, | ||
double * | DscMax | ||
) |
int TR_check_set_vadvance | ( | TR_INFO * | tri, |
int | src, | ||
int | lines | ||
) |
char * TR_construct_fontspec | ( | const TCHUNK_SPECS * | tsp, |
const char * | fontname | ||
) |
int TR_findcasesub | ( | const char * | string, |
const char * | sub | ||
) |
int TR_getadvance | ( | FT_INFO * | fti, |
FNT_SPECS * | fsp, | ||
uint32_t | wc, | ||
uint32_t | pc, | ||
int | load_flags, | ||
int | kern_mode, | ||
int * | ymin, | ||
int * | ymax | ||
) |
int TR_getkern2 | ( | FNT_SPECS * | fsp, |
uint32_t | wc, | ||
uint32_t | pc, | ||
int | kern_mode | ||
) |
int TR_kern_gap | ( | FNT_SPECS * | fsp, |
TCHUNK_SPECS * | tsp, | ||
TCHUNK_SPECS * | ptsp, | ||
int | kern_mode | ||
) |
void TR_layout_2_svg | ( | TR_INFO * | tri | ) |
int TR_layout_analyze | ( | TR_INFO * | tri | ) |
char * TR_reconstruct_fontspec | ( | const char * | fontspec, |
const char * | fontname | ||
) |
void TR_rt_pad_set | ( | RT_PAD * | rt_pad, |
double | up, | ||
double | down, | ||
double | left, | ||
double | right | ||
) |
int TR_weight_FC_to_SVG | ( | int | weight | ) |
int trinfo_append_out | ( | TR_INFO * | tri, |
const char * | src | ||
) |
int trinfo_check_bk | ( | TR_INFO * | tri, |
int | usebk, | ||
TRCOLORREF | bkcolor | ||
) |
Referenced by Inkscape::Extension::Internal::Emf::open(), and Inkscape::Extension::Internal::Wmf::open().
int trinfo_load_bk | ( | TR_INFO * | tri, |
int | usebk, | ||
TRCOLORREF | bkcolor | ||
) |
int trinfo_load_ft_opts | ( | TR_INFO * | tri, |
int | use_kern, | ||
int | load_flags, | ||
int | kern_mode | ||
) |
Referenced by Inkscape::Extension::Internal::Emf::open(), and Inkscape::Extension::Internal::Wmf::open().
int trinfo_load_qe | ( | TR_INFO * | tri, |
double | qe | ||
) |
int trinfo_load_textrec | ( | TR_INFO * | tri, |
const TCHUNK_SPECS * | tsp, | ||
double | escapement, | ||
int | flags | ||
) |
Referenced by Inkscape::Extension::Internal::Emf::open(), and Inkscape::Extension::Internal::Wmf::open().