Hi, I am able to get the StyleImage of my element using:
RenderObject *o = element->renderer(); RenderStyle* style = o->style(); StyleImage* bgImage = style->backgroundImage(); My question is how can I get the Image being painted (the one which is actual pass to Graphics Context)? I see this method in StyleImage, but how can I use that? How can I find out the IntSize which is used for painting? virtual Image* image(RenderObject*, const IntSize&) const = 0; Thank you. _______________________________________________ webkit-help mailing list webkit-help@lists.webkit.org http://lists.webkit.org/mailman/listinfo.cgi/webkit-help