/[public]/psiconv/trunk/lib/psiconv/data.h
ViewVC logotype

Diff of /psiconv/trunk/lib/psiconv/data.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 76 Revision 90
90 psiconv_border_dashed, 90 psiconv_border_dashed,
91 psiconv_border_dotdashed, 91 psiconv_border_dotdashed,
92 psiconv_border_dotdotdashed 92 psiconv_border_dotdotdashed
93} psiconv_border_kind_t; 93} psiconv_border_kind_t;
94 94
95typedef enum psiconv_screenfont
96{
97 psiconv_font_misc,
98 psiconv_font_sansserif,
99 psiconv_font_nonprop,
100 psiconv_font_serif
101} psiconv_screenfont_t;
102
95/* Colors. 103/* Colors.
96 black: 0x00 0x00 0x00 104 black: 0x00 0x00 0x00
97 white: 0xff 0xff 0xff */ 105 white: 0xff 0xff 0xff */
98typedef struct psiconv_color_s 106typedef struct psiconv_color_s
99{ 107{
103} * psiconv_color; 111} * psiconv_color;
104 112
105typedef struct psiconv_font_s 113typedef struct psiconv_font_s
106{ 114{
107 char *name; 115 char *name;
108 psiconv_u8 screenfont; 116 psiconv_screenfont_t screenfont;
109} *psiconv_font; 117} *psiconv_font;
110 118
111typedef struct psiconv_border_s 119typedef struct psiconv_border_s
112{ 120{
113 psiconv_border_kind_t kind; 121 psiconv_border_kind_t kind;
489extern void psiconv_free_sketch_f(psiconv_sketch_f file); 497extern void psiconv_free_sketch_f(psiconv_sketch_f file);
490extern void psiconv_free_clipart_section(psiconv_clipart_section section); 498extern void psiconv_free_clipart_section(psiconv_clipart_section section);
491extern void psiconv_free_cliparts(psiconv_cliparts section); 499extern void psiconv_free_cliparts(psiconv_cliparts section);
492extern void psiconv_free_clipart_f(psiconv_clipart_f file); 500extern void psiconv_free_clipart_f(psiconv_clipart_f file);
493 501
494
495extern void psiconv_free_file(psiconv_file file); 502extern void psiconv_free_file(psiconv_file file);
503
504extern int psiconv_compare_color(const psiconv_color value1,
505 const psiconv_color value2);
506extern int psiconv_compare_font(const psiconv_font value1,
507 const psiconv_font value2);
508extern int psiconv_compare_border(const psiconv_border value1,
509 const psiconv_border value2);
510extern int psiconv_compare_bullet(const psiconv_bullet value1,
511 const psiconv_bullet value2);
512extern int psiconv_compare_tab(const psiconv_tab value1,
513 const psiconv_tab value2);
514extern int psiconv_compare_all_tabs(const psiconv_all_tabs value1,
515 const psiconv_all_tabs value2);
516extern int psiconv_compare_paragraph_layout
517 (const psiconv_paragraph_layout value1,
518 const psiconv_paragraph_layout value2);
519
520extern int psiconv_compare_character_layout
521 (const psiconv_character_layout value1,
522 const psiconv_character_layout value2);
523
524/* Get a newly allocated file with sensible defaults, ready to generate. */
525extern psiconv_file psiconv_empty_file(psiconv_file_type_t type);
526
496 527
497#ifdef __cplusplus 528#ifdef __cplusplus
498} 529}
499#endif /* __cplusplus */ 530#endif /* __cplusplus */
500 531

Legend:
Removed from v.76  
changed lines
  Added in v.90

frodo@frodo.looijaard.name
ViewVC Help
Powered by ViewVC 1.1.26