summaryrefslogtreecommitdiff
path: root/pango/pango-context.h
diff options
context:
space:
mode:
authorOwen Taylor <otaylor@redhat.com>2000-02-25 20:06:45 +0000
committerOwen Taylor <otaylor@src.gnome.org>2000-02-25 20:06:45 +0000
commitabacca30f29df84d9818cd1395449eff0e4ee171 (patch)
tree4541c04064b0b00416a76d7408d777f6b47b4963 /pango/pango-context.h
parent3c1ef3b659b2ffdb9613c8d2d330b64dc1fd0963 (diff)
downloadpango-abacca30f29df84d9818cd1395449eff0e4ee171.tar.gz
Add size to the font description structure instead of continually passing
Fri Feb 25 15:04:21 2000 Owen Taylor <otaylor@redhat.com> * libpango/{fonts.c,pango-font.h,pango-context.[ch],pangox.c, pango-attributes.c,examples/viewer.c: Add size to the font description structure instead of continually passing it around as an extra argument. * libpango/pangox.c: Take screen resolution into account when choosing fonts, instead of assumming point == pixel.
Diffstat (limited to 'pango/pango-context.h')
-rw-r--r--pango/pango-context.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/pango/pango-context.h b/pango/pango-context.h
index bc8badf9..8aa0d0bf 100644
--- a/pango/pango-context.h
+++ b/pango/pango-context.h
@@ -47,8 +47,7 @@ void pango_context_list_families (PangoContext *context
gchar ***families,
int *n_families);
PangoFont * pango_context_load_font (PangoContext *context,
- const PangoFontDescription *desc,
- gdouble size);
+ const PangoFontDescription *desc);
void pango_context_set_font_description (PangoContext *context,
const PangoFontDescription *desc);
@@ -56,9 +55,6 @@ PangoFontDescription *pango_context_get_font_description (PangoContext
char * pango_context_get_lang (PangoContext *context);
void pango_context_set_lang (PangoContext *context,
const char *lang);
-int pango_context_get_size (PangoContext *context);
-void pango_context_set_size (PangoContext *context,
- int size);
void pango_context_set_base_dir (PangoContext *context,
PangoDirection direction);
PangoDirection pango_context_get_base_dir (PangoContext *context);