Setting width of pen for figures and linesΒΆ

SetPenWidth()

Set width of pen for figures and lines


SYNTAX

SetPenWidth(window_id, width)

Set the width in device units of the pen to draw figures and lines. The default is one unit.

Windows uses one pixel for the pen width. Note that if a pen which includes dots or dashes is assigned a width greater than 1, a solid line (DP_SOLID) is used instead.


RELATED TOPICS

Drawing operations

Draw functions

SetPenColor()

SetPenType()