Lines Matching refs:pMetric

982                                          const NEWTEXTMETRICA* pMetric,  in ImplLogMetricToDevFontDataA()  argument
987 nHeight = pMetric->tmHeight - pMetric->tmInternalLeading; in ImplLogMetricToDevFontDataA()
990 WinFont2DevFontAttributes(*pLogFont, *pMetric, nFontType), in ImplLogMetricToDevFontDataA()
993 pMetric->tmPitchAndFamily ); in ImplLogMetricToDevFontDataA()
1001 const NEWTEXTMETRICW* pMetric, in ImplLogMetricToDevFontDataW() argument
1006 nHeight = pMetric->tmHeight - pMetric->tmInternalLeading; in ImplLogMetricToDevFontDataW()
1009 WinFont2DevFontAttributes(*pLogFont, *pMetric, nFontType), in ImplLogMetricToDevFontDataW()
1012 pMetric->tmPitchAndFamily ); in ImplLogMetricToDevFontDataW()
1686 void WinSalGraphics::GetFontMetric( ImplFontMetricData* pMetric, int nFallbackLevel ) in GetFontMetric() argument
1693 pMetric->maName = reinterpret_cast<const sal_Unicode*>(aFaceName); in GetFontMetric()
1704 pMetric->meFamily = ImplFamilyToSal( aWinMetric.tmPitchAndFamily );; in GetFontMetric()
1705 pMetric->mbSymbolFlag = (aWinMetric.tmCharSet == SYMBOL_CHARSET); in GetFontMetric()
1706 pMetric->meWeight = ImplWeightToSal( aWinMetric.tmWeight ); in GetFontMetric()
1707 pMetric->mePitch = ImplMetricPitchToSal( aWinMetric.tmPitchAndFamily ); in GetFontMetric()
1708 pMetric->meItalic = aWinMetric.tmItalic ? ITALIC_NORMAL : ITALIC_NONE; in GetFontMetric()
1709 pMetric->mnSlant = 0; in GetFontMetric()
1712 pMetric->mbDevice = (aWinMetric.tmPitchAndFamily & TMPF_DEVICE) != 0; in GetFontMetric()
1713 pMetric->mbScalableFont = (aWinMetric.tmPitchAndFamily & (TMPF_VECTOR|TMPF_TRUETYPE)) != 0; in GetFontMetric()
1714 if( pMetric->mbScalableFont ) in GetFontMetric()
1719 pMetric->mbKernableFont = (nKernPairs > 0); in GetFontMetric()
1724 pMetric->mnOrientation = 0; in GetFontMetric()
1726 pMetric->mbKernableFont = false; in GetFontMetric()
1730 pMetric->mnWidth = static_cast<int>( mfFontScale * aWinMetric.tmAveCharWidth ); in GetFontMetric()
1731 pMetric->mnIntLeading = static_cast<int>( mfFontScale * aWinMetric.tmInternalLeading ); in GetFontMetric()
1732 pMetric->mnExtLeading = static_cast<int>( mfFontScale * aWinMetric.tmExternalLeading ); in GetFontMetric()
1733 pMetric->mnAscent = static_cast<int>( mfFontScale * aWinMetric.tmAscent ); in GetFontMetric()
1734 pMetric->mnDescent = static_cast<int>( mfFontScale * aWinMetric.tmDescent ); in GetFontMetric()
1741 pMetric->mnIntLeading += pMetric->mnExtLeading; in GetFontMetric()
1746 const long nHalfTmpExtLeading = pMetric->mnExtLeading / 2; in GetFontMetric()
1747 const long nOtherHalfTmpExtLeading = pMetric->mnExtLeading - nHalfTmpExtLeading; in GetFontMetric()
1751 long nCJKExtLeading = static_cast<long>(0.30 * (pMetric->mnAscent + pMetric->mnDescent)); in GetFontMetric()
1752 nCJKExtLeading -= pMetric->mnExtLeading; in GetFontMetric()
1753 pMetric->mnExtLeading = (nCJKExtLeading > 0) ? nCJKExtLeading : 0; in GetFontMetric()
1755 pMetric->mnAscent += nHalfTmpExtLeading; in GetFontMetric()
1756 pMetric->mnDescent += nOtherHalfTmpExtLeading; in GetFontMetric()
1759 pMetric->mnMinKashida = GetMinKashidaWidth(); in GetFontMetric()
1958 const NEWTEXTMETRICEXA* pMetric, in SalEnumFontsProcExA() argument
1992 … ImplWinFontData* pData = ImplLogMetricToDevFontDataA( pLogFont, &(pMetric->ntmTm), nFontType ); in SalEnumFontsProcExA()
2014 const NEWTEXTMETRICEXW* pMetric, in SalEnumFontsProcExW() argument
2048 … ImplWinFontData* pData = ImplLogMetricToDevFontDataW( pLogFont, &(pMetric->ntmTm), nFontType ); in SalEnumFontsProcExW()