Functions | |
void | Set_Line_Weight (double weight) |
void | QSet_Line_Weight (const char *segment, double weight) |
void | UnSet_Line_Weight (void) |
void | QUnSet_Line_Weight (const char *segment) |
void Set_Line_Weight | ( | double | weight | ) |
Makes simple lines and polylines broader or narrower than normal.
weight | - Scale factor 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, while a weight of "0.5" makes them half as thick.
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 QSet_Line_Weight | ( | const char * | segment, | |
double | weight | |||
) |
Similar to Set_Line_Weight(), but operates on a given segment rather than the currently open one.
segment | - Name of the segment(s) to be changed. | |
weight | - Scale factor to be applied to the normal line width. |
void UnSet_Line_Weight | ( | void | ) |
Removes all settings established by a previous call to Set_Line_Weight().
void QUnSet_Line_Weight | ( | const char * | segment | ) |
Removes all settings established by a previous call Set_Line_Weight(), but operates on a given segment rather than the currently open one.
segment | - Name of the segment(s) to be changed. |