svg getBoundingClientRect
Axel Huizinga <[email protected]>
| Newsgroups | gmane.comp.mozilla.devel.svg |
|---|---|
| Message-ID | <[email protected]> |
Hi, trying to get the bounds of an SVGElement with getBoundingClientRect makes me some trouble. See yourself at http://go2ghana.net/devel/svg/devel.xhtml on the top is a div which reports as expected below are two svg rect which report very small values of width and height which don't make sense to me yet. Any ideas how to translate them topixel units? Best, Axel