Draw the svg element and its children to the specified canvas inside the specified rectangle.
No ancestors or siblings are drawn. The svg element is drawn where it would be if the entire SVG was drawn.
Element to draw
cumulative transformations from the Parent element (and its Parents) to apply when drawing the element.
Canvas to draw on
Rectangle to draw within
Even though no ancestors or siblings are drawn, this method does call the Draw method of every ancestor and "older" sibling to ensure the transformation matrix and clipping rectangles are properly initialized before drawing the element and its children.
The following example uses the DrawBeforeElement, DrawElement, and DrawAfterElement methods to optimize the drawing of an svg where one element may be changed often (such as in an editor):