/third_party/skia/src/core/ |
D | SkCubicClipper.cpp | 45 SkScalar y01 = SkScalarInterp(ycrv[0], ycrv[1], t0); in ChopMonoAtY() 46 SkScalar y12 = SkScalarInterp(ycrv[1], ycrv[2], t0); in ChopMonoAtY() 47 SkScalar y23 = SkScalarInterp(ycrv[2], ycrv[3], t0); in ChopMonoAtY() 48 SkScalar y012 = SkScalarInterp(y01, y12, t0); in ChopMonoAtY() 49 SkScalar y123 = SkScalarInterp(y12, y23, t0); in ChopMonoAtY() 50 SkScalar y0123 = SkScalarInterp(y012, y123, t0); in ChopMonoAtY() 88 SkScalar y01 = SkScalarInterp(ycrv[0], ycrv[1], tMid); in ChopMonoAtY() 89 SkScalar y12 = SkScalarInterp(ycrv[1], ycrv[2], tMid); in ChopMonoAtY() 90 SkScalar y23 = SkScalarInterp(ycrv[2], ycrv[3], tMid); in ChopMonoAtY() 91 SkScalar y012 = SkScalarInterp(y01, y12, tMid); in ChopMonoAtY() [all …]
|
D | SkContourMeasure.cpp | 55 dst->lineTo(SkScalarInterp(pts[0].fX, pts[1].fX, stopT), in SkContourMeasure_segTo() 56 SkScalarInterp(pts[0].fY, pts[1].fY, stopT)); in SkContourMeasure_segTo() 167 SkScalarInterp(pts[0].fX, pts[3].fX, SK_Scalar1/3), in cubic_too_curvy() 168 SkScalarInterp(pts[0].fY, pts[3].fY, SK_Scalar1/3), tolerance) in cubic_too_curvy() 171 SkScalarInterp(pts[0].fX, pts[3].fX, SK_Scalar1*2/3), in cubic_too_curvy() 172 SkScalarInterp(pts[0].fY, pts[3].fY, SK_Scalar1*2/3), tolerance); in cubic_too_curvy() 440 pos->set(SkScalarInterp(pts[0].fX, pts[1].fX, t), in compute_pos_tan() 441 SkScalarInterp(pts[0].fY, pts[1].fY, t)); in compute_pos_tan()
|
D | SkScalar.cpp | 38 return SkScalarInterp(values[right-1], values[right], fract); in SkScalarInterpFunc()
|
/third_party/flutter/skia/src/core/ |
D | SkCubicClipper.cpp | 45 SkScalar y01 = SkScalarInterp(ycrv[0], ycrv[1], t0); in ChopMonoAtY() 46 SkScalar y12 = SkScalarInterp(ycrv[1], ycrv[2], t0); in ChopMonoAtY() 47 SkScalar y23 = SkScalarInterp(ycrv[2], ycrv[3], t0); in ChopMonoAtY() 48 SkScalar y012 = SkScalarInterp(y01, y12, t0); in ChopMonoAtY() 49 SkScalar y123 = SkScalarInterp(y12, y23, t0); in ChopMonoAtY() 50 SkScalar y0123 = SkScalarInterp(y012, y123, t0); in ChopMonoAtY() 88 SkScalar y01 = SkScalarInterp(ycrv[0], ycrv[1], tMid); in ChopMonoAtY() 89 SkScalar y12 = SkScalarInterp(ycrv[1], ycrv[2], tMid); in ChopMonoAtY() 90 SkScalar y23 = SkScalarInterp(ycrv[2], ycrv[3], tMid); in ChopMonoAtY() 91 SkScalar y012 = SkScalarInterp(y01, y12, tMid); in ChopMonoAtY() [all …]
|
D | SkContourMeasure.cpp | 50 dst->lineTo(SkScalarInterp(pts[0].fX, pts[1].fX, stopT), in SkContourMeasure_segTo() 51 SkScalarInterp(pts[0].fY, pts[1].fY, stopT)); in SkContourMeasure_segTo() 162 SkScalarInterp(pts[0].fX, pts[3].fX, SK_Scalar1/3), in cubic_too_curvy() 163 SkScalarInterp(pts[0].fY, pts[3].fY, SK_Scalar1/3), tolerance) in cubic_too_curvy() 166 SkScalarInterp(pts[0].fX, pts[3].fX, SK_Scalar1*2/3), in cubic_too_curvy() 167 SkScalarInterp(pts[0].fY, pts[3].fY, SK_Scalar1*2/3), tolerance); in cubic_too_curvy() 406 pos->set(SkScalarInterp(pts[0].fX, pts[1].fX, t), in compute_pos_tan() 407 SkScalarInterp(pts[0].fY, pts[1].fY, t)); in compute_pos_tan()
|
D | SkScalar.cpp | 34 return SkScalarInterp(values[right-1], values[right], fract); in SkScalarInterpFunc()
|
/third_party/skia/gm/ |
D | gradients_2pt_conical.cpp | 90 center1.set(SkScalarInterp(pts[0].fX, pts[1].fX, SkIntToScalar(3)/5), in Make2ConicalInside() 91 SkScalarInterp(pts[0].fY, pts[1].fY, SkIntToScalar(1)/4)); in Make2ConicalInside() 103 center1.set(SkScalarInterp(pts[0].fX, pts[1].fX, SkIntToScalar(3)/5), in Make2ConicalInsideFlip() 104 SkScalarInterp(pts[0].fY, pts[1].fY, SkIntToScalar(1)/4)); in Make2ConicalInsideFlip() 138 center1.set(SkScalarInterp(pts[0].fX, pts[1].fX, SkIntToScalar(3)/5), in Make2ConicalZeroRad() 139 SkScalarInterp(pts[0].fY, pts[1].fY, SkIntToScalar(1)/4)); in Make2ConicalZeroRad() 151 center1.set(SkScalarInterp(pts[0].fX, pts[1].fX, SkIntToScalar(3)/5), in Make2ConicalZeroRadFlip() 152 SkScalarInterp(pts[0].fY, pts[1].fY, SkIntToScalar(1)/4)); in Make2ConicalZeroRadFlip() 164 center1.set(SkScalarInterp(pts[0].fX, pts[1].fX, SkIntToScalar(3)/5), in Make2ConicalZeroRadCenter() 165 SkScalarInterp(pts[0].fY, pts[1].fY, SkIntToScalar(1)/4)); in Make2ConicalZeroRadCenter() [all …]
|
D | blurroundrect.cpp | 47 center1.set(SkScalarInterp(pts[0].fX, pts[1].fX, SkIntToScalar(3)/5), in MakeRadial() 48 SkScalarInterp(pts[0].fY, pts[1].fY, SkIntToScalar(1)/4)); in MakeRadial()
|
D | gradients_no_texture.cpp | 66 center1.set(SkScalarInterp(pts[0].fX, pts[1].fX, SkIntToScalar(3)/5), in Make2Radial() 67 SkScalarInterp(pts[0].fY, pts[1].fY, SkIntToScalar(1)/4)); in Make2Radial()
|
D | fontscalerdistortable.cpp | 72 SkScalar styleValue = SkScalarInterp(info.axisMin, info.axisMax, in onOnceBeforeDraw()
|
D | gradients.cpp | 130 center1.set(SkScalarInterp(pts[0].fX, pts[1].fX, SkIntToScalar(3)/5), in Make2Radial() 131 SkScalarInterp(pts[0].fY, pts[1].fY, SkIntToScalar(1)/4)); in Make2Radial() 143 center1.set(SkScalarInterp(pts[0].fX, pts[1].fX, SkIntToScalar(3) / 5), in Make2Radial4f() 144 SkScalarInterp(pts[0].fY, pts[1].fY, SkIntToScalar(1) / 4)); in Make2Radial4f()
|
/third_party/flutter/skia/gm/ |
D | gradients_2pt_conical.cpp | 90 center1.set(SkScalarInterp(pts[0].fX, pts[1].fX, SkIntToScalar(3)/5), in Make2ConicalInside() 91 SkScalarInterp(pts[0].fY, pts[1].fY, SkIntToScalar(1)/4)); in Make2ConicalInside() 103 center1.set(SkScalarInterp(pts[0].fX, pts[1].fX, SkIntToScalar(3)/5), in Make2ConicalInsideFlip() 104 SkScalarInterp(pts[0].fY, pts[1].fY, SkIntToScalar(1)/4)); in Make2ConicalInsideFlip() 138 center1.set(SkScalarInterp(pts[0].fX, pts[1].fX, SkIntToScalar(3)/5), in Make2ConicalZeroRad() 139 SkScalarInterp(pts[0].fY, pts[1].fY, SkIntToScalar(1)/4)); in Make2ConicalZeroRad() 151 center1.set(SkScalarInterp(pts[0].fX, pts[1].fX, SkIntToScalar(3)/5), in Make2ConicalZeroRadFlip() 152 SkScalarInterp(pts[0].fY, pts[1].fY, SkIntToScalar(1)/4)); in Make2ConicalZeroRadFlip() 164 center1.set(SkScalarInterp(pts[0].fX, pts[1].fX, SkIntToScalar(3)/5), in Make2ConicalZeroRadCenter() 165 SkScalarInterp(pts[0].fY, pts[1].fY, SkIntToScalar(1)/4)); in Make2ConicalZeroRadCenter() [all …]
|
D | blurroundrect.cpp | 47 center1.set(SkScalarInterp(pts[0].fX, pts[1].fX, SkIntToScalar(3)/5), in MakeRadial() 48 SkScalarInterp(pts[0].fY, pts[1].fY, SkIntToScalar(1)/4)); in MakeRadial()
|
D | blurrect.cpp | 90 center1.set(SkScalarInterp(pts[0].fX, pts[1].fX, SkIntToScalar(3)/5), in make_radial() 91 SkScalarInterp(pts[0].fY, pts[1].fY, SkIntToScalar(1)/4)); in make_radial()
|
D | gradients_no_texture.cpp | 66 center1.set(SkScalarInterp(pts[0].fX, pts[1].fX, SkIntToScalar(3)/5), in Make2Radial() 67 SkScalarInterp(pts[0].fY, pts[1].fY, SkIntToScalar(1)/4)); in Make2Radial()
|
D | fontscalerdistortable.cpp | 74 SkScalar styleValue = SkScalarInterp(tagMin, tagMax, in onDraw()
|
D | gradients.cpp | 130 center1.set(SkScalarInterp(pts[0].fX, pts[1].fX, SkIntToScalar(3)/5), in Make2Radial() 131 SkScalarInterp(pts[0].fY, pts[1].fY, SkIntToScalar(1)/4)); in Make2Radial() 143 center1.set(SkScalarInterp(pts[0].fX, pts[1].fX, SkIntToScalar(3) / 5), in Make2Radial4f() 144 SkScalarInterp(pts[0].fY, pts[1].fY, SkIntToScalar(1) / 4)); in Make2Radial4f()
|
/third_party/skia/docs/examples/ |
D | SkPath_quadTo_example_parametric_animated.cpp | 25 return {SkScalarInterp(a.x(), b.x(), t), in interpolate() 26 SkScalarInterp(a.y(), b.y(), t)}; in interpolate()
|
D | SkPath_cubicTo_example_parametric_animated.cpp | 35 return {SkScalarInterp(a.x(), b.x(), t), in interpolate() 36 SkScalarInterp(a.y(), b.y(), t)}; in interpolate()
|
/third_party/flutter/skia/bench/ |
D | GradientBench.cpp | 81 center1.set(SkScalarInterp(pts[0].fX, pts[1].fX, SkIntToScalar(3)/5), in MakeConical() 82 SkScalarInterp(pts[0].fY, pts[1].fY, SkIntToScalar(1)/4)); in MakeConical() 94 center1.set(SkScalarInterp(pts[0].fX, pts[1].fX, SkIntToScalar(3)/5), in MakeConicalZeroRad() 95 SkScalarInterp(pts[0].fY, pts[1].fY, SkIntToScalar(1)/4)); in MakeConicalZeroRad()
|
/third_party/skia/bench/ |
D | GradientBench.cpp | 81 center1.set(SkScalarInterp(pts[0].fX, pts[1].fX, SkIntToScalar(3)/5), in MakeConical() 82 SkScalarInterp(pts[0].fY, pts[1].fY, SkIntToScalar(1)/4)); in MakeConical() 94 center1.set(SkScalarInterp(pts[0].fX, pts[1].fX, SkIntToScalar(3)/5), in MakeConicalZeroRad() 95 SkScalarInterp(pts[0].fY, pts[1].fY, SkIntToScalar(1)/4)); in MakeConicalZeroRad()
|
/third_party/flutter/skia/samplecode/ |
D | SampleGradients.cpp | 87 center1.set(SkScalarInterp(pts[0].fX, pts[1].fX, SkIntToScalar(3)/5), in Make2Conical() 88 SkScalarInterp(pts[0].fY, pts[1].fY, SkIntToScalar(1)/4)); in Make2Conical()
|
D | SampleFlutterAnimate.cpp | 49 double rot = SkScalarInterp(fChars[i].fStartRotation, fChars[i].fEndRotation, in onDrawContent()
|
/third_party/skia/samplecode/ |
D | SampleGradients.cpp | 86 center1.set(SkScalarInterp(pts[0].fX, pts[1].fX, SkIntToScalar(3)/5), in Make2Conical() 87 SkScalarInterp(pts[0].fY, pts[1].fY, SkIntToScalar(1)/4)); in Make2Conical()
|
D | SampleFlutterAnimate.cpp | 44 double rot = SkScalarInterp(fChars[i].fStartRotation, fChars[i].fEndRotation, in onDrawContent()
|