<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I stuck there. Does anyone have an idea what might go wrong?<br clear="all"></blockquote></div><br>Two ideas, not sure they may help though:<br><br>1) Does the resolution of the svg loads correctly to the image.{x,y}Res?<br>
<br>2) The QTransfrom::scale/translate methods sometimes may work a bit unexpectedly. Probably, you could try:<br><br>matrix = QTransform::fromScale(image->xRes(), image->yRes()) * QTransform::fromTranslate(shape->position().x(), shape->position().y());<br>
<br>or<br><br>matrix = QTransform::fromTranslate(shape->position().x(), shape->position().y()) * QTransform::fromScale(image->xRes(), image->yRes());<br><br>or <br><br>matrix = shape->absoluteTransformation(0)  * QTransform::fromScale(image->xRes(), image->yRes());<br>
<br><br>-- <br>Dmitry Kazakov