
I remember that back at the split from sodipodi there was a menu item "apply transformation". This never really worked, but it would be great to have it because the librsvg can't really handle objects with gradients that have a transformation, so far. I'm not sure, how it would handle rotated rectangles, though, since these would become paths, if you'd actually apply the transformation this transformation. Maybe a dialog should be shown.
What is the status on this, and what do you guys think?

What is the status on this, and what do you guys think?
I think that we've spent an enormous amount of effort to make the gradients and their transforms work properly per SVG spec _and_ behave sanely when edited. This "and" is a big deal, it's very hard to have both at the same time. So the idea to break it all again in order to work around a broken renderer does not excite me. What about fixing librsvg instead?

On So, 2004-10-17 at 07:21 -0300, bulia byak wrote:
What is the status on this, and what do you guys think?
I think that we've spent an enormous amount of effort to make the gradients and their transforms work properly per SVG spec _and_ behave sanely when edited. This "and" is a big deal, it's very hard to have both at the same time. So the idea to break it all again in order to work around a broken renderer does not excite me. What about fixing librsvg instead?
wowowow nobody says you're supposed to break the way it works right now. and you're right, fixing librsvg is the better way to go, but you guys are just a lot faster in fixing stuff :D But look a it from another perspective: applying transformations will also decrease the size of the svg.

On Sun, 17 Oct 2004, David Christian Berg wrote:
Date: Sun, 17 Oct 2004 12:35:34 +0200 From: David Christian Berg <david@...407...> To: bulia byak <buliabyak@...400...> Cc: Inkscape ML inkscape-devel@lists.sourceforge.net Subject: Re: [Inkscape-devel] apply transformation
On So, 2004-10-17 at 07:21 -0300, bulia byak wrote:
What is the status on this, and what do you guys think?
I think that we've spent an enormous amount of effort to make the gradients and their transforms work properly per SVG spec _and_ behave sanely when edited. This "and" is a big deal, it's very hard to have both at the same time. So the idea to break it all again in order to work around a broken renderer does not excite me. What about fixing librsvg instead?
wowowow nobody says you're supposed to break the way it works right now. and you're right, fixing librsvg is the better way to go, but you guys are just a lot faster in fixing stuff :D But look a it from another perspective: applying transformations will also decrease the size of the svg.
This is a useful feature, but only for a minority of people. The trick will be provding it in a way that doesn't bother most ordinary users who wont need it.
While most people would want to have the orginal object + transforms there are times when you would want just an object with new coordinates.
When creating clipart I meticulously specified things by coordinates because I wanted the end results not all the matrix transformations in between.
I definately recall someone suggesting a workaround (possibly invovling groups) that allowed one to change things so that the transformations disappeared and you got the actual coordinates instead. Hopefully whomever it was will tell us again, I cannot seem to find a copy of the message although I thought I saved it.
I'd also recommend upgrading your copy of librsvg as it is a moving target and the problems you are having with it may already be fixed but are probably at least known to the developers.
Sincerely
Alan Horkan
http://advogato.org/person/AlanHorkan/ Inkscape, Draw Freely http://inkscape.org Free SVG Clip Art http://OpenClipArt.org

On Sun, 17 Oct 2004, bulia byak wrote:
Date: Sun, 17 Oct 2004 16:14:38 -0300 From: bulia byak <buliabyak@...400...> To: Alan Horkan <horkana@...44...> Cc: Inkscape ML inkscape-devel@lists.sourceforge.net Subject: Re: [Inkscape-devel] apply transformation
While most people would want to have the orginal object + transforms there are times when you would want just an object with new coordinates.
See my prev message on optimize mode and the impossibility to do this fully except to paths.
great,
'apply transforms' was not a good way to represent the idea to users
so long as we have the principle covered and users can achieve the end results we are sorted, the rest is just implementation details.
- Alan

I'd also recommend upgrading your copy of librsvg as it is a moving target and the problems you are having with it may already be fixed but are probably at least known to the developers.
I'm using debian and with libs I don't bother getting them myself. I'm waiting for releases. But since a new issue was introduced into librsvg with the last releases (it just crashes on some svgs, causing nautilus to crash) I'm not very optimistic. I filed a bug against the crash and wrote alex (larson) a mail about the other bug.
David

I definately recall someone suggesting a workaround (possibly invovling groups) that allowed one to change things so that the transformations disappeared and you got the actual coordinates instead. Hopefully whomever it was will tell us again, I cannot seem to find a copy of the message although I thought I saved it.
hello :
I spent the message : ......./......... one thing that would be cool for what we are doing, is to be able to apply the transformation of a group directly to the element of the groups (without the transform attribute on the group, directly to the coordinates of the path). (maybe it is allready possible to do that with preference ?)
the workaround we use is group, apply transformation, ungroup,selecte all ellement,and in the transform menu (Shift+ctrl+M) check relative and apply. ...///........

wowowow nobody says you're supposed to break the way it works right now. and you're right, fixing librsvg is the better way to go, but you guys are just a lot faster in fixing stuff :D But look a it from another perspective: applying transformations will also decrease the size of the svg.
The decrease is very small, and in any case we still have the optimize mode for transforms, which blends them into objects wherever possible automatically. This is not always possible, though; a rotated rect can only be rotated with a transform= attribute, unless you convert it to paths of course. So I don't see why we might need that "apply transforms" command.
participants (4)
-
Alan Horkan
-
bulia byak
-
David Christian Berg
-
herve couvelard