SRGraphLabel::GetBoundingPolygon

void SRGraphLabel::GetBoundingPolygon(CPoint * points, int nPointCount)

Fills a CPoint array with the points needed to describe a closed polygon corresponding to the area covered by the text in this label.

Defined in: SRGraphLabel.cpp

Parameters

points

Pointer to the array of points

nPointCount

Count of the points in the array

Remarks

This routine takes into account the text location point, the font, and the angle of rotation to provide an accurate boundary for the label.

Developer Notes

This routine may be used only when the component has a valid CDC installed in its m_pDC member.