On January 2, 2004 05:22 pm, Dan Muey wrote:
> Hello List,
>
> I've made a funtion to calculate the Fresnal zone for wireless connections.
>
> What I'd like to do is generate an image based on that. Something like the
> example at: http://ydi.com/calculation/fresnel-zone.php
>
> However the two connected points are rarely going to be at the same level
> so I'd need to draw the elipse At an angle instead of horizontally.
>
> GD's elipse or arc function will probably do what I want but it seems all I
> can specify are the center point and width and height.
>
> Is there a way to also specify the x/y of each point on the left and right
> side of the elipse? Make sense?

Must the image be entirely made within GD?  You can easily create a rotated
ellipse via xfig.  That is, you can use your perl script to make the .fig
file and then cconvert the fig file to other graphics formats.  It's jumping
through hoops, but it should be straightforward.  All you need to
make the .fig file is (i) coordinates of the ellipse center, (ii)
major/minor radii, and (iii) angle of rotation.

> TIA
>
> Dan

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to