Set_Variable_Line_Weight

Functions

void Set_Variable_Line_Weight (const char *weight)
 Defines weights for lines that scale in a similar manner to other geometric primitives. More...
 

Detailed Description

Function Documentation

◆ Set_Variable_Line_Weight()

void Set_Variable_Line_Weight ( const char *  weight)

Defines weights for lines that scale in a similar manner to other geometric primitives.

Parameters
weight- Scale factor to be applied to the line width

DETAILS

The standard line weight function Set_Line_Weights() causes edges to be drawn in a fixed (screen space) size, and they will not scale as the object scales. Set_Variable_Line_Weight() allows lines 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