SRGraphTitle::CalcFontAutoSize

int SRGraphTitle::CalcFontAutoSize(void)

Calculates font size for the title if the text style includes CX_FONT_AUTOSIZE

Defined in: SRGraphTitle.cpp

Return Value

Integer used to set the absolute font size

Remarks

Word wrap makes the relationship between font size and text size nonlinear, so we use trial and error to find the best font size.