if (point[0] < UPPER_BND && point[0] > LOWER_BND &&
point[1] < UPPER_BND && point[1] > LOWER_BND) {
r.appendQuadratic(point[0], point[1],
point[2], point[3]);
} else {
r.appendLine(point[2], point[3]);
}
break;
case PathIterator.SEG_CUBICTO:
// Cubic curves take three points
if (point[4] >= UPPER_BND || point[4] <= LOWER_BND ||