/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 | 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/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 …]
|
/external/skia/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/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/src/core/ |
D | SkContourMeasure.cpp | 27 SkScalar startT, SkScalar stopT, SkPath* dst) { in SkContourMeasure_segTo() argument 28 SkASSERT(startT >= 0 && startT <= SK_Scalar1); in SkContourMeasure_segTo() 30 SkASSERT(startT <= stopT); in SkContourMeasure_segTo() 32 if (startT == stopT) { in SkContourMeasure_segTo() 55 if (0 == startT) { in SkContourMeasure_segTo() 63 SkChopQuadAt(pts, tmp0, startT); in SkContourMeasure_segTo() 67 SkChopQuadAt(&tmp0[2], tmp1, (stopT - startT) / (1 - startT)); in SkContourMeasure_segTo() 75 if (0 == startT) { in SkContourMeasure_segTo() 87 if (conic.chopAt(startT, tmp1)) { in SkContourMeasure_segTo() 92 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/modules/skottie/src/ |
D | SkottieAdapter.cpp | 244 auto startT = SkTMin(start, end) + offset, in apply() local 248 if (stopT - startT < 1) { in apply() 249 startT -= SkScalarFloorToScalar(startT); in apply() 252 if (startT > stopT) { in apply() 254 swap(startT, stopT); in apply() 258 startT = 0; in apply() 262 fTrimEffect->setStart(startT); in apply()
|
/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/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/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/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/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);
|