Home
last modified time | relevance | path

Searched refs:SkFixedMul (Results 1 – 7 of 7) sorted by relevance

/external/skia/include/core/
DSkFixed.h89 #define SkFixedMul(a,b) SkFixedMul_longlong(a,b) macro
126 #undef SkFixedMul
127 #define SkFixedMul(x, y) SkFixedMul_arm(x, y) macro
/external/skia/src/gpu/
DGrStencilAndCoverTextContext.cpp156 fx += SkFixedMul(autokern.adjust(glyph), fixedSizeRatio); in onDrawText()
161 fx += SkFixedMul(glyph.fAdvanceX, fixedSizeRatio); in onDrawText()
162 fy += SkFixedMul(glyph.fAdvanceY, fixedSizeRatio); in onDrawText()
DGrAtlasTextContext.cpp1099 positions.push_back(SkFixedToScalar(stopX + SkFixedMul(origin, width))); in internalDrawDFText()
1102 positions.push_back(SkFixedToScalar(stopY + SkFixedMul(origin, height))); in internalDrawDFText()
/external/skia/src/ports/
DSkFontHost_FreeType.cpp1019 glyph->fAdvanceX = SkFixedMul(fMatrix22.xx, advance); in generateAdvance()
1020 glyph->fAdvanceY = - SkFixedMul(fMatrix22.yx, advance); in generateAdvance()
1101 glyph.fAdvanceX = SkFixedMul(glyph.fAdvanceX, fixedScale); in scaleGlyphMetrics()
1102 glyph.fAdvanceY = SkFixedMul(glyph.fAdvanceY, fixedScale); in scaleGlyphMetrics()
1176 glyph->fAdvanceX = -SkFixedMul(fMatrix22.xy, fFace->glyph->linearVertAdvance); in generateMetrics()
1177 glyph->fAdvanceY = SkFixedMul(fMatrix22.yy, fFace->glyph->linearVertAdvance); in generateMetrics()
1184 glyph->fAdvanceX = SkFixedMul(fMatrix22.xx, fFace->glyph->linearHoriAdvance); in generateMetrics()
1185 glyph->fAdvanceY = -SkFixedMul(fMatrix22.yx, fFace->glyph->linearHoriAdvance); in generateMetrics()
DSkFontHost_win.cpp876 glyph->fAdvanceY = SkFixedMul(-SkFIXEDToFixed(fMat22.eM12), glyph->fAdvanceX); in generateMetrics()
877 glyph->fAdvanceX = SkFixedMul(SkFIXEDToFixed(fMat22.eM11), glyph->fAdvanceX); in generateMetrics()
/external/skia/src/core/
DSkEdge.h124 fX = SkFDot6ToFixed(x0 + SkFixedMul(slope, dy)); // + SK_Fixed1/2 in setLine()
DSkEdge.cpp76 fX = SkFDot6ToFixed(x0 + SkFixedMul(slope, dy)); // + SK_Fixed1/2 in setLine()
117 fX = SkFDot6ToFixed(x0 + SkFixedMul(slope, dy)); // + SK_Fixed1/2 in updateLine()