Functions | |
void | Show_Line_Style (const char *style, char *definition) |
void | Show_Line_Style_Size (const char *style, int *size) |
void | PShow_Net_Line_Style (int count, HC_KEY const *keys, char const *name, char *definition) |
void | PShow_Net_Line_Style_Size (int count, HC_KEY const *keys, char const *name, int *size) |
void Show_Line_Style | ( | const char * | style, | |
char * | definition | |||
) |
Returns the line style that has been set on the currently open segment.
style | Name of a line style defined in a call to Define_Line_Style(). | |
definition | Definition of a line style. See description in Define_Line_Style(). Passed by reference. Returned to user. |
Be sure you've declared your string variable to be long enough with a call to Show_Line_Style_Size().
Show_Line_Style will complain if called on a segment where the style attribute is not actually set in the segment. Use Show_Existence() to avoid this, if necessary.
void Show_Line_Style_Size | ( | const char * | style, | |
int * | size | |||
) |
Returns the size of the line style that has been set on the currently open segment.
style | Name of a line style defined in a call to Define_Line_Style. | |
size | Length of the string that defines the line style. Passed by reference. Returned to user. |
void PShow_Net_Line_Style | ( | int | count, | |
HC_KEY const * | keys, | |||
char const * | name, | |||
char * | definition | |||
) |
Similar to Show_Line_Style(), but returns the net effective value along a discrete segment path.
keycount | The size of keys | |
keys | An array of HC_KEY's delineating a path of segments. | |
name | Name of a line style defined in a call to Define_Line_Style(). | |
definition | Definition of a line style. See description in Define_Line_Style(). Passed by reference. Returned to user. |
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.
void PShow_Net_Line_Style_Size | ( | int | count, | |
HC_KEY const * | keys, | |||
char const * | name, | |||
int * | size | |||
) |
Similar to Show_Line_Style_Size(), but returns the net effective value along a discrete segment path.
keycount | The size of keys | |
keys | An array of HC_KEY's delineating a path of segments. | |
name | Name of a line style defined in a call to Define_Line_Style(). | |
size | Length of the string that defines the line style. Passed by reference. Returned to user. |
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.