• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: CGContextSetStyle console log error?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: CGContextSetStyle console log error?


  • Subject: Re: CGContextSetStyle console log error?
  • From: Uli Kusterer <email@hidden>
  • Date: Mon, 27 Aug 2007 20:30:40 +0200

On 24.08.2007, at 10:29, Keith Blount wrote:
Moreover, I do
nothing with CGContext at all in my code. My app
includes the Quartz framework only for use of the
PDFView.

Have you checked you're actually adding all frameworks to your project that you need? With ZeroLink on, missing frameworks can get "half-loaded" if some OS code loads one of their sub-frameworks, and thus you might see weird behaviour. Try doing a release build, and see if you get any missing frameworks there.


More likely, you're screwing up some graphics state. Are you doing any threading? Are you perhaps handing a CGContext/NSGraphicsContext pointer off to another thread? Are you calling AppKit methods from anything else than the main thread that directly do drawing? Have you checked for double-releases and other errors that may result in memory smashers? Are you doing *anything* with drawing on that same window, or are you doing something special like redirecting drawing intended for one place to another?

Cheers,
-- M. Uli Kusterer
http://www.zathras.de



_______________________________________________

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


  • Follow-Ups:
    • Re: CGContextSetStyle console log error?
      • From: Keith Blount <email@hidden>
References: 
 >CGContextSetStyle console log error? (From: Keith Blount <email@hidden>)

  • Prev by Date: Re: How to track a lost mouseDown
  • Next by Date: Re: NSWindowDidChangeScreenProfileNotification not working
  • Previous by thread: Re: CGContextSetStyle console log error?
  • Next by thread: Re: CGContextSetStyle console log error?
  • Index(es):
    • Date
    • Thread