|Re: Get coordinates for text, letters in rendered web page [message #562158 is a reply to message #562071]
||Mon, 16 November 2009 08:40
| Jacek Pospychala
Registered: July 2009
sorry for late response, I was offline for last 5 days. You can see how
ATF gets the DOM node bounding box in
I'd try to get the parent node of text node, e.g. <span> for
"<span>W</span>ord". Next, get the information line wrapping, lines
height and chars width and calculate by hand.
You could also ask on the Mozilla newsgroup, as it doesn't really matter
I find mozilla.dev.platform quite helpful.
> Does anyone know, how to get a coordinates and bounding box for
> particular symbol in node?
> Which interface of XPCOM should I use?
Powered by FUDForum
. Page generated in 0.02242 seconds