|Function||Modify the line thickness used in plotting functions|
|Syntax C/C++||#include <Vgraph.h>
void V_setLineThickness( unsigned linethickness );
procedure V_setLineThickness( linethickness:UInt );
|Description||The line thickness used in the plotting functions VF_xyAutoPlot, VCF_autoPlot, etc., is set to linethickness. To reset the default value, call V_setLineThickness with linethickness = 1.
Any value of linethickness between 1 and 500 is allowed, useful values ranging from 1 to about 10. A minimum thickness of one pixel is always secured, even if linethickness is set to 0. Note that broken or dotted lines are plotted accurately only with a linethicknes of 1. At higher values of linethickness, all lines will look like solid lines. Thicker lines are plotted considerably slower than thinner ones.
|Error handling||A value of linethickness greater than 500 leads to a warning message "Cannot use line thicker than 500 pixels." Program execution is continued with linethickness set to 500.|
VectorLib Table of Contents OptiVec home