diff options
Diffstat (limited to 'gtk/gtkprintcontext.h')
-rw-r--r-- | gtk/gtkprintcontext.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gtk/gtkprintcontext.h b/gtk/gtkprintcontext.h index 0ce480087f..936cae4f40 100644 --- a/gtk/gtkprintcontext.h +++ b/gtk/gtkprintcontext.h @@ -51,6 +51,11 @@ PangoFontMap *gtk_print_context_get_pango_fontmap (GtkPrintContext *context); PangoContext *gtk_print_context_create_pango_context (GtkPrintContext *context); PangoLayout *gtk_print_context_create_pango_layout (GtkPrintContext *context); +/* Needed for preview implementations */ +void gtk_print_context_set_cairo_context (GtkPrintContext *context, + cairo_t *cr, + double dpi_x, + double dpi_y); G_END_DECLS |