Home
last modified time | relevance | path

Searched refs:endT (Results 1 – 23 of 23) 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.cpp1653 double r1t = fC1Index ? fC1Span->endT() : fC1Span->startT(); in addIntersection()
1654 double r2t = fC2Index ? fC2Span->endT() : fC2Span->startT(); in addIntersection()
1672 fC1EndT = span1->endT(); in findEnd()
1674 fC2EndT = span2->endT(); in findEnd()
1681 SkOPOBJASSERT(i, fC1Span == mate.fC1Span || fC1Span->endT() <= mate.fC1Span->startT() in matesWith()
1682 || mate.fC1Span->endT() <= fC1Span->startT()); in matesWith()
1683 SkOPOBJASSERT(i, fC2Span == mate.fC2Span || fC2Span->endT() <= mate.fC2Span->startT() in matesWith()
1684 || mate.fC2Span->endT() <= fC2Span->startT()); in matesWith()
1685 return fC1Span == mate.fC1Span || fC1Span->endT() == mate.fC1Span->startT() in matesWith()
1686 || fC1Span->startT() == mate.fC1Span->endT() in matesWith()
[all …]
DSkOpSegment.h107 SkOpSpanBase::Collapsed collapsed(double startT, double endT) const;
127 void debugAddAngle(double startT, double endT);
DSkOpSegment.cpp1631 double endT = endPtT.fT; in subDivide() local
1632 if ((startT == 0 || endT == 0) && (startT == 1 || endT == 1)) { 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()
DSkPathOpsCubic.h136 double top(const SkDCubic& dCurve, double startT, double endT, SkDPoint*topPt) const;
DSkPathOpsTSect.h126 double endT() const { in endT() function
DSkOpAngle.cpp1019 double endT = fEnd->t(); in setSpans() local
1020 double limitT = endT; in setSpans()
1028 testTs[testCount++] = endT; in setSpans()
DSkPathOpsCubic.cpp723 double SkDCubic::top(const SkDCubic& dCurve, double startT, double endT, SkDPoint*topPt) const { in top() argument
728 double t = startT + (endT - startT) * extremeTs[index]; in top()
DSkPathOpsDebug.cpp191 double endT, const SkOpSegment* oppSeg, double oppStartT, double oppEndT) { in record()
195 glitch->fEndT = endT; in record()
/external/skqp/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.cpp1652 double r1t = fC1Index ? fC1Span->endT() : fC1Span->startT(); in addIntersection()
1653 double r2t = fC2Index ? fC2Span->endT() : fC2Span->startT(); in addIntersection()
1671 fC1EndT = span1->endT(); in findEnd()
1673 fC2EndT = span2->endT(); in findEnd()
1680 SkOPOBJASSERT(i, fC1Span == mate.fC1Span || fC1Span->endT() <= mate.fC1Span->startT() in matesWith()
1681 || mate.fC1Span->endT() <= fC1Span->startT()); in matesWith()
1682 SkOPOBJASSERT(i, fC2Span == mate.fC2Span || fC2Span->endT() <= mate.fC2Span->startT() in matesWith()
1683 || mate.fC2Span->endT() <= fC2Span->startT()); in matesWith()
1684 return fC1Span == mate.fC1Span || fC1Span->endT() == mate.fC1Span->startT() in matesWith()
1685 || fC1Span->startT() == mate.fC1Span->endT() in matesWith()
[all …]
DSkOpSegment.h107 SkOpSpanBase::Collapsed collapsed(double startT, double endT) const;
127 void debugAddAngle(double startT, double endT);
DSkOpSegment.cpp1631 double endT = endPtT.fT; in subDivide() local
1632 if ((startT == 0 || endT == 0) && (startT == 1 || endT == 1)) { 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()
DSkPathOpsCubic.h136 double top(const SkDCubic& dCurve, double startT, double endT, SkDPoint*topPt) const;
DSkPathOpsTSect.h127 double endT() const { in endT() function
DSkOpAngle.cpp1019 double endT = fEnd->t(); in setSpans() local
1020 double limitT = endT; in setSpans()
1028 testTs[testCount++] = endT; in setSpans()
DSkPathOpsCubic.cpp721 double SkDCubic::top(const SkDCubic& dCurve, double startT, double endT, SkDPoint*topPt) const { in top() argument
726 double t = startT + (endT - startT) * extremeTs[index]; in top()
DSkPathOpsDebug.cpp191 double endT, const SkOpSegment* oppSeg, double oppStartT, double oppEndT) { in record()
195 glitch->fEndT = endT; in record()
/external/skqp/tests/
DPathOpsAngleTest.cpp481 void SkOpSegment::debugAddAngle(double startT, double endT) { in debugAddAngle() argument
484 SkOpPtT* endPtT = endT == 0 ? fHead.ptT() : endT == 1 ? fTail.ptT() in debugAddAngle()
485 : this->addT(endT); in debugAddAngle()
496 if (startT < endT) { in debugAddAngle()
/external/skia/tests/
DPathOpsAngleTest.cpp478 void SkOpSegment::debugAddAngle(double startT, double endT) { in debugAddAngle() argument
481 SkOpPtT* endPtT = endT == 0 ? fHead.ptT() : endT == 1 ? fTail.ptT() in debugAddAngle()
482 : this->addT(endT); in debugAddAngle()
493 if (startT < endT) { in debugAddAngle()
/external/zstd/lib/compress/
Dzstd_compress_internal.h791 size_t const endT = (size_t)(window->nextSrc - window->base); in ZSTD_window_clear() local
792 U32 const end = (U32)endT; in ZSTD_window_clear()