Set_Variable_Edge_Weight
Functions | |
void | Set_Variable_Edge_Weight (const char *weight) |
Defines weights for edges that scale in a similar manner to other geometric primitives. More... | |
Detailed Description
Function Documentation
◆ Set_Variable_Edge_Weight()
void Set_Variable_Edge_Weight | ( | const char * | weight | ) |
Defines weights for edges that scale in a similar manner to other geometric primitives.
- Parameters
-
weight - Scale factor to be applied to the edge width
DETAILS
The standard edge weight function Set_Edge_Weights() causes edges to be drawn in a fixed (screen space) size, and they will not scale as the object scales. Set_Variable_Edge_Weight() allows edges to scale as the object is scaled or as the camera changes. The weight option string is specified with sizes: 'oru', 'sru', 'wru', 'points', 'pixels' or 'wsu'. Refer to the 'size' sub-options of Set_Text_Font() for more detailed information.
NOTES
RESTRICTIONS
- See also