That makes sense, but it's still not giving me the behavior I'm
expecting...here are some examples:
http://test.fenderrhodes.org/arc.php
The 5th & 6th numbers seem to determine the relative size & skew of the
arc compared to a circle (setting one of the values to 0 or leaving the
6th number out altogether gives you a straight line). I also tried
adding 7th & 8th numbers thinking they might be flags similar to the
command-line syntax, or that maybe the angle values belong in that
position...but apparently they turn the arc into a polygon!
Timothy Hunter wrote:
If PerlMagick is anything like RMagick (and I have no reason to believe
it isn't), then the first two pairs of numbers are the coordinates of a
rectangle that bounds the arc. The 5th number is the angle in degrees
where the arc should start (0 degrees is at 3 o'clock) and the 6th
number is the angle in degrees where the arc should end. Here's an
example for the arc defined by (40, 50, 250,180, 0,270).
Hope this helps!
On Feb 22, 2006, at 10:40 AM, James Garfield 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
);
So far all I've got is that the first two pairs are the start & end
coordinates. What are the other values that are supposed to follow,
i.e. to shape & scale the arc?
_______________________________________________
Magick-users mailing list
[email protected]
http://studio.imagemagick.org/mailman/listinfo/magick-users
_______________________________________________
Magick-users mailing list
[email protected]
http://studio.imagemagick.org/mailman/listinfo/magick-users