Mail Archives: djgpp/1997/02/04/11:54:35
hotpulp AT netidea DOT com writes:
>I was wondering: how would I go about drawing an ellipse that has its
>major and minor axis at an angle? If you're having trouble visuallizing
>that: picture an ellipse leaning against a wall, what algorithm would I
>use to draw that?
>Shawn Betts
Hi, I think if you use Bresenham's algorithm, or the midpoint algorithm (which
are similar), you should be able to do it. That can certainly draw straight
lines and circles.
Consult a graphics text book (e.g. Computer Graphics, Principles and Practice,
Foley and Van Damm).
Hope this is of some help,
Adrian Smith,
Undergraduate, Southampton University, England
ams94 AT ecs DOT soton DOT ac DOT uk
- Raw text -