Rendering a Quadratic Bezier Curve
<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 20001102//EN"
"http://www.w3.org/TR/2000/CR-SVG-20001102/DTD/svg-20001102.dtd">
<svg width="800" height="400">
<g transform="translate(50,50)">
<path d="m20,20 Q100,0 200,200 T340,240 z" fill="black"
stroke-dasharray="2 2 2 2" style="stroke:blue;stroke-width:4;" />
<path d="m0,0 Q100,0 200,200 T300,200 z" fill="red"
stroke-dasharray="2 2 2 2" style="stroke:blue;stroke-width:4;" />
</g>
</svg>
Related examples in the same category