[webkit-dev] Query regarding Rendering

Christophe Gillette christophe.public at gmail.com
Mon Jul 13 10:06:23 PDT 2009


Hi,
This should help you going:

class Element : public ContainerNode {

    PassRefPtr<ClientRectList> getClientRects() const;
    PassRefPtr<ClientRect> getBoundingClientRect() const;

}

Christophe


JayaSai Kishore wrote:
> 
> Hi,
>       I need to get Rect region where a node is rendered.
>       As per my understanding xPos() and yPos() methods on any Renderer of
> a
> node, give coordinates relative to parent node but not exact coordinates
> where rendering happens for that Renderer.
>       Is there any way to find Render region for a node other than in
> Paint
> ?
> 
> Regards
> JayaSai Kishore
> 
> _______________________________________________
> webkit-dev mailing list
> webkit-dev at lists.webkit.org
> http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev
> 
> 

-- 
View this message in context: http://www.nabble.com/Query-regarding-Rendering-tp24460697p24465571.html
Sent from the Webkit mailing list archive at Nabble.com.



More information about the webkit-dev mailing list