|
||
int get_linestyle_info ( USINT width_style, SS_LINESTYLE *lstyle_info )
USINT width_style; // A unsigned value SS_LINESTYLE *lstyle_info; // A pointer to an SS_LINESTYLE structure
|
|
|||
Synopsis |
#include "silver.h"
The get_linestyle_info function retrieves information about a linestyle from a width/style value.
|
|
||
Parameters |
width_style is an unsigned integer value that contains the width and style information of a primitive. lstyle_info is a pointer to a structure that will receive the linestyle information applicable to width_style.
|
|
||
Return Value |
get_linestyle_info returns 1 if width_style is valid for the current drawing, and 0 otherwise.
|
|
||
See Also |
|
|
||
Example |
Assuming that you have a ROUND_NODE pointer 'round' that is properly initialized, the following code will extract the name of the linestyle from the width/style information:
|
|