Functions | |
HC_BOOLEAN | PShow_Net_Variable_Line_Weight (int count, const HC_KEY *keys, char *weight) |
Similar to Show_Variable_Line_Weight(), but returns the net effective setting along a discrete segment path. More... | |
void | Show_Variable_Line_Weight (char *weight) |
Show the current variable line weight setting. More... | |
Detailed Description
Function Documentation
◆ PShow_Net_Variable_Line_Weight()
HC_BOOLEAN PShow_Net_Variable_Line_Weight | ( | int | count, |
const HC_KEY * | keys, | ||
char * | weight | ||
) |
Similar to Show_Variable_Line_Weight(), but returns the net effective setting along a discrete segment path.
- Parameters
-
count - The size of pathkeys keys - An array of HC_KEY's delineating a path of segments. weight - Scale factor applied to the line width. Returned to caller. Passed by reference always
DETAILS
As with all PShow_Net_* routines, pathkeys[0] represents the lowest (a.k.a the "most local" or "leaf"), and pathkeys[keycount-1] represents the highest segment. If the path is incomplete, missing segments are filled in if possible. Missing segments must be part of the same direct ancestry in order to be filled in. If the desired path contains an include link, the shortest unambiguous set of pathkeys would be [leaf, includelink, root], where includelink is the return value from Include_Segment().
By default, HOOPS will determine the Net attribute from the last specified key all the way to the root. If you add -1 at the end of the array, the PShow_Net routines will not proceed beyond the end of the last specified key.
For other details, see Show_Variable_Line_Weight()
◆ Show_Variable_Line_Weight()
void Show_Variable_Line_Weight | ( | char * | weight | ) |
Show the current variable line weight setting.
- Parameters
-
weight - Scale factor applied to the line width. Returned to caller. Passed by reference always
DETAILS
Show_Variable_Line_Weight() reads back the line weight setting as defined in a previous call to Set_Variable_Line_Weight().