float point_plus1y = ((float)point_plus1.y);
float point_plus2x = ((float)point_plus2.x);
float point_plus2y = ((float)point_plus2.y);
if (offset == 0) {
pathHandler.movetoAbs(pointx,pointy);
}
if (point.onCurve && point_plus1.onCurve) {
// line command
pathHandler.linetoAbs(point_plus1x,point_plus1y);