Hi Jabier,
On Mon, 17 Jun 2013 12:12:03 +0200 Jabiertxo Arraiza Cenoz <jabier.arraiza@...2893...> wrote:
I know you dont want my help, but i made a exception if i am brong.
Actually, I do want your help - it's just that I find you hard to understand.
X1 and Y1 seems to be the position of the start of the gradient X2 and Y2 seems to be the position of the end of the gradient
OK, understood.
You can programaticaly this knowing the values of the bounding box of the object.
Thanks! I'll try.
It can be done -bounding-box- by diferent ways depending the kind of object.
Thanks.
Sorry for merge politic whith code but is a important thread to me.
Best regards, Jabier.
Regards,
Shlomi Fish
El lun, 17-06-2013 a las 12:32 +0300, Shlomi Fish escribió:
Hi all,
On Wed, 12 Jun 2013 17:29:30 +0300 Shlomi Fish <shlomif@...2985...> wrote:
Hi Jabier,
On Wed, 12 Jun 2013 15:58:53 +0200 Jabiertxo Arraiza Cenoz <jabier.arraiza@...2893...> wrote:
Sorry for my english. An EXAMPLE: Good: https://www.box.com/s/s19bxgo4y8uh81ru0kdw Bad: https://www.box.com/s/1ke3iqj7yb1ir9e6svid
OK, I was able to download these SVGs after I enabled JavaScript, but next time please either send them as attachments, or alternatively use a honest-to-God web-service, such as http://www.shlomifish.org/Files/files/ . Now, I see that the diff is:
< QUOTE >
back-to-my-homepage--path-union--with-less-vertical-space_original.svg 2013-06-12 17:18:17.944370810 +0300 +++ back-to-my-homepage--path-union--with-less-vertical-spaceOK.svg 2013-06-12 17:17:55.501581299 +0300 @@ -15,7 +15,7 @@ id="svg2" version="1.1" inkscape:version="0.48+devel r12070"
sodipodi:docname="back-to-my-homepage--path-union--with-less-vertical-spaceOK.svg">
sodipodi:docname="back-to-my-homepage--path-union--with-less-vertical-spaceOK2.svg"> <sodipodi:namedview id="base" pagecolor="#ffffff" @@ -23,9 +23,9 @@ borderopacity="1.0" inkscape:pageopacity="0.0" inkscape:pageshadow="2"
inkscape:zoom="0.5569102205105"
inkscape:cx="302.9493552351"
inkscape:cy="510.5301910027"
inkscape:zoom="0.5792952300164"
inkscape:cx="310.2014040163"
inkscape:cy="191.2771110556" inkscape:document-units="px" inkscape:current-layer="layer1" showgrid="true"
@@ -78,8 +78,13 @@ </linearGradient> <linearGradient xlink:href="#bk2hp_grad"
gradientTransform="rotate(90)"
id="bk2hp_grad_rot" />
gradientTransform="scale(1.453398814935,0.6880423939556)"
id="bk2hp_grad_rot"
x1="342.5840528861"
y1="-0.991741650398"
x2="342.533782959"
y2="280.4592895508"
gradientUnits="userSpaceOnUse" />
</defs> <metadata id="metadata7">
</QUOTE>
What is the significance of the x1/y1/x2/y2 coordinates? Why wasn't the rot() preserved upon movement? Can anyone answer except for Jabier? Please?
Can someone *please* answer this question? I've waited far too long. What is the significance of the x1/y1/x2/y2 coordinates? How do I calculate them programatically? How do I create a rotated linearGradient whose angle will stick? Someone? Anyone?
Regards,
Shlomi Fish