Cappuccino - take image from CPView

I have a CPView with some child elements (CPImageView, CPTextField, etc.) and I would like to know if it is possible to take a screenshot of this parent view. Thanks to


source to share

1 answer

no, not out of the box ... remember you're still in the browser.

Now, depending on how bad you are ... Some time ago, someone wrote a generic DOM parser than displaying the current DOM on the canvas. It was pretty immature though.

Fortunately, Cappuccino usually only uses some absolutely positioned divs and background colors / images. This means that if you want to write your own parser, it might not be as difficult as it sounds.



All Articles