/external/skia/src/core/ |
D | SkScan.h | 100 xr->fLeft = SkScalarToFixed(src.fLeft); in XRect_set() 101 xr->fTop = SkScalarToFixed(src.fTop); in XRect_set() 102 xr->fRight = SkScalarToFixed(src.fRight); in XRect_set() 103 xr->fBottom = SkScalarToFixed(src.fBottom); in XRect_set()
|
D | SkFindAndPlaceGlyph.h | 386 return {SkScalarToFixed(position.fX + kSubpixelRounding), 0}; 388 return {0, SkScalarToFixed(position.fY + kSubpixelRounding)}; 390 return {SkScalarToFixed(position.fX + kSubpixelRounding), 391 SkScalarToFixed(position.fY + kSubpixelRounding)};
|
D | SkScan_Hairline.cpp | 152 r.set(SkScalarToFixed(rect.fLeft) >> 16, in HairRect() 153 SkScalarToFixed(rect.fTop) >> 16, in HairRect() 154 (SkScalarToFixed(rect.fRight) >> 16) + 1, in HairRect() 155 (SkScalarToFixed(rect.fBottom) >> 16) + 1); in HairRect()
|
D | SkColor.cpp | 82 SkFixed hx = (hsv[0] < 0 || hsv[0] >= SkIntToScalar(360)) ? 0 : SkScalarToFixed(hsv[0]/60); in SkHSVToColor()
|
D | SkMatrix.cpp | 1177 fX = SkScalarToFixed(pt.fX); in SkPerspIter() 1178 fY = SkScalarToFixed(pt.fY); in SkPerspIter() 1196 fX = SkScalarToFixed(pt.fX); in next() 1197 fY = SkScalarToFixed(pt.fY); in next() 1203 fX = SkScalarToFixed(pt.fX); in next() 1204 fY = SkScalarToFixed(pt.fY); in next()
|
D | SkBitmapProcState.cpp | 191 fInvSx = SkScalarToFixed(fInvMatrix.getScaleX()); in chooseProcs() 193 fInvKy = SkScalarToFixed(fInvMatrix.getSkewY()); in chooseProcs()
|
D | SkDraw.cpp | 416 SkFixed x = SkScalarToFixed(devPts[i].fX); in bw_square_proc() 417 SkFixed y = SkScalarToFixed(devPts[i].fY); in bw_square_proc() 433 SkFixed x = SkScalarToFixed(devPts[i].fX); in aa_square_proc() 434 SkFixed y = SkScalarToFixed(devPts[i].fY); in aa_square_proc() 478 fRadius = SkScalarToFixed(SkScalarMul(width, sx)) >> 1; in init()
|
/external/skia/src/effects/ |
D | SkEmbossMask.cpp | 88 SkFixed lx = SkScalarToFixed(light.fDirection[0]); in Emboss() 89 SkFixed ly = SkScalarToFixed(light.fDirection[1]); in Emboss() 90 SkFixed lz = SkScalarToFixed(light.fDirection[2]); in Emboss()
|
D | SkEmbossMaskFilter.cpp | 43 int am = pin2byte(SkScalarToFixed(ambient) >> 8); in CreateEmboss() 46 int sp = pin2byte(SkScalarToFixed(specular) >> 12); in CreateEmboss()
|
D | GrCircleBlurFragmentProcessor.cpp | 241 builder[0] = SkScalarToFixed(sigma); in CreateCircleBlurProfileTexture() 242 builder[1] = SkScalarToFixed(halfWH); in CreateCircleBlurProfileTexture()
|
/external/skia/src/fonts/ |
D | SkGScalerContext.cpp | 82 glyph->fAdvanceX = SkScalarToFixed(advance.fX); in generateAdvance() 83 glyph->fAdvanceY = SkScalarToFixed(advance.fY); in generateAdvance() 92 glyph->fAdvanceX = SkScalarToFixed(advance.fX); in generateMetrics() 93 glyph->fAdvanceY = SkScalarToFixed(advance.fY); in generateMetrics()
|
D | SkTestScalerContext.cpp | 211 glyph->fAdvanceX = SkScalarToFixed(advance.fX); in generateAdvance() 212 glyph->fAdvanceY = SkScalarToFixed(advance.fY); in generateAdvance() 220 glyph->fAdvanceX = SkScalarToFixed(advance.fX); in generateMetrics() 221 glyph->fAdvanceY = SkScalarToFixed(advance.fY); in generateMetrics()
|
/external/skia/include/core/ |
D | SkScalar.h | 36 #define SkScalarToFixed(x) SkFloatToFixed(x) macro 79 #define SkScalarToFixed(x) SkDoubleToFixed(x) macro
|
/external/skia/src/ports/ |
D | SkFontHost_FreeType.cpp | 817 fMatrix22.xx = SkScalarToFixed(fMatrix22Scalar.getScaleX()); in SkScalerContext_FreeType() 818 fMatrix22.xy = SkScalarToFixed(fMatrix22Scalar.getSkewX()); in SkScalerContext_FreeType() 819 fMatrix22.yx = SkScalarToFixed(fMatrix22Scalar.getSkewY()); in SkScalerContext_FreeType() 820 fMatrix22.yy = SkScalarToFixed(fMatrix22Scalar.getScaleY()); in SkScalerContext_FreeType() 1110 SkFixed fixedScale = SkScalarToFixed(scale); in scaleGlyphMetrics() 1787 axisValues[i] = SkScalarToFixed(axisValue); in computeAxisValues()
|
D | SkScalerContext_win_dw.cpp | 391 glyph->fAdvanceX = SkScalarToFixed(vecs[0].fX); in generateAdvance() 392 glyph->fAdvanceY = SkScalarToFixed(vecs[0].fY); in generateAdvance()
|
D | SkFontHost_win.cpp | 142 return SkFixedToFIXED(SkScalarToFixed(x)); in SkScalarToFIXED() 935 glyph->fAdvanceX = SkScalarToFixed(advance.fX); in generateMetrics() 936 glyph->fAdvanceY = SkScalarToFixed(advance.fY); in generateMetrics() 943 glyph->fAdvanceX = SkScalarToFixed(advance.fX); in generateMetrics() 944 glyph->fAdvanceY = SkScalarToFixed(advance.fY); in generateMetrics()
|
/external/skia/src/gpu/text/ |
D | GrStencilAndCoverTextContext.cpp | 481 SkFixed fixedSizeRatio = SkScalarToFixed(fTextRatio); in setText() 483 SkFixed fx = SkScalarToFixed(x); in setText() 484 SkFixed fy = SkScalarToFixed(y); in setText()
|
/external/skia/src/utils/ |
D | SkInterpolator.cpp | 228 return SkScalarToFixed(x) >> 2; in pin_and_convert()
|
/external/skia/samplecode/ |
D | SamplePath.cpp | 66 int ffx = SkScalarToFixed(x); in test_cubic2()
|
D | SamplePatch.cpp | 113 int scale = SkScalarToFixed(v) >> 8; in ScalarTo255()
|
/external/skia/src/effects/gradients/ |
D | SkRadialGradient.cpp | 230 unsigned fi = proc(SkScalarToFixed(srcPt.length())); in shadeSpan()
|
D | SkGradientShader.cpp | 167 recs->fPos = SkScalarToFixed(curr); in SkGradientShaderBase() 168 SkFixed diff = SkScalarToFixed(curr - prev); in SkGradientShaderBase()
|
D | SkLinearGradient.cpp | 337 unsigned fi = proc(SkScalarToFixed(srcPt.fX)); in shadeSpan()
|