Home
last modified time | relevance | path

Searched refs:fAdvanceX (Results 1 – 16 of 16) sorted by relevance

/external/skia/src/fonts/
DSkTestScalerContext.cpp123 glyph->fAdvanceX = fTestFont->fWidths[glyph->getGlyphID()]; in getAdvance()
132 glyph->fAdvanceX = fTestFont->fWidths[glyph->getGlyphID()]; in getMetrics()
209 const SkVector advance = fMatrix.mapXY(SkFixedToScalar(glyph->fAdvanceX), in generateAdvance()
211 glyph->fAdvanceX = SkScalarToFixed(advance.fX); in generateAdvance()
218 const SkVector advance = fMatrix.mapXY(SkFixedToScalar(glyph->fAdvanceX), in generateMetrics()
220 glyph->fAdvanceX = SkScalarToFixed(advance.fX); in generateMetrics()
DSkGScalerContext.cpp80 fMatrix.mapXY(SkFixedToScalar(glyph->fAdvanceX), in generateAdvance()
82 glyph->fAdvanceX = SkScalarToFixed(advance.fX); in generateAdvance()
90 fMatrix.mapXY(SkFixedToScalar(glyph->fAdvanceX), in generateMetrics()
92 glyph->fAdvanceX = SkScalarToFixed(advance.fX); in generateMetrics()
/external/skia/src/core/
DSkDrawProcs.h54 dst->set(loc.fX - SkFixedToScalar(glyph.fAdvanceX >> 1), in operator()
58 dst->set(loc.fX - SkFixedToScalar(glyph.fAdvanceX), in operator()
DSkFindAndPlaceGlyph.h350 return {SkFixedToScalar(glyph.fAdvanceX >> 1),
353 return {SkFixedToScalar(glyph.fAdvanceX),
448 return finalPosition + SkPoint{SkFixedToScalar(metricGlyph.fAdvanceX),
466 return finalPosition + SkPoint{SkFixedToScalar(renderGlyph.fAdvanceX),
504 return finalPosition + SkPoint{SkFixedToScalar(glyph.fAdvanceX),
575 x += autokern.adjust(glyph) + glyph.fAdvanceX;
DSkTextToPathIter.h78 SkScalar width = SkScalarMul(SkFixedToScalar((&glyph.fAdvanceX)[0]), fScale); in setPosition()
DSkGlyph.h59 SkFixed fAdvanceX, fAdvanceY; variable
DSkScalerContext.cpp49 fAdvanceX = 0; in zeroMetrics()
DSkPaint.cpp785 return (&glyph.fAdvanceX)[xyIndex]; in advance()
/external/skia/src/ports/
DSkFontHost_FreeType.cpp1029 glyph->fAdvanceX = SkFixedMul(fMatrix22.xx, advance); in generateAdvance()
1111 glyph.fAdvanceX = SkFixedMul(glyph.fAdvanceX, fixedScale); in scaleGlyphMetrics()
1183 glyph->fAdvanceX = -SkFixedMul(fMatrix22.xy, fFace->glyph->linearVertAdvance); in generateMetrics()
1186 glyph->fAdvanceX = -SkFDot6ToFixed(fFace->glyph->advance.x); in generateMetrics()
1191 glyph->fAdvanceX = SkFixedMul(fMatrix22.xx, fFace->glyph->linearHoriAdvance); in generateMetrics()
1194 glyph->fAdvanceX = SkFDot6ToFixed(fFace->glyph->advance.x); in generateMetrics()
DSkFontHost_win.cpp858 glyph->fAdvanceX = SkIntToFixed(glyph->fWidth); in generateMetrics()
878 glyph->fAdvanceY = SkFixedMul(-SkFIXEDToFixed(fMat22.eM12), glyph->fAdvanceX); in generateMetrics()
879 glyph->fAdvanceX = SkFixedMul(SkFIXEDToFixed(fMat22.eM11), glyph->fAdvanceX); in generateMetrics()
924 glyph->fAdvanceX = SkIntToFixed(gm.gmCellIncX); in generateMetrics()
935 glyph->fAdvanceX = SkScalarToFixed(advance.fX); in generateMetrics()
943 glyph->fAdvanceX = SkScalarToFixed(advance.fX); in generateMetrics()
DSkScalerContext_win_dw.cpp346 glyph->fAdvanceX = 0; in generateAdvance()
391 glyph->fAdvanceX = SkScalarToFixed(vecs[0].fX); in generateAdvance()
DSkFontHost_mac.cpp1046 glyph->fAdvanceX = SkFloatToFixed_Check(cgAdvance.width); in generateMetrics()
/external/skia/src/gpu/text/
DGrTextUtils.cpp286 SkFixed width = glyph.fAdvanceX + autokern.adjust(glyph); in DrawDFText()
390 SkScalar advanceX = SkFixedToScalar(glyph.fAdvanceX) * alignMul * textRatio; in DrawDFPosText()
DGrStencilAndCoverTextContext.cpp462 stopX += glyph.fAdvanceX; in setText()
494 fx += SkFixedMul(glyph.fAdvanceX, fixedSizeRatio); in setText()
/external/skia/src/pdf/
DSkPDFFont.cpp1362 widthArray->appendScalar(SkFixedToScalar(glyph.fAdvanceX)); in populate()
1368 setGlyphWidthAndBoundingBox(SkFixedToScalar(glyph.fAdvanceX), glyphBBox, in populate()
DSkPDFDevice.cpp102 xAdv += glyph.fAdvanceX; in align_text()