curveView = new LBezierCurveView(bc);
fillPoints(bc, posX, posY, minX, maxX, step);
if(shape.getPlotStyle()==IPlotProp.PlotStyle.CCURVE)
bc.setIsClosed(true);
else bc.setIsClosed(false);
bc.copy(shape);
int i=0;
final int last = bc.getPoints().size()-1;
for(IPoint pt : bc.getPoints()) {
final IPoint p1 = pt;