onPaint = function( x0, y0, x1, y1 )
{
var g = new Graphics(dialog.lblTick);
var str = (dialog.progress * 100).toFixed() + '%';
var r = g.textRect( x0, y0, x1, y1, str, TextAlign_Center );
g.drawTextRect( r, str);
if (dialog.progress > 0)
{
var x = (x1 - x0) * dialog.progress;
g.pen = new Pen(0xffff0000, 5);
g.drawLine(0, 2, x, 2);
}
}
onPaint = function( x0, y0, x1, y1 )
{
var g = new Graphics(dialog.lblTick);
var str = (dialog.progress * 100).toFixed() + '%';
var r = g.textRect( x0, y0, x1, y1, str, TextAlign_Center );
g.drawTextRect( r, str);
if (dialog.progress > 0)
{
var x = (x1 - x0) * dialog.progress;
g.pen = new Pen(0xffff0000, 5);
g.drawLine(0, 2, x, 2);
}
g.end();
}
Console.writeln("Curve points " + this.curves.xyy.length);