Remove last usage of cairomm. Fixes a85ce71
.
This commit is contained in:
parent
3acbda57b9
commit
aaaedcde70
2 changed files with 1 additions and 2 deletions
|
@ -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
|
||||||
|
|
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue