drawEnclose
<xsl:template name="drawEnclose"> <xsl:param name="x"/> <xsl:param name="y"/> <xsl:param name="width"/> <xsl:param name="height"/> <xsl:param name="notations"/> <xsl:param name="errorMargin" tunnel="yes"/> ... </xsl:template>
This template will browse all notations and draw the appropriate line
and rect
SVG tag corresponding to the notation. The circle is drawn using the SVG
ellipse
tag to draw an ellipse and the longdiv
notation is drawn using
the SVG
path
element to draw a curve. This element is used to draw complex
paths on the canvas.