[Fwd: Re: How to remove several bugs in inkscape.]
bulia byak wrote:
On 10/10/06, Popolon <popolon@...1497...> wrote:
the object created (linked offset, or in some case a text to path,...) didn't follow the original object position. But keep the position of the object at the moment of setting of the mask/clip-path
I don't think I follow. Can you please give step-by-step instructions for reproducing this?
* make an object * apply a mask or clip-path * move that object * create a linked offset => he don't follow original object at all.
The same way :
* make an object * create a linked offset * rotate it => The offset go to wrong position without rotation.
Tried to modify this function used at the creation of the linked object : sp_selected_path_create_offset_object() in src/splivarot.cpp
This isn't enough. I believe the most important is to have the matrix of the transform attribute copied by string at each update, the applied.
I seen this kind of bug for mask/clip path postion with object too : on text on path for example.
That's because when a mask/clip-path is set on an object, when the object move, the object coordinates are not longer modified, but a translation matrix is applied.
Yes, and it should work the same regardless. If some code only looks at "object coordinates" and ignores the transform matrix, this code is broken and must be fixed. SVG uses transforms everywhere.
Lot of objects don't manage them correctly in fact, I written a mail on the list about some of them.
participants (1)
-
Olivier Gondouin