CreatePen function gdi32
Creates a logical pen that has the specified style, width, and color.
The pen can subsequently be selected into a device context and used to draw lines and curves.
To learn more, see learn.microsoft.com/windows/win32/api/wingdi/nf-wingdi-createpen.
Implementation
@pragma('vm:prefer-inline')
HPEN CreatePen(PEN_STYLE iStyle, int cWidth, COLORREF color) =>
HPEN(_CreatePen(iStyle, cWidth, color));