00001 00019 #ifndef LIBPAPS_H 00020 #define LIBPAPS_H 00021 00022 #include <glib.h> 00023 #include <pango/pango.h> 00024 00025 typedef void paps_t; 00026 00033 paps_t *paps_new(); 00034 00041 void paps_free(paps_t *paps); 00042 00050 PangoContext *paps_get_pango_context(); 00051 00063 gchar *paps_get_postscript_header_strdup(paps_t *paps); 00064 00078 gchar *paps_layout_to_postscript_strdup(paps_t *paps, 00079 double pos_x, 00080 double pos_y, 00081 PangoLayout *layout); 00095 gchar *paps_layout_line_to_postscript_strdup(paps_t *paps_, 00096 double pos_x, 00097 double pos_y, 00098 PangoLayoutLine *layout_line); 00099 00108 int paps_postscript_points_to_pango(double points); 00109 00110 #endif /* LIBPAPS */