if (!curveControlPointInsideCurrentRect(x, y, cer, currRect))
{
Rect curvBounds = computeCurveBounds(x, y, cer);
if (curvBounds.xMin() < x1) x1 = curvBounds.xMin();
if (curvBounds.yMin() < y1) y1 = curvBounds.yMin();
if (curvBounds.xMax() > x2) x2 = curvBounds.xMax();
if (curvBounds.yMax() > y2) y2 = curvBounds.yMax();
}
x = x + cer.getControlDeltaX() + cer.getAnchorDeltaX();