Home
last modified time | relevance | path

Searched refs:yUnitsToPoints (Results 1 – 9 of 9) sorted by relevance

/external/icu/icu4c/source/layout/
DLEFontInstance.cpp110 float LEFontInstance::yUnitsToPoints(float yUnits) const in yUnitsToPoints() function in LEFontInstance
118 points.fY = yUnitsToPoints(units.fY); in unitsToPoints()
140 pixels.fY = yUnitsToPoints(yFunits) * getScaleFactorY(); in transformFunits()
DLEFontInstance.h337 virtual float yUnitsToPoints(float yUnits) const;
DOpenTypeLayoutEngine.cpp523 yPlacement = fFontInstance->yUnitsToPoints(yPlacement); in adjustGlyphPositions()
527 yAdjust += fFontInstance->yUnitsToPoints(yAdvance); in adjustGlyphPositions()
/external/icu/icu4c/source/samples/layout/
DGnomeFontInstance.cpp76 fAscent = (le_int32) (yUnitsToPoints(fFace->ascender) * fDeviceScaleY); in GnomeFontInstance()
77 fDescent = (le_int32) -(yUnitsToPoints(fFace->descender) * fDeviceScaleY); in GnomeFontInstance()
78 fLeading = (le_int32) (yUnitsToPoints(fFace->height) * fDeviceScaleY) - fAscent - fDescent; in GnomeFontInstance()
DGDIFontInstance.cpp280 fAscent = (le_int32) yUnitsToPoints((float) SWAPW(hheaTable->ascent)); in GDIFontInstance()
281 fDescent = (le_int32) yUnitsToPoints((float) SWAPW(hheaTable->descent)); in GDIFontInstance()
282 fLeading = (le_int32) yUnitsToPoints((float) SWAPW(hheaTable->lineGap)); in GDIFontInstance()
394 point.fY = yUnitsToPoints(pt.fY); in getGlyphPoint()
/external/icu/icu4c/source/test/perf/leperf/
DSimpleFontInstance.cpp30 fAscent = (le_int32) yUnitsToPoints(2000.0); in SimpleFontInstance()
31 fDescent = (le_int32) yUnitsToPoints(600.0); in SimpleFontInstance()
DPortableFontInstance.cpp166 fAscent = (le_int32) yUnitsToPoints((float) SWAPW(hheaTable->ascent)); in PortableFontInstance()
167 fDescent = (le_int32) yUnitsToPoints((float) SWAPW(hheaTable->descent)); in PortableFontInstance()
168 fLeading = (le_int32) yUnitsToPoints((float) SWAPW(hheaTable->lineGap)); in PortableFontInstance()
/external/icu/icu4c/source/test/letest/
DSimpleFontInstance.cpp33 fAscent = (le_int32) yUnitsToPoints(2000.0); in SimpleFontInstance()
34 fDescent = (le_int32) yUnitsToPoints(600.0); in SimpleFontInstance()
DPortableFontInstance.cpp167 fAscent = (le_int32) yUnitsToPoints((float) SWAPW(hheaTable->ascent)); in PortableFontInstance()
168 fDescent = (le_int32) yUnitsToPoints((float) SWAPW(hheaTable->descent)); in PortableFontInstance()
169 fLeading = (le_int32) yUnitsToPoints((float) SWAPW(hheaTable->lineGap)); in PortableFontInstance()