1、使用画笔,画笔常见样式有:
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.