Re: Double 'shapes' in shape files



Thanks again, Andrey!

So those were just coded that way because they were automatically generated. It's nice to know that if I don't use the method, my objects will still come out ok.

   -- dunn

On 07/27/2014 01:43 AM, Andrey Repin wrote:
Greetings, dunn!

If this is more of an svg question and not something particular to Dia,
just let me know please!
All through the sample files, the shapes have xml like this, with two
calls to ellipses, rectangles, circles:
<svg:svg>
    <svg:ellipse style="fill: default" cx="5" cy="5" rx="7" ry="7"/>
    <svg:ellipse style="fill: none; fill-opacity:0; stroke-width: 0.1;
stroke: #000000" cx="5" cy="5" rx="7" ry="7"/>
</svg:svg>
...but I get the same effect with just one call and a thicker
stroke-width like this:
<svg:svg>
    <svg:ellipse style="fill: default; stroke-width:1" cx="5" cy="5"
rx="7" ry="7"/>
</svg>
I really don't even see how the sample files get a thick line from this,
since stroke-width:0.1 gives a hairline and the radii are the same in
both the calls.
Is there a reason to make shapes the first way as opposed to the second?
This is a deficiency of Dia's shape exporter.
I'm either make shapes by hands (if shape is simple enough, or if I need
precise results), or proof-read and cleanup the shape after export (if shape
is a complex/compound object).


--
WBR,
Andrey Repin (anrdaemon freemail ru) 27.07.2014, <12:41>

Sorry for my terrible english...

_______________________________________________
dia-list mailing list
dia-list gnome org
https://mail.gnome.org/mailman/listinfo/dia-list
FAQ at http://live.gnome.org/Dia/Faq
Main page at http://live.gnome.org/Dia






[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]