Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
CQuartz_AC.cpp
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

CQuartz_AC.cpp



I have had to modify CBeginContext::Begin() to get my quartz drawing to
work correctly.

At the beginning of the method I have modified at as below:

#if 0
	if (fPort && !QDIsPortBuffered(fPort))
#else
	if (fPort)
#endif

I have a window that returns it is buffered but the quartz drawing
doesn't work unless the check for is not buffered is removed.

I have had a search on developer.apple.com for documentation related to
buffered windows and CGContextRef's without anything to suggest that we
should only do QDBeginCGContext for non buffered windows or printing/
offscreen gworlds etc.

Is this a problem with MacApp.

Kevin


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Macapp-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.