<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">2015-01-18 6:39 GMT+01:00 Thorsten Zachmann <span dir="ltr"><<a href="mailto:t.zachmann@zagge.de" target="_blank">t.zachmann@zagge.de</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello Stefano,<span><br>
</span>Seems the change of the transformation was done by Jan to help with fixing the<br>
bug <a href="https://bugs.kde.org/show_bug.cgi?id=280348" target="_blank">https://bugs.kde.org/show_bug.cgi?id=280348</a>. Do you have a patch for which<br>
I could run cstester to see if it would break anything.</blockquote><div><br></div><div>Hello, i spoke with Camilla about the issue, the "proposed" patch in this mail is not ok because due to that bug the transformation doesn't have to be applied to everything, but only to part of the shape, as it is already done.</div><div><br></div><div>I did some testing with other shapes in Krita and Inkscape/LibreOffice (even though i couldn't import their .odg because Krita has problems with them), and clearly the problem presents itself only with path shapes, because with the other shapes the matrix is used to transform the entire shape.</div><div>So either Krita follows how other vector editors works, and then it doesn't permit a layer transformation unless it "rasterize" it as an image, or Krita has to subclass KoPathShape to change its behaviour.</div><div><br></div><div>In both cases KoPathShape has to enforce that when setting a matrix the control points has to be mapped to it, as it happens when handling the shape with the correct tools.</div><div>This is because as far as i can tell Calligra want to be faithful to how the other vector editors work (and correctly load their shapes) and the special use is done "only" by Krita.</div><div><br></div></div></div></div>