float x2 = (prevx + midx) / 2.0F;
float y2 = (prevy + midy) / 2.0F;
if(!Interpolate)
gp.curveTo(prevx, prevy, midx, midy, curx, cury);
else
gp.curveTo(x1, y1, x2, y2, midx, midy);
}
g2d.setBackground(new Color(0, 0, 153));
g2d.setRenderingHint(RenderingHints.KEY_ANTIALIASING, RenderingHints.VALUE_ANTIALIAS_OFF);
if(bgChanged || bounds == null)