Home
last modified time | relevance | path

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

/external/skia/src/fonts/
DSkTestScalerContext.cpp121 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()
DSkGScalerContext.cpp82 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/
DSkDrawProcs.h102 dst->set(loc.fX - SkFixedToScalar(glyph.fAdvanceX >> 1), in operator()
106 dst->set(loc.fX - SkFixedToScalar(glyph.fAdvanceX), in operator()
DSkGlyph.h41 SkFixed fAdvanceX, fAdvanceY; variable
DSkDraw.cpp1383 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()
DSkScalerContext.cpp49 fAdvanceX = 0; in zeroMetrics()
DSkPaint.cpp826 return (&glyph.fAdvanceX)[xyIndex]; in advance()
/external/skia/src/ports/
DSkFontHost_FreeType.cpp1019 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()
DSkFontHost_win.cpp856 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()
DSkScalerContext_win_dw.cpp331 glyph->fAdvanceX = 0; in generateAdvance()
371 glyph->fAdvanceX = SkScalarToFixed(vecs[0].fX); in generateAdvance()
DSkFontHost_mac.cpp1029 glyph->fAdvanceX = SkFloatToFixed_Check(cgAdvance.width); in generateMetrics()
/external/skia/src/gpu/
DGrStencilAndCoverTextContext.cpp131 stopX += glyph.fAdvanceX; in onDrawText()
161 fx += SkFixedMul(glyph.fAdvanceX, fixedSizeRatio); in onDrawText()
DGrTextContext.cpp231 x += autokern.adjust(glyph) + glyph.fAdvanceX; in MeasureText()
DGrAtlasTextContext.cpp885 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/
DSkPDFFont.cpp1372 widthArray->appendScalar(SkFixedToScalar(glyph.fAdvanceX)); in populate()
1378 setGlyphWidthAndBoundingBox(SkFixedToScalar(glyph.fAdvanceX), glyphBBox, in populate()
DSkPDFDevice.cpp99 xAdv += glyph.fAdvanceX; in align_text()