I'm trying to draw a circle with a red indicator (line) that represents wind direction. I can draw a circle, but what I can't figure out is how to draw the indicator. The data I get reports the direction in degrees. For example, right now our wind direction is 320 (degrees), or in text format it reports it as Northwest.

How can I translate that 320 degrees and have it draw a red line starting in the middle of the circle to it's edge?

--
W | It's not a bug - it's an undocumented feature.
 +--------------------------------------------------------------------
 Ashley M. Kirchner <mailto:[EMAIL PROTECTED]>   .   303.442.6410 x130
 IT Director / SysAdmin / Websmith             .     800.441.3873 x130
 Photo Craft Laboratories, Inc.            .     3550 Arapahoe Ave. #6
 http://www.pcraft.com ..... .  .    .       Boulder, CO 80303, U.S.A.


_______________________________________________
Magick-users mailing list
[email protected]
http://studio.imagemagick.org/mailman/listinfo/magick-users

Reply via email to