Page 1 of 1

Documentation error

Posted: 2008-07-15T10:22:11-07:00
by el_supremo
The comment at the front of DrawPoint in drawing-wand.c says:
% DrawPoint() draws a point using the current stroke color and stroke
% thickness at the specified coordinates.
In fact it uses the fill color.

Also, by "stroke thickness" does it mean "stroke width"?. In a test program I set the StrokeWidth to 3 and then drew some coloured points and it draws single (1x1) points rather than a 3x3 "point" as I was expecting from my interpretation of the comment.


Pete

Re: Documentation error

Posted: 2008-07-16T16:09:00-07:00
by anthony
It probably does both, have you tried setting a stoke color other than the default of NONE.

Re: Documentation error

Posted: 2008-07-16T20:06:23-07:00
by el_supremo
Yep, stroke colour didn't have any effect.
Late yesterday I checked the comment in the current version of drawing-wand.c and it has been changed to:
% DrawPoint() draws a point using the current fill color.
Pete