* @param context
*/
@Override
public boolean prepare(Context2D context, Attributes attr, double alpha)
{
Point2DArray points = getControlPoints();
if ((points != null) && (points.getLength() == 3))
{
context.beginPath();
Point2D p0 = points.getPoint(0);
Point2D p1 = points.getPoint(1);
Point2D p2 = points.getPoint(2);
context.moveTo(p0.getX(), p0.getY());
context.quadraticCurveTo(p1.getX(), p1.getY(), p2.getX(), p2.getY());