CGDIPen::CGDIPen

CGDIPen::CGDIPen(intnPenStyle, intnWidth, const LOGBRUSH*pLogBrush, int nStyleCount =0, const DWORD* lpStyle =NULL)

Extended creation constructor. Creates a GDI pen using the parameters passed, and attaches it to the new instance.

Defined in: GDIObjects.h

Parameters

nPenStyle

Pen style.

nWidth

Pen width.

pLogBrush

Pen pattern.

0

Number of entries in lpStyle.

NULL

Styles to apply.

Comments

For more information on the parameters, see your Windows PlatformSDK documentation.