Remove last usage of cairomm. Fixes a85ce71.

This commit is contained in:
Hermann Kraus 2013-03-17 02:40:59 +01:00
parent 3acbda57b9
commit aaaedcde70
2 changed files with 1 additions and 2 deletions

View file

@ -42,7 +42,6 @@
// cairo // cairo
#include <cairo.h> #include <cairo.h>
#include <cairo-ft.h> #include <cairo-ft.h>
#include <cairomm/cairomm.h>
// stl // stl
#include <valarray> #include <valarray>
// agg // agg

View file

@ -416,7 +416,7 @@ void cairo_context::add_text(glyph_positions_ptr pos,
double text_size = glyph.format->text_size * scale_factor; double text_size = glyph.format->text_size * scale_factor;
glyph.face->set_character_sizes(text_size); glyph.face->set_character_sizes(text_size);
Cairo::Matrix matrix; cairo_matrix_t matrix;
matrix.xx = text_size * itr->rot.cos; matrix.xx = text_size * itr->rot.cos;
matrix.xy = text_size * itr->rot.sin; matrix.xy = text_size * itr->rot.sin;
matrix.yx = text_size * -itr->rot.sin; matrix.yx = text_size * -itr->rot.sin;