diff options
author | Owen Taylor <otaylor@redhat.com> | 2005-04-07 13:29:32 +0000 |
---|---|---|
committer | Owen Taylor <otaylor@redhat.com> | 2005-04-07 13:29:32 +0000 |
commit | ac6f15e2450e4e08d833355e626df0358d81c2ec (patch) | |
tree | 60139fcd0fc144d11a34223cf0734460faf60cf0 /test/coverage.c | |
parent | 62212867d4228d5834ea16858a8569765977bdd9 (diff) | |
download | cairo-ac6f15e2450e4e08d833355e626df0358d81c2ec.tar.gz |
src/cairo.[ch] src/cairoint.h src/cairo-gstate.c docs/public/cairo-sections.txt: cairo_select_font() => cairo_select_font_face() cairo_scale_font() => cairo_set_font_size() cairo_transform_font() => cairo_set_font_matrix() Add cairo_get_font_matrix(). Make cairo_set_font_face() not reset the font matrix. Default the font matrix to SCALE(10). Document cairo_select_font_face().
test/text-cache-crash.c (draw) test/text-rotate.c (draw): Use cairo_set_font_size().
src/cairo-font.c src/cairo.h: Fix up some parameter names for docs.
Diffstat (limited to 'test/coverage.c')
-rw-r--r-- | test/coverage.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/coverage.c b/test/coverage.c index 1928e221e..b60f5f5a7 100644 --- a/test/coverage.c +++ b/test/coverage.c @@ -140,7 +140,7 @@ draw (cairo_t *cr, int width, int height) cairo_select_font (cr, fontname, CAIRO_FONT_SLANT_NORMAL, CAIRO_FONT_WEIGHT_BOLD); - cairo_scale_font (cr, fontsize); + cairo_set_font_size (cr, fontsize); for (j = 0; j < ARRAY_SIZE (draw_funcs); j++) { for (i = 0; i < ARRAY_SIZE (pattern_funcs); i++) { |