Re: CGContextSetStyle console log error?
Re: CGContextSetStyle console log error?
- Subject: Re: CGContextSetStyle console log error?
- From: Felix Franz <email@hidden>
- Date: Mon, 27 Aug 2007 16:03:57 +0200
On Aug 24, 2007, at 10:29 AM, Keith Blount wrote:
Hi,
From time to time my app generates the following
console error:
CGContextSetStyle: invalid context
Does anybody know what this means or what it indicates
I am doing wrong? An internet and archive search
reveals nothing, and there is nothing about
"CGContextSetStyle" in the docs. Moreover, I do
nothing with CGContext at all in my code. My app
includes the Quartz framework only for use of the
PDFView.
I saw similar console errors while running some badly coded unit-tests.
I called drawRect: directly on a custom view to assure the objects in
this view get their
draw-method called. All calls to the graphicsContext emitted those
"invalid context"
errors. You can put a breakpoint on the syslog-function (seems to be
called by
Quartz error-reporting) to stop where the error message gets logged.
HTH,
felix
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden