diff options
author | Owen Taylor <otaylor@redhat.com> | 2005-04-07 18:30:23 +0000 |
---|---|---|
committer | Owen Taylor <otaylor@src.gnome.org> | 2005-04-07 18:30:23 +0000 |
commit | 545c18d269ec738dce4f30affb265440bec27574 (patch) | |
tree | 0d615e9aeba4c600c0c4e983378d5f4c61074b01 /pango/pangocairo-private.h | |
parent | 05c7e63fc205797a8c2b9fd52aee466ef9e2d6be (diff) | |
download | pango-545c18d269ec738dce4f30affb265440bec27574.tar.gz |
Update to new Cairo font API.
2005-04-07 Owen Taylor <otaylor@redhat.com>
* pango/pangocairo-fcfont.c pango/pangocairo-win32font.c
pango/pangocairo-render.c: Update to new Cairo font API.
* pangpopangowin32.h pango/pangowin32-private.h pango/pangowin32.c
pango/pangocairo-win32font.c modules/basic/basic-win32.c: Rename
get_scale_factor() to get_metrics_factor() to match Cairo
Diffstat (limited to 'pango/pangocairo-private.h')
-rw-r--r-- | pango/pangocairo-private.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/pango/pangocairo-private.h b/pango/pangocairo-private.h index b964d7f4..0c544bd8 100644 --- a/pango/pangocairo-private.h +++ b/pango/pangocairo-private.h @@ -56,12 +56,14 @@ struct _PangoCairoFontIface { GTypeInterface g_iface; - cairo_font_t *(*get_cairo_font) (PangoCairoFont *font); + void (*install) (PangoCairoFont *font, + cairo_t *cr); }; GType pango_cairo_font_get_type (void); -cairo_font_t *_pango_cairo_font_get_cairo_font (PangoCairoFont *font); +void _pango_cairo_font_install (PangoCairoFont *font, + cairo_t *cr); #define PANGO_TYPE_CAIRO_RENDERER (pango_cairo_renderer_get_type()) #define PANGO_CAIRO_RENDERER(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), PANGO_TYPE_CAIRO_RENDERER, PangoCairoRenderer)) |