stroke-linejoin and arc/ellipse draw failure

Post any defects you find in the released or beta versions of the ImageMagick software here. Include the ImageMagick version, OS, and any command-line required to reproduce the problem. Got a patch for a bug? Post it here.
Post Reply
User avatar
anthony
Posts: 8883
Joined: 2004-05-31T19:27:03-07:00
Authentication code: 8675308
Location: Brisbane, Australia

stroke-linejoin and arc/ellipse draw failure

Post by anthony »

There appears to be a bug in 'arc' in that it is drawing the 'straight chord' if you enable
stroke-linejoin round
If stroke-linejoin is not given the ellipse correctly does not draw the enclosing chord

The same thing is happening for 'ellipse'

Example

Code: Select all

 convert -size 150x150 xc:none -fill none -stroke white -strokewidth 5 \
             -draw "stroke-linejoin round arc 10,10 130,130 60,150" \
             show:
or

Code: Select all

 convert -size 150x150 xc:none -fill none -stroke white -strokewidth 5 \
             -draw "stroke-linejoin round ellipse 70,70 60,60 60,150" \
             show:
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
Post Reply