Question 1 - There have been many discussions about a lack of
"rubber-band api." At the time (May03) the WindowFun sample code was
pointed out as a "modern" way of implementing a selection tool (like
the Finder). WindowFun had a LineTool example that created an
overlay window using QDBeginCGContext. I wanted to make sure that
using QuickDraw CGrafPtrs was still the "modern way of doing this"???
You will want to move to using CoreGraphics directly instead of
Quickdraw. With CoreGraphics you will get transparency with your
drawing now, and acceleration in the future (Tiger).
The only use of QuickDraw in this case is the code that extracts the
port from the window and creates a CGContext using that port. This
behavior will continue to be supported for the foreseeable future.
But your point is well taken. Drawing into an overlay window with
QuickDraw is a Bad Idea™
Scott
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Carbon-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/carbon-dev/email@hidden