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()
2680 Size aFntSize (GetFont().GetSize()); in AdaptToX() local
2683 aFntSize.Width() = nWidth; in AdaptToX()
2684 GetFont().SetSize(aFntSize); in AdaptToX()
2694 aFntSize.Width() *= nWidth; in AdaptToX()
2695 aFntSize.Width() /= nDenom ? nDenom : 1; in AdaptToX()
2697 GetFont().SetSize(aFntSize); in AdaptToX()
2703 Size aFntSize (GetFont().GetSize()); in AdaptToY() local
2707 if (aFntSize.Width() == 0) in AdaptToY()
2712 aFntSize.Width() = rDev.GetFontMetric().GetSize().Width(); in AdaptToY()
2715 DBG_ASSERT(aFntSize.Width() != 0, "Sm: "); in AdaptToY()
2719 aFntSize.Height() = nHeight; in AdaptToY()
2720 GetFont().SetSize(aFntSize); in AdaptToY()
2730 aFntSize.Height() *= nHeight; in AdaptToY()
2731 aFntSize.Height() /= nDenom ? nDenom : 1; in AdaptToY()
2733 GetFont().SetSize(aFntSize); in AdaptToY()