I'm trying to draw half of an existing quadratic curve, though I'm not sure how to adjust the control-point to do so:
You'll see the top half of a rounded rectangle drawn in canvas, and a box with a top CSS borders. What I'm trying to do is reproduce the css drawn box with canvas, in other words cut the corner in half.
I've been messing with the starting point & first control point but can't figure out how to accurately splice the curve.
I know that the canvas won't perfectly match the CSS which is fine, I'm not trying to get it to. I am trying to get exactly half of the curve drawn without screwing with its shape at all. And I'm interested in the math behind this more than the solution to this specific example
updated example: http://jsfiddle.net/s6sB8/4/
You can see that although close, the curve I'm trying to draw doesn't quite match the original...