Setting line type of pen for figures and lines (SetPenType)ΒΆ
SetPenType() |
Set line type of pen for figures and lines |
SYNTAX
SetPenType(window_id, linetype)
Set the type of line to be used as a pen to draw figures and lines. The line types are pre-defined and are listed under Outline pen styles in $SCULPTOR/include/draw.h.
The default line type is DP_SOLID.
If a line which includes dots and/or dashes is used, the pen width must be 1 (the default). If a greater width is specified a solid line is drawn.
EXAMPLE
SetPenType(WinDraw, DP_DASH)
RELATED TOPICS |