home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.mac.programmer
- Path: sparky!uunet!mcsun!news.funet.fi!funic!nntp.hut.fi!vipunen.hut.fi!jmunkki
- From: jmunkki@vipunen.hut.fi (Juri Munkki)
- Subject: Re: QuickDraw: Why Can't it Mirror Right?
- Message-ID: <1993Jan5.215948.229@nntp.hut.fi>
- Sender: usenet@nntp.hut.fi (Usenet pseudouser id)
- Nntp-Posting-Host: vipunen.hut.fi
- Reply-To: jmunkki@vipunen.hut.fi (Juri Munkki)
- Organization: Helsinki University of Technology
- References: <1993Jan5.191918.12324@fsl.noaa.gov>
- Date: Tue, 5 Jan 1993 21:59:48 GMT
- Lines: 20
-
- In article <1993Jan5.191918.12324@fsl.noaa.gov> urban@yoda.fsl.noaa.gov (Art Urban) writes:
- >I realize that mathematically my region will be defined correctly, but I
- >want it to be drawn with some semblance of accuracy on the screen when I
- >call FrameRgn(). If QuickDraw can do it correctly to the left, why can't it
- >do it correctly to the right? (or vise-versa :-) )
-
- Inside Macintosh often gives the impression that regions are infinitely
- accurate when it says that regions are a mathematical representation of
- areas. In fact, a region is really just a packed bitmap. The packing
- method happens to be patented by Apple, but it's not fancy or anything.
-
- So, if QD draws a line "incorrectly", then the pixels in the region will
- also be incorrect in the same way.
-
- I suggest that you try using a bitmap mask that you draw with polygons.
- It may be faster than using regions, although this depends on the situation.
-
- --
- Juri Munkki Windsurf: fast sailing
- jmunkki@hut.fi Macintosh: fast software
-