James Garfield on  wrote...
| I'm trying to figure out how the "points" string passed to the 
| PerlMagick Draw() method affects the drawing of an ImageMagick arc:
| 
| $image->Draw(
|      stroke => 'black',
|      fill => 'white',
|      primitive => 'arc',
|      points => '150,100 100,50 1,1',
|      strokewidth => 2
|      );
| 
Sorry I gave the SVG path arc method, not the ellipse 'primitive'.  that
you are giving arguments for.  For that scroll up from the last
reference and look at Primative Draw Commands
http://www.cit.gu.edu.au/~anthony/graphics/imagick6/draw/#primatives

The last two numbers are the start and stop angles for the arc.
use  0,360  for a full ellipse.

The SVG path arc, does not have a start point, as that is provided by
the path arguments before it.  Also the LAST pair of arguments in any
such path element is the end point for that element (or start of the
next element).

The SVG path arc method is different and generally more versitle.

I suggest you look over the IM command line examples first, then
convert that to the PerlMagick, as it is probably a lot easier to figure
out doing it that way.


  Anthony Thyssen ( System Programmer )    <[EMAIL PROTECTED]>
 -----------------------------------------------------------------------------
  `` What is your ONE purpose in life? ''
  `` Why to explode of course! ''  replyed thermostellar bomb number 20
                                -- Classic SciFi Movie ``DarkStar'', 1974
 -----------------------------------------------------------------------------
     Anthony's Home is his Castle     http://www.cit.gu.edu.au/~anthony/
_______________________________________________
Magick-users mailing list
[email protected]
http://studio.imagemagick.org/mailman/listinfo/magick-users

Reply via email to