libpaps.h

Go to the documentation of this file.
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 
00051 void
00052 paps_set_scale(paps_t  *paps,
00053                gdouble  scale_x,
00054                gdouble  scale_y);
00055 
00063 PangoContext *paps_get_pango_context();
00064 
00076 gchar *paps_get_postscript_header_strdup(paps_t *paps);
00077 
00091 gchar *paps_layout_to_postscript_strdup(paps_t *paps,
00092                                         double pos_x,
00093                                         double pos_y,
00094                                         PangoLayout *layout);
00108 gchar *paps_layout_line_to_postscript_strdup(paps_t *paps_,
00109                                              double pos_x,
00110                                              double pos_y,
00111                                              PangoLayoutLine *layout_line);
00112 
00121 double paps_postscript_points_to_pango(double points);
00122 
00123 #endif /* LIBPAPS */

Generated on Tue Nov 28 22:56:51 2006 for libpaps by  doxygen 1.5.1