Home
last modified time | relevance | path

Searched refs:startT (Results 1 – 12 of 12) sorted by relevance

/external/skia/src/pathops/
DSkPathOpsRect.cpp13 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()
DSkPathOpsCurve.h262 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()
DSkPathOpsTSect.h183 double startT() const { in startT() function
1189 double startT = first->fStartT; in extractCoincident() local
1200 if (prev && prev->fEndT == startT in extractCoincident()
1201 && this->binarySearchCoin(sect2, startT, prev->fStartT - startT, &coinStart, in extractCoincident()
1203 && prev->fStartT < coinStart && coinStart < startT in extractCoincident()
2004 double r1t = fC1Index ? fC1Span->endT() : fC1Span->startT(); in addIntersection()
2005 double r2t = fC2Index ? fC2Span->endT() : fC2Span->startT(); in addIntersection()
2022 fC1StartT = span1->startT(); in findEnd()
2024 fC2StartT = span2->startT(); in findEnd()
2032 SkOPOBJASSERT(i, fC1Span == mate.fC1Span || fC1Span->endT() <= mate.fC1Span->startT() in matesWith()
[all …]
DSkOpSegment.cpp1565 double startT = startPtT.fT; in subDivide() local
1567 if ((startT == 0 || endT == 0) && (startT == 1 || endT == 1)) { in subDivide()
1579 if (startT == 0) { in subDivide()
1589 edge->fQuad[1] = SkDQuad::SubDivide(fPts, edge->fQuad[0], edge->fQuad[2], startT, endT); in subDivide()
1592 startT, endT, &edge->fConic.fWeight); in subDivide()
1595 SkDCubic::SubDivide(fPts, edge->fCubic[0], edge->fCubic[3], startT, endT, &edge->fCubic[1]); in subDivide()
DSkPathOpsCubic.h131 double top(const SkDCubic& dCurve, double startT, double endT, SkDPoint*topPt) const;
DSkOpSegment.h111 bool collapsed(double startT, double endT) const;
131 void debugAddAngle(double startT, double endT);
DSkPathOpsCubic.cpp728 double SkDCubic::top(const SkDCubic& dCurve, double startT, double endT, SkDPoint*topPt) const { in top() argument
733 double t = startT + (endT - startT) * extremeTs[index]; in top()
DSkOpAngle.cpp916 double startT = fStart->t(); in setSpans() local
921 if (!::between(startT, testTs[index], limitT)) { in setSpans()
925 testTs[testCount++] = startT; in setSpans()
DSkPathOpsDebug.cpp190 void record(GlitchType type, const SkOpSegment* seg, double startT, in record()
194 glitch->fStartT = startT; in record()
/external/skia/src/core/
DSkPathMeasure.cpp37 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()
63 if (0 == startT) { in SkPathMeasure_segTo()
71 SkChopQuadAt(pts, tmp0, startT); in SkPathMeasure_segTo()
75 SkChopQuadAt(&tmp0[2], tmp1, (stopT - startT) / (1 - startT)); in SkPathMeasure_segTo()
83 if (0 == startT) { in SkPathMeasure_segTo()
95 if (conic.chopAt(startT, tmp1)) { in SkPathMeasure_segTo()
100 conic.chopAt(startT, stopT, &tmp); in SkPathMeasure_segTo()
[all …]
DSkPathMeasurePriv.h27 SkScalar startT, SkScalar stopT, SkPath* dst);
/external/skia/tests/
DPathOpsAngleTest.cpp483 void SkOpSegment::debugAddAngle(double startT, double endT) { in debugAddAngle() argument
484 SkOpPtT* startPtT = startT == 0 ? fHead.ptT() : startT == 1 ? fTail.ptT() in debugAddAngle()
485 : this->addT(startT); in debugAddAngle()
498 if (startT < endT) { in debugAddAngle()