title: 'Cropping' an SVG, client-side
body: <p>I'm working on a purely client-side SVG editor, and I have a special need:</p>
  
  <p>I need to crop out a rectangular region from the SVG - in this case, the bounding box of an element - and draw it onto a Canvas, using something like <code>drawImage</code>.</p>
  
  <p>Is this possible at all?</p>
  
  <p>I've tried using <a href="http://canvg.googlecode.com/" rel="nofollow">canvg</a>'s <code>drawSVG</code>, which aims to be analogous to <code>drawImage</code>, only to discover that it can't crop the input image.</p>