SRGraphComponent::CreateAutoPen

BOOLSRGraphComponent::CreateAutoPen(intkey, intnPenWidth)

Initializes the m_AutoPen member with a line style according to the key value
See the How automatic colors and fills are chosen topic for details

Defined in: SRGComp.cpp

Return Value

Success or failure reported by the CPen::CreatePen(..) function

Parameters

key

Key value

nPenWidth

Thickness of the pen -- defaults to 1