On Mar 13, 2007, at 11:55 AM, Eric Schlegel wrote:
On Mar 13, 2007, at 11:43 AM, Jeff Sparks wrote:
I'd have to actually debug this to be sure, but I bet that the web
view is not going to work with CreateOffscreenImage because it's
really an NSView embedded inside an HIView, and it uses AppKit's
drawing code rather than Carbon's. If that's the case, there's
probably no way to get this to work the way you want. You might be
able to capture the window bits by just going through QuickDraw to
get the window's port's buffer, and then creating a CGImage from
those bits.
If you don't mind getting a PDF of the view instead, you can do this
incantation to go from an HIWebView to a PDF the entire view
NOTE: Untested code mostly written in Mail!
--
David Duncan
Apple DTS Quartz and Printing
email@hidden
_______________________________________________
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