Lines Matching refs:aWinMetric

1696     TEXTMETRICA aWinMetric;  in GetFontMetric()  local
1697 const bool bOK = GetTextMetricsA( getHDC(), &aWinMetric ); 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()
1712 pMetric->mbDevice = (aWinMetric.tmPitchAndFamily & TMPF_DEVICE) != 0; in GetFontMetric()
1713 pMetric->mbScalableFont = (aWinMetric.tmPitchAndFamily & (TMPF_VECTOR|TMPF_TRUETYPE)) != 0; 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()
2724 TEXTMETRICA aWinMetric; in CreateFontSubset() local
2725 if( !::GetTextMetricsA( getHDC(), &aWinMetric ) ) in CreateFontSubset()
2728 DBG_ASSERT( !(aWinMetric.tmPitchAndFamily & TMPF_DEVICE), "cannot subset device font" ); in CreateFontSubset()
2729 DBG_ASSERT( aWinMetric.tmPitchAndFamily & TMPF_TRUETYPE, "can only subset TT font" ); in CreateFontSubset()