Searched refs:fAdvanceX (Results 1 – 16 of 16) sorted by relevance
/external/skia/src/fonts/ |
D | SkTestScalerContext.cpp | 123 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()
|
D | SkGScalerContext.cpp | 80 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/ |
D | SkDrawProcs.h | 54 dst->set(loc.fX - SkFixedToScalar(glyph.fAdvanceX >> 1), in operator() 58 dst->set(loc.fX - SkFixedToScalar(glyph.fAdvanceX), in operator()
|
D | SkFindAndPlaceGlyph.h | 350 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;
|
D | SkTextToPathIter.h | 78 SkScalar width = SkScalarMul(SkFixedToScalar((&glyph.fAdvanceX)[0]), fScale); in setPosition()
|
D | SkGlyph.h | 59 SkFixed fAdvanceX, fAdvanceY; variable
|
D | SkScalerContext.cpp | 49 fAdvanceX = 0; in zeroMetrics()
|
D | SkPaint.cpp | 785 return (&glyph.fAdvanceX)[xyIndex]; in advance()
|
/external/skia/src/ports/ |
D | SkFontHost_FreeType.cpp | 1029 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()
|
D | SkFontHost_win.cpp | 858 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()
|
D | SkScalerContext_win_dw.cpp | 346 glyph->fAdvanceX = 0; in generateAdvance() 391 glyph->fAdvanceX = SkScalarToFixed(vecs[0].fX); in generateAdvance()
|
D | SkFontHost_mac.cpp | 1046 glyph->fAdvanceX = SkFloatToFixed_Check(cgAdvance.width); in generateMetrics()
|
/external/skia/src/gpu/text/ |
D | GrTextUtils.cpp | 286 SkFixed width = glyph.fAdvanceX + autokern.adjust(glyph); in DrawDFText() 390 SkScalar advanceX = SkFixedToScalar(glyph.fAdvanceX) * alignMul * textRatio; in DrawDFPosText()
|
D | GrStencilAndCoverTextContext.cpp | 462 stopX += glyph.fAdvanceX; in setText() 494 fx += SkFixedMul(glyph.fAdvanceX, fixedSizeRatio); in setText()
|
/external/skia/src/pdf/ |
D | SkPDFFont.cpp | 1362 widthArray->appendScalar(SkFixedToScalar(glyph.fAdvanceX)); in populate() 1368 setGlyphWidthAndBoundingBox(SkFixedToScalar(glyph.fAdvanceX), glyphBBox, in populate()
|
D | SkPDFDevice.cpp | 102 xAdv += glyph.fAdvanceX; in align_text()
|