summaryrefslogtreecommitdiff
path: root/test/text-rotate.c
diff options
context:
space:
mode:
authorCarl Worth <cworth@cworth.org>2005-05-06 13:32:53 +0000
committerCarl Worth <cworth@cworth.org>2005-05-06 13:32:53 +0000
commitd7fe527e0f48f23821b7283d8d003fd1f6a3f899 (patch)
treef6c328f6ff82dba87187bc6cfa265a4982c1ddce /test/text-rotate.c
parenta790a2ea79507cae9564006ac32e27a0fcca8d60 (diff)
Eliminate the following deprecated functions from cairo's interface:
cairo_copy cairo_get_path cairo_get_path_flat cairo_matrix_create cairo_matrix_destroy cairo_matrix_copy cairo_matrix_get_affine cairo_surface_set_repeat cairo_surface_set_matrix cairo_surface_get_matrix cairo_surface_set_filter cairo_surface_get_filter Also, eliminate all support for compiling against, or running with old, deprecated names for functions. Deal with all of the removals.
Diffstat (limited to 'test/text-rotate.c')
-rw-r--r--test/text-rotate.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/text-rotate.c b/test/text-rotate.c
index 95a60295..6301ad9f 100644
--- a/test/text-rotate.c
+++ b/test/text-rotate.c
@@ -78,9 +78,9 @@ draw (cairo_t *cr, int width, int height)
cairo_text_extents_t extents;
static char text[] = "cairo";
- cairo_select_font (cr, "Bitstream Vera Sans",
- CAIRO_FONT_SLANT_NORMAL,
- CAIRO_FONT_WEIGHT_NORMAL);
+ cairo_select_font_face (cr, "Bitstream Vera Sans",
+ CAIRO_FONT_SLANT_NORMAL,
+ CAIRO_FONT_WEIGHT_NORMAL);
cairo_set_font_size (cr, TEXT_SIZE);
cairo_set_source_rgb (cr, 0, 0, 0);