public void Draw(IExtendedDrawable ext) { IPoint p = new Geometry.Point(); p = doGetPoint(0); ext.DrawStart(p); for (double i = 0; i < 1; i += 0.0003) { p = doGetPoint(i); ext.DrawMiddlePart(p); } p = doGetPoint(1); ext.DrawEnd(p); }
public void DrawMiddlePart(IPoint p) { p.SetY(p.GetY() + 10); shadow.DrawMiddlePart(p); }