Home
last modified time | relevance | path

Searched refs:yUnitsToPoints (Results 1 – 11 of 11) 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.h363 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/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.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/chromium_org/third_party/icu/source/test/letest/
DSimpleFontInstance.cpp30 fAscent = (le_int32) yUnitsToPoints(2000.0); in SimpleFontInstance()
31 fDescent = (le_int32) yUnitsToPoints(600.0); in SimpleFontInstance()
DPortableFontInstance.cpp149 fAscent = (le_int32) yUnitsToPoints((float) SWAPW(hheaTable->ascent)); in PortableFontInstance()
150 fDescent = (le_int32) yUnitsToPoints((float) SWAPW(hheaTable->descent)); in PortableFontInstance()
151 fLeading = (le_int32) yUnitsToPoints((float) SWAPW(hheaTable->lineGap)); in PortableFontInstance()
/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()