Home
last modified time | relevance | path

Searched refs:SkScalarMod (Results 1 – 25 of 30) sorted by relevance

12

/third_party/flutter/skia/src/utils/
DSkDashPath.cpp52 phase = SkScalarMod(phase, len); in CalcDashParameters()
64 phase = SkScalarMod(phase, len); in CalcDashParameters()
128 minXY = leftTop - SkScalarMod(leftTop - minXY, intervalLength); in clip_line()
134 maxXY = rightBottom + SkScalarMod(maxXY - rightBottom, intervalLength); in clip_line()
198 if (clip_line(pts, bounds, intervalLength, SkScalarMod(accum, intervalLength))) { in cull_path()
311 SkScalar endPhase = SkScalarMod(pathLength + initialDashLength, intervalLength); in InternalFilter()
/third_party/skia/tests/
DAsADashTest.cpp45 REPORTER_ASSERT(reporter, SkScalarMod(phase, totalIntSum) == info.fPhase); in DEF_TEST()
58 REPORTER_ASSERT(reporter, SkScalarMod(phase, totalIntSum) == info.fPhase); in DEF_TEST()
/third_party/flutter/skia/tests/
DAsADashTest.cpp45 REPORTER_ASSERT(reporter, SkScalarMod(phase, totalIntSum) == info.fPhase); in DEF_TEST()
58 REPORTER_ASSERT(reporter, SkScalarMod(phase, totalIntSum) == info.fPhase); in DEF_TEST()
/third_party/skia/src/utils/
DSkDashPath.cpp53 phase = SkScalarMod(phase, len); in CalcDashParameters()
65 phase = SkScalarMod(phase, len); in CalcDashParameters()
129 minXY = leftTop - SkScalarMod(leftTop - minXY, intervalLength); in clip_line()
135 maxXY = rightBottom + SkScalarMod(maxXY - rightBottom, intervalLength); in clip_line()
316 SkScalar endPhase = SkScalarMod(pathLength + initialDashLength, intervalLength); in InternalFilter()
/third_party/flutter/skia/src/effects/
DSkDashPathEffect.cpp111 minX = bounds.fLeft - SkScalarMod(bounds.fLeft - minX, intervalLength); in cull_line()
114 maxX = bounds.fRight + SkScalarMod(maxX - bounds.fRight, intervalLength); in cull_line()
144 minY = bounds.fTop - SkScalarMod(bounds.fTop - minY, intervalLength); in cull_line()
147 maxY = bounds.fBottom + SkScalarMod(maxY - bounds.fBottom, intervalLength); in cull_line()
DSk1DPathEffect.cpp53 phase = SkScalarMod(phase, advance); in SkPath1DPathEffect()
57 phase = SkScalarMod(phase, advance); in SkPath1DPathEffect()
/third_party/skia/src/effects/
DSkDashPathEffect.cpp111 minX = bounds.fLeft - SkScalarMod(bounds.fLeft - minX, intervalLength); in cull_line()
114 maxX = bounds.fRight + SkScalarMod(maxX - bounds.fRight, intervalLength); in cull_line()
144 minY = bounds.fTop - SkScalarMod(bounds.fTop - minY, intervalLength); in cull_line()
147 maxY = bounds.fBottom + SkScalarMod(maxY - bounds.fBottom, intervalLength); in cull_line()
DSk1DPathEffect.cpp76 phase = SkScalarMod(phase, advance); in SkPath1DPathEffectImpl()
80 phase = SkScalarMod(phase, advance); in SkPath1DPathEffectImpl()
/third_party/skia/gm/
Dpostercircle.cpp100 SkScalar yRotation = SkScalarMod(kAngleStep * i + in onDraw()
101 360.f * SkScalarMod(fTime / yDuration, yDuration), 360.f); in onDraw()
Dcrbug_224618.cpp54 SkScalar viewportWidth = SkScalarMod(fTime, 10.f) / 10.f * (kMaxVW - kMinVW) + kMinVW; in onDraw()
/third_party/flutter/skia/gm/
Dpostercircle.cpp101 SkScalar yRotation = SkScalarMod(kAngleStep * i + in onDraw()
102 360.f * SkScalarMod(fTime / yDuration, yDuration), 360.f); in onDraw()
/third_party/flutter/skia/samplecode/
DSampleThinAA.cpp360 bool completed = SkScalarMod(newAngle, 15.f) < SkScalarMod(fAngle, 15.f); in onAnimate()
361 fAngle = SkScalarMod(newAngle, 360.f); in onAnimate()
405 case ' ': fAngle = SkScalarMod(fAngle + 15.f, 360.f); return true; in onChar()
DSampleLitAtlas.cpp57 SkScalar newRot = SkScalarMod(fShip.rot() + (2*SK_ScalarPI - SK_ScalarPI/32.0f), in left()
63 SkScalar newRot = SkScalarMod(fShip.rot() + SK_ScalarPI/32.0f, 2 * SK_ScalarPI); in right()
378 fRot = SkScalarMod(fRot, 2 * SK_ScalarPI); in advance()
DSampleDegenerateTwoPtRadials.cpp23 SkASSERT(0 == SkScalarMod(w, SK_Scalar1 * 5)); in draw_gradient2()
DSampleAtlas.cpp110 fRadian = SkScalarMod(fRadian, 2 * SK_ScalarPI); in advance()
DSampleFilterQuality.cpp117 fValue = SkScalarMod(fValue, fMod); in fixUp()
/third_party/skia/samplecode/
DSampleThinAA.cpp364 bool completed = SkScalarMod(newAngle, 15.f) < SkScalarMod(fAngle, 15.f); in onAnimate()
365 fAngle = SkScalarMod(newAngle, 360.f); in onAnimate()
409 case ' ': fAngle = SkScalarMod(fAngle + 15.f, 360.f); return true; in onChar()
DSampleDegenerateTwoPtRadials.cpp23 SkASSERT(0 == SkScalarMod(w, SK_Scalar1 * 5)); in draw_gradient2()
DSampleAtlas.cpp113 fRadian = SkScalarMod(fRadian, 2 * SK_ScalarPI); in advance()
/third_party/skia/modules/sksg/samples/
DSampleSVGPong.cpp52 const SkScalar vMod = (vP < 0) ? P - SkScalarMod(-vP, P) : SkScalarMod(vP, P); in box_reflect()
/third_party/flutter/skia/modules/sksg/samples/
DSampleSVGPong.cpp50 const SkScalar vMod = (vP < 0) ? P - SkScalarMod(-vP, P) : SkScalarMod(vP, P); in box_reflect()
/third_party/skia/include/core/
DSkScalar.h40 #define SkScalarMod(x, y) sk_float_mod(x,y) macro
/third_party/flutter/skia/include/core/
DSkScalar.h40 #define SkScalarMod(x, y) sk_float_mod(x,y) macro
/third_party/flutter/skia/src/shaders/gradients/
DSk4fLinearGradient.cpp70 SkScalar f = SkScalarIsFinite(fx) ? SkScalarMod(fx, 2.0f) : 0; in pinFx()
/third_party/skia/src/shaders/gradients/
DSk4fLinearGradient.cpp71 SkScalar f = SkScalarIsFinite(fx) ? SkScalarMod(fx, 2.0f) : 0; in pinFx()

12