CODLineProperties::GetPen
CPen* CODLineProperties::GetPen(CDC* pDC = NULL)
Returns a pointer to the cached GDI pen object.
Defined in: OdLineProp.cpp
Return Value
Pointer to pen object.
Comments
This function returns a pen that is created using the pen properties.
The pen returned is cached in the m_pPen member. If m_pPen is NULL,
then this function calls CreatePen to create a
new font. NOTE: The caller should never delete the pen returned by this
function.
Parameters
pDC
A pointer to the device context this line will be used in.