System information

QuickDraw
QuickDraw is a part of the Mac OS used for drawing and displaying graphical information on the screen and other raster
devices.
Fixed problem where calling DrawPicture to draw a picture to a GWorld could result in some parts of the image
being clipped incorrectly for some bit depth combinations. (r. 2896796).
Routines have been added to QuickDraw.h that allow callers to temporarily disable region and polygon recording.
(r. 2873386).
A problem where calls to FrameRoundedRect with invalid or empty rectangles could result in drawing operations
has been corrected. (r. 2868895).
A problem where the default picture data recording routine could attempt to access a NULL pointer has been
corrected. (r. 2868114).
A number of new Local/Global coordinate transformation routines have been added. These include
QDLocalToGlobalPoint, QDGlobalToLocalPoint, QDLocalToGlobalRect, QDGlobalToLocalRect, QDLocalToGlobalRegion,
and QDGlobalToLocalRegion. (r. 2835945).
A problem when FillCRect would not draw anything when drawing misaligned 32 bit patterns has been corrected.
(r. 2833800).
A problem where some poorly formatted pictures could hang the picture parsing code has been corrected. (r.
2824979).
A problem that occurred Mac OS X 10.0 and Mac OS X 10.1 in where calls to NewGDevice could switch the current
GDevice has been corrected. Now, calls to NewGDevice no longer switch the current GDevice. (r. 2814795).
The new APIs, QDSwapTextFlags and QDSwapPortTextFlags, have been added to QuickDraw.h that allow callers to
ask QuickDraw to use Quartz 2D for drawing anti-aliasing text. (r. 2810408).
Problems in PaintPoly that could cause it to draw incorrectly when drawing some self-crossing polygons have been
corrected. (r. 2807382).
To simplify debugging, attempts to call QuickDraw to do any drawing between calls to QDBeginCGContext and
QDEndCGContext are now logged to the console as "Ignoring QuickDraw drawing between QDBeginCGContext and
QDEndCGContext". (r. 2802466).
A problem that occurred in Mac OS X 10.1 where calls to CopyBits could write beyond the end of the destination
PixMap's raster array (and cause heap corruption) when the destination's rowBytes value was not an even
multiple of 4 has been corrected. (r. 2792873).
Some new Cursor APIs have been added to QuickDraw.h that allow callers to specify larger cursors. These APIs
includeQDIsNamedPixMapCursorRegistered, QDRegisterNamedPixMapCursor, QDUnregisterNamedPixMapCursor,
QDSetNamedPixMapCursor, and QDSetCursorScale. (r. 2786270).
A problem where calls to CopyBits using the transparent copy mode could result in a black vertical line on the edge
of the destination rectangle have been corrected. (r. 2780384).
A problem where DrawPicture could read past the end past the end of the picture data in memory when drawing
large pictures has been corrected. (r. 2735743).
Fixed CopyDeepMask now works as expected when the mask is 2, 4, or 8 bits deep. (r. 2557268).
CreateNewPort can now be called from a daemon process. (r. 2519829).
Error checking for Region size overflow during UnionRgn, SectRgn, or DiffRgn calculations has been improved.
Now, when an overflow is detected, QDerror will return a non zero result code and the resulting region will be set
to an empty region. (r. 2377836).
A memory leak in SetPortPenPixPat has been corrected. (r. 2975566).
A problem where InitGDevice was not always setting the gdType field in GDHandles reliably has been corrected.
This problem was present in all versions of InitGDevice until now. (r. 2964709).
Some drawing problems with CopyDeepMask have been corrected (r. 2867617). As well, a problem where
CopyDeepMask could crash if the maskRect was different than either the src or dst rectangle has been corrected.
(r. 2908766).
Previously, calls to CopyBits with a 1, 2, or 4 bit source and a 32 bit destination would only set the alpha channel
to 255 if the destination was a window buffer. Now, the alpha channel will be set to 255 when the destination is an
off-screen GWorld as well. (r. 2852806).
A problem where calls made to SetCPixel during printing could crash has been corrected. (r. 2840205).
A problem where calls to GetPictInfo() could call the get picture data QDProc with a zero byte count has been
corrected. (r. 2840062).
A problem that appeared in Mac OS X 10.1.2 where GetPictInfo could hang when called with a JPEG compressed
picture has been corrected. (r. 2833865).