Re: - [NSBitmapImageRep cacheDisplayInRect:toBitmapImageRep:] produces empty image

2009-08-20 Thread Adam R. Maxwell
On Aug 20, 2009, at 2:31 PM, Ben Lachman wrote: This works pretty well, although I do seem to get a white area where there would have been a scroller on the right hand side. Interesting; I hadn't noticed that because of the white border I use. Drawing the WebView itself seems to fix that

Re: - [NSBitmapImageRep cacheDisplayInRect:toBitmapImageRep:] produces empty image

2009-08-20 Thread Ben Lachman
On Aug 19, 2009, at 11:49 PM, Adam R. Maxwell wrote: On Aug 19, 2009, at 8:39 PM, Ben Lachman wrote: On Aug 19, 2009, at 8:45 PM, Adam R. Maxwell wrote: On Aug 19, 2009, at 2:50 PM, Ben Lachman wrote: I have an offscreen window containing a WebView that I'm using to generate web previews

Re: - [NSBitmapImageRep cacheDisplayInRect:toBitmapImageRep:] produces empty image

2009-08-19 Thread Adam R. Maxwell
On Aug 19, 2009, at 8:39 PM, Ben Lachman wrote: On Aug 19, 2009, at 8:45 PM, Adam R. Maxwell wrote: On Aug 19, 2009, at 2:50 PM, Ben Lachman wrote: I have an offscreen window containing a WebView that I'm using to generate web previews. My current code works beautifully and looks like th

Re: - [NSBitmapImageRep cacheDisplayInRect:toBitmapImageRep:] produces empty image

2009-08-19 Thread Ben Lachman
On Aug 19, 2009, at 8:45 PM, Adam R. Maxwell wrote: On Aug 19, 2009, at 2:50 PM, Ben Lachman wrote: I have an offscreen window containing a WebView that I'm using to generate web previews. My current code works beautifully and looks like this: NSView *view = previewWebView.main

Re: - [NSBitmapImageRep cacheDisplayInRect:toBitmapImageRep:] produces empty image

2009-08-19 Thread Adam R. Maxwell
On Aug 19, 2009, at 2:50 PM, Ben Lachman wrote: I have an offscreen window containing a WebView that I'm using to generate web previews. My current code works beautifully and looks like this: NSView *view = previewWebView.mainFrame.frameView.documentView; I do something similar,