home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / programm / 3397 < prev    next >
Encoding:
Text File  |  1993-01-03  |  977 b   |  22 lines

  1. Newsgroups: comp.programming
  2. Path: sparky!uunet!think.com!spool.mu.edu!umn.edu!csus.edu!netcom.com!jhesse
  3. From: jhesse@netcom.com (John Hesse)
  4. Subject: Need Bresenham's algorithm for an ELLIPSE
  5. Message-ID: <1993Jan3.192956.886@netcom.com>
  6. Organization: Netcom - Online Communication Services (408 241-9760 guest)
  7. Date: Sun, 3 Jan 1993 19:29:56 GMT
  8. Lines: 12
  9.  
  10. We need a fast, pixel-based algorithm to generate an ELLIPSE. I have 
  11. Bresenham's algorithm for a circle ("Fundamemtals of Interactive Computer
  12. Graphics", Foley, p. 442). 
  13.  
  14. But I can't see a way to convert it to generate an ellipse. Is there
  15. any code or sources available for this? Thanks.
  16. -- 
  17. ----------------------------+---------------+-------------------------
  18. J Hesse                        |      END      |    California       
  19. jhesse@netcom.com           |    50 MPH     |     traffic
  20. Moss Beach, Calif           |  SPEED LIMIT  |       sign
  21. ----------------------------+---------------+-------------------------
  22.