The main question here is:
"What is the meaning of KoShape::absoluteTransformation()?"
It has two answers:
1) It is a transformation that applies *to control points of the shape only*
.
Pseudo code for painting in this case looks like that:
QPainterPath path = shape->absoluteTransformation(...
2015-01-18 6:39 GMT+01:00 Thorsten Zachmann :
> Hello Stefano,
> Seems the change of the transformation was done by Jan to help with fixing
> the
> bug https://bugs.kde.org/show_bug.cgi?id=280348. Do you have a patch for
> which
> I could run cstester to see if it would break anything.
Hello, i
Hello Stefano,
> Hello, we have a problem in Krita with drawing a polygon or a bezier curve
> (or basicly anything that uses KoPathShape) in a vector layer, then
> transform it so that the lines increase their thickness, then save the file
> in .kra format and then reload it: the thickness is not
On Saturday 17 January 2015 09:58:28 Stefano Bonicatti wrote:
> Hello, we have a problem in Krita with drawing a polygon or a bezier curve
> (or basicly anything that uses KoPathShape) in a vector layer, then
> transform it so that the lines increase their thickness, then save the file
> in .kra fo
Well, afaict, the vector shape is what loads svg in krita, and that uses Qt's
svg support. But if we save attributes into the odf with the koxmlns::svg
namespace, that means we're actually mixing in svg properties in the odf, and
we should load those properties when present.
On Saturday 17 Janu
2015-01-17 10:07 GMT+01:00 Boudewijn Rempt :
> One possibility that springs to mind is that the work on using svg inside
> flake actually never got properly finished. Jan started on it, did a ton of
> work, but then real life caught up and he had to stop working on the
> project. But if we save it
On Saturday 17 January 2015 Jan 09:58:28 Stefano Bonicatti wrote:
> Hello, we have a problem in Krita with drawing a polygon or a bezier curve
> (or basicly anything that uses KoPathShape) in a vector layer, then
> transform it so that the lines increase their thickness, then save the file
> in .kr
Hello, we have a problem in Krita with drawing a polygon or a bezier curve
(or basicly anything that uses KoPathShape) in a vector layer, then
transform it so that the lines increase their thickness, then save the file
in .kra format and then reload it: the thickness is not kept.
I've found that th