Searched refs:fAdvanceX (Results 1 – 16 of 16) sorted by relevance
/external/skia/src/fonts/ |
D | SkTestScalerContext.cpp | 121 glyph->fAdvanceX = fTestFont->fWidths[glyph->getGlyphID()]; in getAdvance() 130 glyph->fAdvanceX = fTestFont->fWidths[glyph->getGlyphID()]; in getMetrics() 217 const SkVector advance = fMatrix.mapXY(SkFixedToScalar(glyph->fAdvanceX), in generateAdvance() 219 glyph->fAdvanceX = SkScalarToFixed(advance.fX); in generateAdvance() 226 const SkVector advance = fMatrix.mapXY(SkFixedToScalar(glyph->fAdvanceX), in generateMetrics() 228 glyph->fAdvanceX = SkScalarToFixed(advance.fX); in generateMetrics()
|
D | SkGScalerContext.cpp | 82 fMatrix.mapXY(SkFixedToScalar(glyph->fAdvanceX), in generateAdvance() 84 glyph->fAdvanceX = SkScalarToFixed(advance.fX); in generateAdvance() 92 fMatrix.mapXY(SkFixedToScalar(glyph->fAdvanceX), in generateMetrics() 94 glyph->fAdvanceX = SkScalarToFixed(advance.fX); in generateMetrics()
|
/external/skia/src/core/ |
D | SkDrawProcs.h | 102 dst->set(loc.fX - SkFixedToScalar(glyph.fAdvanceX >> 1), in operator() 106 dst->set(loc.fX - SkFixedToScalar(glyph.fAdvanceX), in operator()
|
D | SkGlyph.h | 41 SkFixed fAdvanceX, fAdvanceY; variable
|
D | SkDraw.cpp | 1383 x += autokern.adjust(glyph) + glyph.fAdvanceX; in measure_text() 1674 fx += glyph.fAdvanceX; in drawText() 1805 SkDEBUGCODE(SkFixed prevAdvX = metricGlyph.fAdvanceX;) in drawPosText() 1820 SkASSERT(prevAdvX == glyph.fAdvanceX); in drawPosText()
|
D | SkScalerContext.cpp | 49 fAdvanceX = 0; in zeroMetrics()
|
D | SkPaint.cpp | 826 return (&glyph.fAdvanceX)[xyIndex]; in advance()
|
/external/skia/src/ports/ |
D | SkFontHost_FreeType.cpp | 1019 glyph->fAdvanceX = SkFixedMul(fMatrix22.xx, advance); in generateAdvance() 1101 glyph.fAdvanceX = SkFixedMul(glyph.fAdvanceX, fixedScale); in scaleGlyphMetrics() 1176 glyph->fAdvanceX = -SkFixedMul(fMatrix22.xy, fFace->glyph->linearVertAdvance); in generateMetrics() 1179 glyph->fAdvanceX = -SkFDot6ToFixed(fFace->glyph->advance.x); in generateMetrics() 1184 glyph->fAdvanceX = SkFixedMul(fMatrix22.xx, fFace->glyph->linearHoriAdvance); in generateMetrics() 1187 glyph->fAdvanceX = SkFDot6ToFixed(fFace->glyph->advance.x); in generateMetrics()
|
D | SkFontHost_win.cpp | 856 glyph->fAdvanceX = SkIntToFixed(glyph->fWidth); in generateMetrics() 876 glyph->fAdvanceY = SkFixedMul(-SkFIXEDToFixed(fMat22.eM12), glyph->fAdvanceX); in generateMetrics() 877 glyph->fAdvanceX = SkFixedMul(SkFIXEDToFixed(fMat22.eM11), glyph->fAdvanceX); in generateMetrics() 922 glyph->fAdvanceX = SkIntToFixed(gm.gmCellIncX); in generateMetrics() 933 glyph->fAdvanceX = SkScalarToFixed(advance.fX); in generateMetrics() 941 glyph->fAdvanceX = SkScalarToFixed(advance.fX); in generateMetrics()
|
D | SkScalerContext_win_dw.cpp | 331 glyph->fAdvanceX = 0; in generateAdvance() 371 glyph->fAdvanceX = SkScalarToFixed(vecs[0].fX); in generateAdvance()
|
D | SkFontHost_mac.cpp | 1029 glyph->fAdvanceX = SkFloatToFixed_Check(cgAdvance.width); in generateMetrics()
|
/external/skia/src/gpu/ |
D | GrStencilAndCoverTextContext.cpp | 131 stopX += glyph.fAdvanceX; in onDrawText() 161 fx += SkFixedMul(glyph.fAdvanceX, fixedSizeRatio); in onDrawText()
|
D | GrTextContext.cpp | 231 x += autokern.adjust(glyph) + glyph.fAdvanceX; in MeasureText()
|
D | GrAtlasTextContext.cpp | 885 fx += glyph.fAdvanceX; in internalDrawBMPText() 962 SkDEBUGCODE(SkFixed prevAdvX = metricGlyph.fAdvanceX;) in internalDrawBMPPosText() 976 SkASSERT(prevAdvX == glyph.fAdvanceX); in internalDrawBMPPosText() 1098 SkFixed width = glyph.fAdvanceX + autokern.adjust(glyph); in internalDrawDFText() 1195 SkScalar advanceX = SkFixedToScalar(glyph.fAdvanceX) * alignMul * textRatio; in internalDrawDFPosText()
|
/external/skia/src/pdf/ |
D | SkPDFFont.cpp | 1372 widthArray->appendScalar(SkFixedToScalar(glyph.fAdvanceX)); in populate() 1378 setGlyphWidthAndBoundingBox(SkFixedToScalar(glyph.fAdvanceX), glyphBBox, in populate()
|
D | SkPDFDevice.cpp | 99 xAdv += glyph.fAdvanceX; in align_text()
|