Page 1 of 1

Draw Paths broken!

Posted: 2010-08-17T18:33:53-07:00
by anthony
The standard pie chart example does not fill in the first 'red' segment any more!

Code: Select all

  convert -size 140x130 xc:white -stroke black \
    -fill red   -draw "path 'M 60,70 L   60,20   A 50,50 0 0,1 68.7,20.8 Z'" \
    -fill green -draw "path 'M 60,70 L 68.7,20.8 A 50,50 0 0,1 77.1,23.0 Z'" \
    -fill blue  -draw "path 'M 68,65 L 85.1,18.0 A 50,50 0 0,1  118,65   Z'" \
    -fill gold  -draw "path 'M 60,70 L  110,70   A 50,50 0 1,1   60,20   Z'" \
    -fill black -stroke none  -pointsize 10 \
    -draw "text 57,19 '10' text 70,20 '10' text 90,19 '70' text 113,78 '270'"\
    piechart.jpg
The resulting image
Image

As you see both the read and green paths were not filled and only partially drawn.

A separate image was uploaded to drop box to separate it from the one in the example in IM examples, Draw Paths.

Re: Draw Paths broken!

Posted: 2010-08-17T18:54:32-07:00
by fmw42
Your image does not show up in your post above.

Re: Draw Paths broken!

Posted: 2010-08-17T20:26:07-07:00
by anthony
Should be now visible. I could see the image but it seems no one else could!

Re: Draw Paths broken!

Posted: 2010-08-17T20:45:14-07:00
by fmw42
It works fine for me on IM 6.6.3.7 Q16 (HDRI) Mac OSX Tiger. I can see the red and green sections!

Re: Draw Paths broken!

Posted: 2010-08-17T23:52:05-07:00
by anthony
After some trouble updating IM (due to an update of librsvg), yes the bug is already fixed.