summaryrefslogtreecommitdiff
path: root/pango/pangocairo.h
diff options
context:
space:
mode:
Diffstat (limited to 'pango/pangocairo.h')
-rw-r--r--pango/pangocairo.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/pango/pangocairo.h b/pango/pangocairo.h
index fe97db3b..d8085112 100644
--- a/pango/pangocairo.h
+++ b/pango/pangocairo.h
@@ -44,6 +44,11 @@ G_BEGIN_DECLS
typedef struct _PangoCairoFontMap PangoCairoFontMap;
+typedef void (* PangoCairoShapeRendererFunc) (cairo_t *cr,
+ PangoAttrShape *attr,
+ gboolean do_path,
+ gpointer data);
+
/*
* PangoCairoFontMap
*/
@@ -70,6 +75,13 @@ void pango_cairo_context_set_resolution (PangoContext *c
double dpi);
double pango_cairo_context_get_resolution (PangoContext *context);
+void pango_cairo_context_set_shape_renderer (PangoContext *context,
+ PangoCairoShapeRendererFunc func,
+ gpointer data,
+ GDestroyNotify dnotify);
+PangoCairoShapeRendererFunc pango_cairo_context_get_shape_renderer (PangoContext *context,
+ gpointer *data);
+
/* Convenience
*/
PangoLayout *pango_cairo_create_layout (cairo_t *cr);