title: Get dimension of a path in SVG
body: <p>I need to get the dimension on the screen of a &lt;path> in a SVG from JavaScript.</p>
  
  <p>I do not have any "transformation" or "scaling" (transform, scale) on my SVG.
  The only thing changed is the viewBox, which will change the size of all the elements in the SVG.</p>
  
  <p>I have been using myPath.getBBox(), the width returned stays the same even though I change my viewBox.</p>
  
  <p>So I'm wondering what is the relation with this viewBox and size of a path. Maybe there is a function to compute the width?</p>