CPen * SRGraph::GetPen(int nPenStyle, int nPenWidth, COLORREF PenColor)
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