|
||
USINT MAKE_WIDTH_STYLE ( int width, int style )
int width; // An integer value indicating line width int style_index; // An integer value indicating line style
|
|
||||||||||||||||||||||
Synopsis |
#include "silver.h"
The MAKE_WIDTH_STYLE macro combines an edge-width and style-index into an unsigned integer value formatted appropriately for SilverScreen drawings.
|
|
|||||||||||||||||||||
Parameters |
width is an integer value between 1 and 9, where 1 indicates a normal line and 9 indicates a line of maximum width.
style is an integer value between 0 and 255, where the value indicates an index into the linestyle table associated with the current drawing. A linestyle of 0 is reserved for solid lines, and a value of 255 is reserved for invisible lines.
|
|
|||||||||||||||||||||
Return Value |
MAKE_WIDTH_STYLE returns an unsigned integer value that stores line width and style information appropriately formatted for SilverScreen drawings.
|
|
|||||||||||||||||||||
Remarks |
Here are some pre-defined line width constants from ssnodes.h
Here are some pre-defined linestyle constants
|
|
|||||||||||||||||||||
See Also |
|
|
|||||||||||||||||||||
Example |
The following example formats a width and style for use with a SilverScreen drawing, then extracts the width and style components.
|
|