home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.mac.programmer
- Path: sparky!uunet!elroy.jpl.nasa.gov!ames!agate!boulder!csn!qwerty-gw.fsl.noaa.gov!yoda.fsl.noaa.gov!urban
- From: urban@yoda.fsl.noaa.gov (Art Urban)
- Subject: QuickDraw: Why Can't it Mirror Right?
- Message-ID: <1993Jan5.191918.12324@fsl.noaa.gov>
- Sender: urban@fsl.noaa.gov
- Organization: Forecast Systems Lab, NOAA, Boulder CO, USA
- Date: Tue, 5 Jan 1993 19:19:18 GMT
- Lines: 22
-
- There is something wrong with either QuickDraw or me... :-)
-
- If I draw a line from 0,0 down and to the left, why won't QuickDraw mirror
- the line when I draw it down and to the *right*?
-
- I've examined the resulting bitmaps by taking screenshots and looking at
- them in Canvas. The choices that QuickDraw makes for pixel placement are
- different, yet the lines begin and end in mirrored coordinates. No matter
- what I do, I cannot coerce QuickDraw to create a mirrored (pixel for pixel)
- line angle. I need this for a bisymetrical region I'm making, so I can't
- just flip around some CopyBits operation (I presume).
-
- 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 :-) )
-
- --
- Art Urban urban@yoda.fsl.noaa.gov
- ===============================================================================
- "Look, he's being attacked by creamy nugget centers." -Joel
- ===============================================================================
-