Functions | |
void | Set_Line_Weight (double weight) |
void | UnSet_Line_Weight (void) |
void Set_Line_Weight | ( | double | weight | ) |
Makes simple lines and polylines broader or narrower than normal.
weight | - Scale factor ( rounded to the nearest integer ) to be applied to the normal line width. |
A line weight of "2.0" causes the lines to be rendered twice as thick as usual.
The "1.0" line weight always corresponds to a line one pixel wide, which usually comes out to about 0.1 percent of the screen size. In the exceptional case where a device has very small pixels---but only in the exceptional case---the 1.0 weight is forced to correspond to 0.1 percent of the screen.
To force a line to be the minimum possible width (a hairline), specify 0 as the line weight. This causes lines to be drawn in a fixed (screen space) size; they will not scale as the object scales.
Currently, there is no method of inquiring just how wide a "pixel" actually is on a given display screen.
Thinning lines will probably not get you any visible change if your device doesn't have sufficient resolution. As a corollary, you should watch out for lines that might someday, on a new device, be entirely too thin.
void UnSet_Line_Weight | ( | void | ) |
Removes all settings established by a previous call to Set_Line_Weight().