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.cpp195 OUTLINETEXTMETRIC otm; in calculateUPEM() local
196 unsigned int otmRet = GetOutlineTextMetrics(hdc, sizeof(otm), &otm); in calculateUPEM()
199 otmRet = GetOutlineTextMetrics(hdc, sizeof(otm), &otm); in calculateUPEM()
202 return (0 == otmRet) ? 0 : otm.otmEMSquare; in calculateUPEM()
707 OUTLINETEXTMETRIC otm; in SkScalerContext_GDI() local
708 UINT success = GetOutlineTextMetrics(fDDC, sizeof(otm), &otm); in SkScalerContext_GDI()
711 success = GetOutlineTextMetrics(fDDC, sizeof(otm), &otm); in SkScalerContext_GDI()
714 SkScalar upem = SkIntToScalar(otm.otmEMSquare); in SkScalerContext_GDI()
974 OUTLINETEXTMETRIC otm; in generateFontMetrics() local
976 uint32_t ret = GetOutlineTextMetrics(fDDC, sizeof(otm), &otm); in generateFontMetrics()
[all …]