SRGraphLabel::GetTextOrigin

CPoint SRGraphLabel::GetTextOrigin(void)

Returns a point at which the CDC::TextOut function can place the text to position it exactly over the desired bounding rectangle.

Defined in: SRGraphLabel.cpp

Return Value

CPoint with the calculated screen position

Developer Notes

Normally text is positioned relative to the top-left corner of the text string. The location system in SRGraphLabel requires that this point be adjusted to account for the desired location point (one of nine available) and rotation angle of text.