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