home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / sys / mac / programm / 12944 < prev    next >
Encoding:
Internet Message Format  |  1992-07-23  |  837 b 

  1. Path: sparky!uunet!sun-barr!cs.utexas.edu!uwm.edu!ogicse!reed!nobody
  2. From: lust@reed.edu!lust.reed.edu!pcalahan (Patrick John Calahan)
  3. Newsgroups: comp.sys.mac.programmer
  4. Subject: CopyMask vs. ClipRgns
  5. Message-ID: <m0mB91U-00000fC@lust.reed.edu>
  6. Date: 23 Jul 92 19:40:35 GMT
  7. Article-I.D.: lust.m0mB91U-00000fC
  8. Sender: pcalahan@reed.edu (Patrick John Calahan)
  9. Organization: Reed College, Portland, OR
  10. Lines: 8
  11.  
  12. Which is faster, CopyMask or CopyBits with a clipping region?
  13.  
  14. Essentially, I have a game in which objects move around a playfield,  
  15. moving behind some objects in the foreground.  Currently the foreground  
  16. objects are clipped with rectangles and the game pieces are animated with  
  17. copybits. Would it be faster to define a large
  18. bitmap mask of all of the foreground objects and use copymask for the game  
  19. pieces?  Thanks...
  20.