[webkit-dev] Query regarding Rendering
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@lists.webkit.org http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev
Re: [webkit-dev] Query regarding Rendering
I need to get Rect region where a node is rendered. Please post such questions to webkit-help, see http://lists.webkit.org/mailman/listinfo.cgi/webkit-help Rationale: read https://lists.webkit.org/pipermail/webkit-dev/2009-July/008681.html https://lists.webkit.org/pipermail/webkit-dev/2009-July/008860.html ___ webkit-dev mailing list webkit-dev@lists.webkit.org http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev
Re: [webkit-dev] Query regarding Rendering
Hi, This should help you going: class Element : public ContainerNode { PassRefPtrClientRectList getClientRects() const; PassRefPtrClientRect 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@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. ___ webkit-dev mailing list webkit-dev@lists.webkit.org http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev