Visible to Intel only — GUID: GUID-CDDD3050-A584-411A-9A70-3406CA4994D7
Visible to Intel only — GUID: GUID-CDDD3050-A584-411A-9A70-3406CA4994D7
SETLINEWIDTHQQ
Graphics Subroutine: Sets the width of a solid line drawn using any of the supported graphics functions. This routine is only available for Windows.
USE IFQWIN
CALL SETLINEWIDTHQQ (x)
x |
(Input) INTEGER(4). It can be any non-negative integer. |
This subroutine sets the line width in pixels using the value that is passed as the argument.
SETLINEWIDTHQQ affects the drawing of straight lines using functions such as LINETO, POLYGON, LINETOAR, LINETOAREX, RECTANGLE, and it affects the drawing of curved lines using functions such as ARC, ELLIPSE, or PIE.
The nWidth argument in the Windows* API CreatePen() is the width used to draw the lines or borders of a closed shape. A cosmetic pen can only have a width of 1 pixel. If you specify a higher width, it is ignored. A geometric pen can have a width of 1 or more pixels, but the line can only be solid or null.
This means that if you specify the style as PS_DASH, PS_DOT, PS_DASHDOT, or PS_DASHDOTDOT, but set a width higher than 1 pixel, the line is drawn as PS_SOLID.
See Also
Windows* API CreatePen in the Microsoft* MSDN documentation