<br><br><div class="gmail_quote">2008/6/5 Holger Berndt &lt;<a href="mailto:berndth@gmx.de">berndth@gmx.de</a>&gt;:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="Ih2E3d">On Do, 05.06.2008 15:27, Simon Budig wrote:<br>
<br>
&gt;No, You can change the transformation between the path-creating commands<br>
&gt;and the cairo_stroke().<br>
<br>
</div>Thanks a lot, Dirk and Simon. Having different scalings during path<br>
creation and stroking of course does the trick. Awesome!</blockquote><div><br>Of course, a far simpler solution is to do the coordinate transformations completely outside of cairo contexts.&nbsp; When I used cairo for plotting in the past, what I did was create my own coordinate transformation matrix, to which you can apply scaling and translation as usual, and simply apply this transformation matrix to every coordinate before passing it down to cairo proper.&nbsp; It may be a bit more typing, but it is also far more understandable in the end.<br>
&nbsp;</div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>
<font color="#888888"><br>
Holger<br>
</font><div><div></div><div class="Wj3C7c">_______________________________________________<br>
cairo mailing list<br>
<a href="mailto:cairo@cairographics.org">cairo@cairographics.org</a><br>
<a href="http://lists.cairographics.org/mailman/listinfo/cairo" target="_blank">http://lists.cairographics.org/mailman/listinfo/cairo</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Gustavo J. A. M. Carneiro<br>INESC Porto, Telecommunications and Multimedia Unit<br>&quot;The universe is always one step beyond logic.&quot; -- Frank Herbert