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);






-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
Dynapi-Dev mailing list
[EMAIL PROTECTED]
http://www.mail-archive.com/[EMAIL PROTECTED]/

Reply via email to