home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / sys / mac / programm / 19808 < prev    next >
Encoding:
Internet Message Format  |  1992-12-14  |  1.5 KB

  1. Path: sparky!uunet!zaphod.mps.ohio-state.edu!darwin.sura.net!spool.mu.edu!olivea!isc-br!tau-ceti!jimc
  2. From: jimc@tau-ceti.isc-br.com (Jim Cathey)
  3. Newsgroups: comp.sys.mac.programmer
  4. Subject: Re: 3D Graphics
  5. Message-ID: <2901@tau-ceti.isc-br.com>
  6. Date: 14 Dec 92 20:16:36 GMT
  7. References: <723298789.AA00239@insane.apana.org.au> <830021@hplvec.LVLD.HP.COM>
  8. Organization: ISC - Bunker Ramo, Spokane, WA
  9. Lines: 23
  10.  
  11. In article <830021@hplvec.LVLD.HP.COM> bayes@hplvec.LVLD.HP.COM (Scott Bayes) writes:
  12. >This has always annoyed me.  Bresenham's algorithm, which handles this
  13. >very well--optimally, one might say--has been around _forever_.  Why
  14. >does Apple choose to draw lines with "hooks" on the ends?
  15.  
  16. Well, QD lines have to do a few other things like be convertable to a
  17. region, and handle fat pens.  Perhaps it has something to do with this?
  18. I once did a line drawer similar to QD's, in that it had to handle both
  19. additional operations.  I started with Bresenham's, but I had to do some
  20. post-processing to convert the raw output into something that would work
  21. for this.
  22.  
  23. -- 
  24. +----------------+
  25. ! II      CCCCCC !  Jim Cathey
  26. ! II  SSSSCC     !  ISC-Bunker Ramo
  27. ! II      CC     !  TAF-C8;  Spokane, WA  99220
  28. ! IISSSS  CC     !  UUCP: uunet!isc-br!jimc (jimc@isc-br.isc-br.com)
  29. ! II      CCCCCC !  (509) 927-5757
  30. +----------------+
  31.             One Design to rule them all; one Design to find them.
  32.             One Design to bring them all and in the darkness bind
  33.             them.  In the land of Mediocrity where the PC's lie.
  34.