Re: off screen drawing with cocoa
Re: off screen drawing with cocoa
- Subject: Re: off screen drawing with cocoa
- From: Warwick Hall <email@hidden>
- Date: Tue, 24 Apr 2007 14:47:15 +1000
re last posting of this topic, this is the program output (stderr)
that i get:
--BEGIN--
2007-04-24 14:42:33.982 url2ps[3105] *** Assertion failure in -
[WebView lockFocus], AppKit.subproj/NSView.m:3248
2007-04-24 14:42:33.984 url2ps[3105] An uncaught exception was raised
2007-04-24 14:42:33.985 url2ps[3105] lockFocus sent to a view whose
window is deferred and does not yet have a corresponding platform window
2007-04-24 14:42:33.985 url2ps[3105] *** Uncaught exception:
<NSInternalInconsistencyException> lockFocus sent to a view whose
window is deferred and does not yet have a corresponding platform window
Trace/BPT trap
--END--
On 24/04/2007, at 1:29 PM, Nick Zitzmann wrote:
On Apr 23, 2007, at 9:13 PM, Warwick Hall wrote:
i am trying to create a command line tool using cocoa which
requires some html graphics rendering using WebView.
there are no windows (being a command line tool) and the rendering
is not taking place. is there something i am missing with drawing
views?
Are you calling NSApplicationLoad(), creating a graphics context,
and locking focus on the view before drawing it? Can you post your
code?
Nick Zitzmann
<http://www.chronosnet.com/>
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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