DIB_Pen


typedef struct {   
    WORD  dpPenStyle;  
    BYTE  dpPenFlags;
    BYTE  dpPenBpp;  
    DWORD dpPenMono; 
    DWORD dpPenColor;
} DIB_Pen;   

Specifies the attributes of a pen.

dpPenStyle

Style of the pen. Can be one of the following values:

Value

Meaning

PS_SOLID

Pen is solid.

PS_DASH

Pen is dashed.

PS_DOT

Pen is dotted.

PS_DASHDOT

Pen has alternating dashes and dots.

PS_DASHDOTDOT

Pen has dashes and double dots.

PS_NULL

Pen is invisible.

PS_INSIDEFRAME

Pen is solid. When this pen is used in any graphics device interface (GDI) drawing function that takes a bounding rectangle, the dimensions of the figure are shrunk so that it fits entirely in the bounding rectangle, taking into account the width of the pen. This applies only to geometric pens.


dpPenFlags

Flags describing the pen. Currently none are defined.

dpPenBpp

The number of bits per pixel. Must be either 1, 4, 8, 16, 24, or 32.

dpPenMono

Bits specifying the monochrome version of the pen.

dpPenColor

Bits specifying the color version of the pen.