ExtCreatePen function gdi32
Creates a logical cosmetic or geometric pen that has the specified style, width, and brush attributes.
To learn more, see learn.microsoft.com/windows/win32/api/wingdi/nf-wingdi-extcreatepen.
Implementation
@pragma('vm:prefer-inline')
HPEN ExtCreatePen(
PEN_STYLE iPenStyle,
int cWidth,
Pointer<LOGBRUSH> plbrush,
int cStyle,
Pointer<Uint32>? pstyle,
) => HPEN(_ExtCreatePen(iPenStyle, cWidth, plbrush, cStyle, pstyle ?? nullptr));