SRGraph::GetPen

CPen *SRGraph::GetPen(intnPenStyle, intnPenWidth, COLORREFPenColor)

Returns a new pen or an identical one from the cache. This routine is designed to reduce or eliminate the creation and deletion of pens.

Defined in: SRGraph.cpp

Return Value

CPen *

Parameters

nPenStyle

int nPenStyle

nPenWidth

int nPenWidth

PenColor

COLORREF PenColor

Remarks

Wide styled lines are now supported!