| 
 
 Q: My pre-Carbon code makes extensive use of CalcCMaskandSeedCFill,
         				which produce 1-bit deep masks.  I currently callOpenPortand pass the port'sBitMaptoCalcCMaskandSeedCFill, butOpenPortisn't supported in Carbon and its replacement,CreateNewPort, creates aCGrafPortwith aPixMap.  What should I pass as thedstBitsparameter? A: Create a 1-bit deep GWorldand pass in itsPixMapusingGetPortBitMapForCopyBits.
         				QuickDraw calls that used to expect aGrafPort(orBitMap) have been modified to accept a 1-bit deepGWorld(orPixMap). 
 |