Mercurial > hg > aimc
comparison trunk/src/Modules/Output/Graphics/Devices/GraphicsOutputDeviceCairo.cc @ 402:69466da9745e
- Massive refactoring to make module tree stuff work. In theory we now support configuration files again. The graphics stuff is untested as yet.
author | tomwalters |
---|---|
date | Mon, 18 Oct 2010 04:42:28 +0000 |
parents | dd13c9834ceb |
children | 7af493eb1563 |
comparison
equal
deleted
inserted
replaced
401:b71ec2cbe55b | 402:69466da9745e |
---|---|
261 void GraphicsOutputDeviceCairo::gText3f(float x, | 261 void GraphicsOutputDeviceCairo::gText3f(float x, |
262 float y, | 262 float y, |
263 float z, | 263 float z, |
264 const char *sStr, | 264 const char *sStr, |
265 bool bRotated) { | 265 bool bRotated) { |
266 cairo_text_extents_t te; | 266 //cairo_text_extents_t te; |
267 if (bRotated) { | 267 if (bRotated) { |
268 cairo_rotate(m_cCr, M_PI/2); | 268 cairo_rotate(m_cCr, M_PI/2); |
269 cairo_move_to(m_cCr, x ,1-y); | 269 cairo_move_to(m_cCr, x ,1-y); |
270 cairo_show_text(m_cCr, sStr); | 270 cairo_show_text(m_cCr, sStr); |
271 //cairo_identity_matrix(m_cCr); | 271 //cairo_identity_matrix(m_cCr); |