I have a Webkit DOMElement, a div for example. Now I want a renderized NSImage or NSBitmapImageRep of it.
It's like a screenshot of a DOMElement.
I have a Webkit DOMElement, a div for example. Now I want a renderized NSImage or NSBitmapImageRep of it.
It's like a screenshot of a DOMElement.
Public API choices:
-[NSView cacheDisplayInRect:toBitmapImageRep:]
-[NSBitmapImageRep initWithFocusedViewRect:]
Private WebKit method:
-[DOMElement renderedImage]