home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / sys / mac / programm / 20716 < prev    next >
Encoding:
Text File  |  1993-01-05  |  1.5 KB  |  33 lines

  1. Newsgroups: comp.sys.mac.programmer
  2. Path: sparky!uunet!elroy.jpl.nasa.gov!ames!agate!boulder!csn!qwerty-gw.fsl.noaa.gov!yoda.fsl.noaa.gov!urban
  3. From: urban@yoda.fsl.noaa.gov (Art Urban)
  4. Subject: QuickDraw: Why Can't it Mirror Right?
  5. Message-ID: <1993Jan5.191918.12324@fsl.noaa.gov>
  6. Sender: urban@fsl.noaa.gov 
  7. Organization: Forecast Systems Lab, NOAA, Boulder CO, USA
  8. Date: Tue, 5 Jan 1993 19:19:18 GMT
  9. Lines: 22
  10.  
  11. There is something wrong with either QuickDraw or me... :-)
  12.  
  13. If I draw a line from 0,0 down and to the left, why won't QuickDraw mirror
  14. the line when I draw it down and to the *right*?
  15.  
  16. I've examined the resulting bitmaps by taking screenshots and looking at
  17. them in Canvas. The choices that QuickDraw makes for pixel placement are
  18. different, yet the lines begin and end in mirrored coordinates. No matter
  19. what I do, I cannot coerce QuickDraw to create a mirrored (pixel for pixel)
  20. line angle. I need this for a bisymetrical region I'm making, so I can't 
  21. just flip around some CopyBits operation (I presume).
  22.  
  23. I realize that mathematically my region will be defined correctly, but I
  24. want it to be drawn with some semblance of accuracy on the screen when I
  25. call FrameRgn(). If QuickDraw can do it correctly to the left, why can't it
  26. do it correctly to the right? (or vise-versa :-) )
  27.  
  28. -- 
  29. Art Urban                             urban@yoda.fsl.noaa.gov
  30. ===============================================================================
  31.  "Look, he's being attacked by creamy nugget centers."              -Joel
  32. ===============================================================================
  33.