From: Andrew G. <an...@zo...> - 2004-03-25 05:18:58
|
Hi, I was looking at some of the graphics functions (dynapi 3) and there are some simple errors. It looks like some variables were renamed at some point, but the old variable names were not all cleaned up. Perhaps someone can commit the changes below to CVS? The correct variable names are: _s StrokeColor (was color) _w StrokeWeight (was thickness) _f FillColor (was color) Andrew. 49c49 < fillCircle(x+r,y+r,r,this.color,this._dlyr); --- > fillCircle(x+r,y+r,r,this._f,this._dlyr); 52c52 < drawEllipse(x+w/2,y+h/2,w,h,this.color,false,this.thickness,this._dlyr); --- > drawEllipse(x+w/2,y+h/2,w,h,this._s,false,this._w,this._dlyr); 55c55 < drawEllipse(x+w/2,y+h/2,w,h,this.color,true,this.thickness,this._dlyr); --- > drawEllipse(x+w/2,y+h/2,w,h,this._f,true,this._w,this._dlyr); 58c58 < drawRect(x,y,w,h,this.color,this.thickness,this._dlyr); --- > drawRect(x,y,w,h,this._s,this._w,this._dlyr); 61c61 < fillRect(x,y,w,h,this.color,this._dlyr); --- > fillRect(x,y,w,h,this._f,this._dlyr); |