Lines Matching refs:aFntSize
262 Size aFntSize; in SetFontSize() local
271 aFntSize = GetFont().GetSize(); in SetFontSize()
272 aFntSize.Width() = 0; in SetFontSize()
276 aFntSize.Height() = nHeight; in SetFontSize()
280 aFntSize.Height() += nHeight; in SetFontSize()
284 aFntSize.Height() -= nHeight; in SetFontSize()
288 aFntSize.Height() = (long) (Fraction(aFntSize.Height()) * rSize); in SetFontSize()
293 aFntSize.Height() = (long) (Fraction(aFntSize.Height()) / rSize); in SetFontSize()
301 if (aFntSize.Height() > nMaxVal) in SetFontSize()
302 aFntSize.Height() = nMaxVal; in SetFontSize()
304 GetFont().SetSize(aFntSize); in SetFontSize()
2720 Size aFntSize (GetFont().GetSize()); in AdaptToX() local
2723 aFntSize.Width() = nWidth; in AdaptToX()
2724 GetFont().SetSize(aFntSize); in AdaptToX()
2734 aFntSize.Width() *= nWidth; in AdaptToX()
2735 aFntSize.Width() /= nDenom ? nDenom : 1; in AdaptToX()
2737 GetFont().SetSize(aFntSize); in AdaptToX()
2743 Size aFntSize (GetFont().GetSize()); in AdaptToY() local
2747 if (aFntSize.Width() == 0) in AdaptToY()
2752 aFntSize.Width() = rDev.GetFontMetric().GetSize().Width(); in AdaptToY()
2755 DBG_ASSERT(aFntSize.Width() != 0, "Sm: "); in AdaptToY()
2759 aFntSize.Height() = nHeight; in AdaptToY()
2760 GetFont().SetSize(aFntSize); in AdaptToY()
2770 aFntSize.Height() *= nHeight; in AdaptToY()
2771 aFntSize.Height() /= nDenom ? nDenom : 1; in AdaptToY()
2773 GetFont().SetSize(aFntSize); in AdaptToY()