/external/skia/src/pathops/ |
D | SkPathOpsRect.cpp | 13 void SkDRect::setBounds(const SkDQuad& curve, const SkDQuad& sub, double startT, double endT) { in setBounds() argument 25 double t = startT + (endT - startT) * tValues[index]; in setBounds() 30 void SkDRect::setBounds(const SkDConic& curve, const SkDConic& sub, double startT, double endT) { in setBounds() argument 42 double t = startT + (endT - startT) * tValues[index]; in setBounds() 47 void SkDRect::setBounds(const SkDCubic& curve, const SkDCubic& sub, double startT, double endT) { in setBounds() argument 59 double t = startT + (endT - startT) * tValues[index]; in setBounds()
|
D | SkPathOpsCurve.h | 262 static bool line_is_vertical(const SkPoint a[2], SkScalar , double startT, double endT) { in line_is_vertical() argument 265 SkDPoint dst[2] = { line.ptAtT(startT), line.ptAtT(endT) }; in line_is_vertical() 269 static bool quad_is_vertical(const SkPoint a[3], SkScalar , double startT, double endT) { in quad_is_vertical() argument 272 SkDQuad dst = quad.subDivide(startT, endT); in quad_is_vertical() 276 static bool conic_is_vertical(const SkPoint a[3], SkScalar weight, double startT, double endT) { in conic_is_vertical() argument 279 SkDConic dst = conic.subDivide(startT, endT); in conic_is_vertical() 283 static bool cubic_is_vertical(const SkPoint a[4], SkScalar , double startT, double endT) { in cubic_is_vertical() argument 286 SkDCubic dst = cubic.subDivide(startT, endT); in cubic_is_vertical()
|
D | SkPathOpsTSect.cpp | 833 double startT = first->fStartT; in extractCoincident() local 844 if (prev && prev->fEndT == startT in extractCoincident() 845 && this->binarySearchCoin(sect2, startT, prev->fStartT - startT, &coinStart, in extractCoincident() 847 && prev->fStartT < coinStart && coinStart < startT in extractCoincident() 1653 double r1t = fC1Index ? fC1Span->endT() : fC1Span->startT(); in addIntersection() 1654 double r2t = fC2Index ? fC2Span->endT() : fC2Span->startT(); in addIntersection() 1671 fC1StartT = span1->startT(); in findEnd() 1673 fC2StartT = span2->startT(); in findEnd() 1681 SkOPOBJASSERT(i, fC1Span == mate.fC1Span || fC1Span->endT() <= mate.fC1Span->startT() in matesWith() 1682 || mate.fC1Span->endT() <= fC1Span->startT()); in matesWith() [all …]
|
/external/skqp/src/pathops/ |
D | SkPathOpsRect.cpp | 13 void SkDRect::setBounds(const SkDQuad& curve, const SkDQuad& sub, double startT, double endT) { in setBounds() argument 25 double t = startT + (endT - startT) * tValues[index]; in setBounds() 30 void SkDRect::setBounds(const SkDConic& curve, const SkDConic& sub, double startT, double endT) { in setBounds() argument 42 double t = startT + (endT - startT) * tValues[index]; in setBounds() 47 void SkDRect::setBounds(const SkDCubic& curve, const SkDCubic& sub, double startT, double endT) { in setBounds() argument 59 double t = startT + (endT - startT) * tValues[index]; in setBounds()
|
D | SkPathOpsCurve.h | 262 static bool line_is_vertical(const SkPoint a[2], SkScalar , double startT, double endT) { in line_is_vertical() argument 265 SkDPoint dst[2] = { line.ptAtT(startT), line.ptAtT(endT) }; in line_is_vertical() 269 static bool quad_is_vertical(const SkPoint a[3], SkScalar , double startT, double endT) { in quad_is_vertical() argument 272 SkDQuad dst = quad.subDivide(startT, endT); in quad_is_vertical() 276 static bool conic_is_vertical(const SkPoint a[3], SkScalar weight, double startT, double endT) { in conic_is_vertical() argument 279 SkDConic dst = conic.subDivide(startT, endT); in conic_is_vertical() 283 static bool cubic_is_vertical(const SkPoint a[4], SkScalar , double startT, double endT) { in cubic_is_vertical() argument 286 SkDCubic dst = cubic.subDivide(startT, endT); in cubic_is_vertical()
|
D | SkPathOpsTSect.cpp | 832 double startT = first->fStartT; in extractCoincident() local 843 if (prev && prev->fEndT == startT in extractCoincident() 844 && this->binarySearchCoin(sect2, startT, prev->fStartT - startT, &coinStart, in extractCoincident() 846 && prev->fStartT < coinStart && coinStart < startT in extractCoincident() 1652 double r1t = fC1Index ? fC1Span->endT() : fC1Span->startT(); in addIntersection() 1653 double r2t = fC2Index ? fC2Span->endT() : fC2Span->startT(); in addIntersection() 1670 fC1StartT = span1->startT(); in findEnd() 1672 fC2StartT = span2->startT(); in findEnd() 1680 SkOPOBJASSERT(i, fC1Span == mate.fC1Span || fC1Span->endT() <= mate.fC1Span->startT() in matesWith() 1681 || mate.fC1Span->endT() <= fC1Span->startT()); in matesWith() [all …]
|
D | SkOpSegment.cpp | 1630 double startT = startPtT.fT; in subDivide() local 1632 if ((startT == 0 || endT == 0) && (startT == 1 || endT == 1)) { in subDivide() 1644 if (startT == 0) { in subDivide() 1654 edge->fQuad[1] = SkDQuad::SubDivide(fPts, edge->fQuad[0], edge->fQuad[2], startT, endT); in subDivide() 1657 startT, endT, &edge->fConic.fWeight); in subDivide() 1660 SkDCubic::SubDivide(fPts, edge->fCubic[0], edge->fCubic[3], startT, endT, &edge->fCubic[1]); in subDivide()
|
/external/skia/src/effects/ |
D | SkTrimPathEffect.cpp | 48 SkTrimPE::SkTrimPE(SkScalar startT, SkScalar stopT, SkTrimPathEffect::Mode mode) in SkTrimPE() argument 49 : fStartT(startT), fStopT(stopT), fMode(mode) {} in SkTrimPE() 117 sk_sp<SkPathEffect> SkTrimPathEffect::Make(SkScalar startT, SkScalar stopT, Mode mode) { in Make() argument 118 if (!SkScalarsAreFinite(startT, stopT)) { in Make() 122 if (startT <= 0 && stopT >= 1 && mode == Mode::kNormal) { in Make() 126 startT = SkTPin(startT, 0.f, 1.f); in Make() 129 if (startT >= stopT && mode == Mode::kInverted) { in Make() 133 return sk_sp<SkPathEffect>(new SkTrimPE(startT, stopT, mode)); in Make()
|
D | SkTrimPE.h | 17 SkTrimPE(SkScalar startT, SkScalar stopT, SkTrimPathEffect::Mode);
|
/external/skqp/src/effects/ |
D | SkTrimPathEffect.cpp | 53 SkTrimPE::SkTrimPE(SkScalar startT, SkScalar stopT, SkTrimPathEffect::Mode mode) in SkTrimPE() argument 54 : fStartT(startT), fStopT(stopT), fMode(mode) {} in SkTrimPE() 102 sk_sp<SkPathEffect> SkTrimPathEffect::Make(SkScalar startT, SkScalar stopT, Mode mode) { in Make() argument 103 if (!SkScalarsAreFinite(startT, stopT)) { in Make() 107 if (startT <= 0 && stopT >= 1 && mode == Mode::kNormal) { in Make() 111 startT = SkTPin(startT, 0.f, 1.f); in Make() 114 if (startT >= stopT && mode == Mode::kInverted) { in Make() 118 return sk_sp<SkPathEffect>(new SkTrimPE(startT, stopT, mode)); in Make()
|
D | SkTrimPE.h | 17 SkTrimPE(SkScalar startT, SkScalar stopT, SkTrimPathEffect::Mode);
|
/external/skia/modules/skottie/src/layers/shapelayer/ |
D | TrimPaths.cpp | 41 auto startT = std::min(start, end) + offset, in onSync() local 45 if (stopT - startT < 1) { in onSync() 46 startT -= SkScalarFloorToScalar(startT); in onSync() 49 if (startT > stopT) { in onSync() 51 swap(startT, stopT); in onSync() 55 startT = 0; in onSync() 59 this->node()->setStart(startT); in onSync()
|
/external/skia/src/core/ |
D | SkContourMeasure.cpp | 32 SkScalar startT, SkScalar stopT, SkPath* dst) { in SkContourMeasure_segTo() argument 33 SkASSERT(startT >= 0 && startT <= SK_Scalar1); in SkContourMeasure_segTo() 35 SkASSERT(startT <= stopT); in SkContourMeasure_segTo() 37 if (startT == stopT) { in SkContourMeasure_segTo() 60 if (0 == startT) { in SkContourMeasure_segTo() 68 SkChopQuadAt(pts, tmp0, startT); in SkContourMeasure_segTo() 72 SkChopQuadAt(&tmp0[2], tmp1, (stopT - startT) / (1 - startT)); in SkContourMeasure_segTo() 80 if (0 == startT) { in SkContourMeasure_segTo() 92 if (conic.chopAt(startT, tmp1)) { in SkContourMeasure_segTo() 97 conic.chopAt(startT, stopT, &tmp); in SkContourMeasure_segTo() [all …]
|
D | SkPathMeasurePriv.h | 27 SkScalar startT, SkScalar stopT, SkPath* dst);
|
/external/skqp/src/core/ |
D | SkPathMeasure.cpp | 37 SkScalar startT, SkScalar stopT, SkPath* dst) { in SkPathMeasure_segTo() argument 38 SkASSERT(startT >= 0 && startT <= SK_Scalar1); in SkPathMeasure_segTo() 40 SkASSERT(startT <= stopT); in SkPathMeasure_segTo() 42 if (startT == stopT) { in SkPathMeasure_segTo() 65 if (0 == startT) { in SkPathMeasure_segTo() 73 SkChopQuadAt(pts, tmp0, startT); in SkPathMeasure_segTo() 77 SkChopQuadAt(&tmp0[2], tmp1, (stopT - startT) / (1 - startT)); in SkPathMeasure_segTo() 85 if (0 == startT) { in SkPathMeasure_segTo() 97 if (conic.chopAt(startT, tmp1)) { in SkPathMeasure_segTo() 102 conic.chopAt(startT, stopT, &tmp); in SkPathMeasure_segTo() [all …]
|
D | SkPathMeasurePriv.h | 27 SkScalar startT, SkScalar stopT, SkPath* dst);
|
/external/skqp/modules/skottie/src/ |
D | SkottieAdapter.cpp | 242 auto startT = SkTMin(start, end) + offset, in apply() local 246 if (stopT - startT < 1) { in apply() 247 startT -= SkScalarFloorToScalar(startT); in apply() 250 if (startT > stopT) { in apply() 252 swap(startT, stopT); in apply() 256 startT = 0; in apply() 260 fTrimEffect->setStart(startT); in apply()
|
/external/skia/tests/ |
D | PathOpsAngleTest.cpp | 478 void SkOpSegment::debugAddAngle(double startT, double endT) { in debugAddAngle() argument 479 SkOpPtT* startPtT = startT == 0 ? fHead.ptT() : startT == 1 ? fTail.ptT() in debugAddAngle() 480 : this->addT(startT); in debugAddAngle() 493 if (startT < endT) { in debugAddAngle()
|
/external/skqp/tests/ |
D | PathOpsAngleTest.cpp | 481 void SkOpSegment::debugAddAngle(double startT, double endT) { in debugAddAngle() argument 482 SkOpPtT* startPtT = startT == 0 ? fHead.ptT() : startT == 1 ? fTail.ptT() in debugAddAngle() 483 : this->addT(startT); in debugAddAngle() 496 if (startT < endT) { in debugAddAngle()
|
/external/skia/include/effects/ |
D | SkTrimPathEffect.h | 38 static sk_sp<SkPathEffect> Make(SkScalar startT, SkScalar stopT, Mode = Mode::kNormal);
|
/external/skqp/include/effects/ |
D | SkTrimPathEffect.h | 38 static sk_sp<SkPathEffect> Make(SkScalar startT, SkScalar stopT, Mode = Mode::kNormal);
|
/external/skqp/modules/pathkit/ |
D | externs.js | 57 _trim: function(startT, stopT, isComplement) {}, argument 108 PathKit.SkPath.prototype.trim = function(startT, stopT, isComplement) {}; argument
|
D | chaining.js | 178 PathKit.SkPath.prototype.trim = function(startT, stopT, isComplement) { argument 179 if (this._trim(startT, stopT, !!isComplement)) {
|
/external/skia/modules/pathkit/ |
D | externs.js | 57 _trim: function(startT, stopT, isComplement) {}, argument 108 PathKit.SkPath.prototype.trim = function(startT, stopT, isComplement) {}; argument
|
D | chaining.js | 178 PathKit.SkPath.prototype.trim = function(startT, stopT, isComplement) { argument 179 if (this._trim(startT, stopT, !!isComplement)) {
|