Home
last modified time | relevance | path

Searched refs:otm (Results 1 – 2 of 2) sorted by relevance

/external/icu/icu4c/source/samples/layout/
DGDIFontInstance.cpp112 OUTLINETEXTMETRIC otm; in GDIFontInstance() local
163 UINT ret = GetOutlineTextMetrics(hdc, sizeof otm, &otm); in GDIFontInstance()
170 fUnitsPerEM = otm.otmEMSquare; in GDIFontInstance()
171 fAscent = otm.otmTextMetrics.tmAscent; in GDIFontInstance()
172 fDescent = otm.otmTextMetrics.tmDescent; in GDIFontInstance()
173 fLeading = otm.otmTextMetrics.tmExternalLeading; in GDIFontInstance()
197 OUTLINETEXTMETRIC otm; in GDIFontInstance() local
251 UINT ret = GetOutlineTextMetrics(hdc, sizeof otm, &otm); in GDIFontInstance()
254 fUnitsPerEM = otm.otmEMSquare; in GDIFontInstance()
255 fAscent = otm.otmTextMetrics.tmAscent; in GDIFontInstance()
[all …]
/external/skia/src/ports/
DSkFontHost_win.cpp197 OUTLINETEXTMETRIC otm; in calculateUPEM() local
198 unsigned int otmRet = GetOutlineTextMetrics(hdc, sizeof(otm), &otm); in calculateUPEM()
201 otmRet = GetOutlineTextMetrics(hdc, sizeof(otm), &otm); in calculateUPEM()
204 return (0 == otmRet) ? 0 : otm.otmEMSquare; in calculateUPEM()
709 OUTLINETEXTMETRIC otm; in SkScalerContext_GDI() local
710 UINT success = GetOutlineTextMetrics(fDDC, sizeof(otm), &otm); in SkScalerContext_GDI()
713 success = GetOutlineTextMetrics(fDDC, sizeof(otm), &otm); in SkScalerContext_GDI()
716 SkScalar upem = SkIntToScalar(otm.otmEMSquare); in SkScalerContext_GDI()
976 OUTLINETEXTMETRIC otm; in generateFontMetrics() local
978 uint32_t ret = GetOutlineTextMetrics(fDDC, sizeof(otm), &otm); in generateFontMetrics()
[all …]