Home
last modified time | relevance | path

Searched refs:endT (Results 1 – 9 of 9) 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.h198 static bool line_is_vertical(const SkPoint a[2], SkScalar , double startT, double endT) { in line_is_vertical() argument
201 SkDPoint dst[2] = { line.ptAtT(startT), line.ptAtT(endT) }; in line_is_vertical()
205 static bool quad_is_vertical(const SkPoint a[3], SkScalar , double startT, double endT) { in quad_is_vertical() argument
208 SkDQuad dst = quad.subDivide(startT, endT); in quad_is_vertical()
212 static bool conic_is_vertical(const SkPoint a[3], SkScalar weight, double startT, double endT) { in conic_is_vertical() argument
215 SkDConic dst = conic.subDivide(startT, endT); in conic_is_vertical()
219 static bool cubic_is_vertical(const SkPoint a[4], SkScalar , double startT, double endT) { in cubic_is_vertical() argument
222 SkDCubic dst = cubic.subDivide(startT, endT); in cubic_is_vertical()
DSkOpSegment.cpp1590 double endT = endPtT.fT; in subDivide() local
1591 if ((startT == 0 || endT == 0) && (startT == 1 || endT == 1)) { in subDivide()
1615 edge->fPts[1] = SkDQuad::SubDivide(fPts, sub[0], sub[1], startT, endT).asSkPoint(); in subDivide()
1618 startT, endT, &edge->fWeight).asSkPoint(); in subDivide()
1622 SkDCubic::SubDivide(fPts, sub[0], sub[1], startT, endT, ctrl); in subDivide()
1642 double endT = endPtT.fT; in subDivide() local
1643 if ((startT == 0 || endT == 0) && (startT == 1 || endT == 1)) { in subDivide()
1665 edge->fQuad[1] = SkDQuad::SubDivide(fPts, edge->fQuad[0], edge->fQuad[2], startT, endT); in subDivide()
1668 startT, endT, &edge->fConic.fWeight); in subDivide()
1671 SkDCubic::SubDivide(fPts, edge->fCubic[0], edge->fCubic[3], startT, endT, &edge->fCubic[1]); in subDivide()
DSkPathOpsTSect.h111 double endT() const { in endT() function
1894 double r1t = fC1Index ? fC1Span->endT() : fC1Span->startT(); in addIntersection()
1895 double r2t = fC2Index ? fC2Span->endT() : fC2Span->startT(); in addIntersection()
1913 fC1EndT = span1->endT(); in findEnd()
1915 fC2EndT = span2->endT(); in findEnd()
1922 SkASSERT(fC1Span == mate.fC1Span || fC1Span->endT() <= mate.fC1Span->startT() in matesWith()
1923 || mate.fC1Span->endT() <= fC1Span->startT()); in matesWith()
1924 SkASSERT(fC2Span == mate.fC2Span || fC2Span->endT() <= mate.fC2Span->startT() in matesWith()
1925 || mate.fC2Span->endT() <= fC2Span->startT()); in matesWith()
1926 return fC1Span == mate.fC1Span || fC1Span->endT() == mate.fC1Span->startT() in matesWith()
[all …]
DSkPathOpsCubic.h124 double top(const SkDCubic& dCurve, double startT, double endT, SkDPoint*topPt) const;
DSkOpAngle.cpp932 double endT = fEnd->t(); in setSpans() local
933 double limitT = endT; in setSpans()
941 testTs[testCount++] = endT; in setSpans()
DSkPathOpsCubic.cpp685 double SkDCubic::top(const SkDCubic& dCurve, double startT, double endT, SkDPoint*topPt) const { in top() argument
690 double t = startT + (endT - startT) * extremeTs[index]; in top()
DSkOpSegment.h132 void debugAddAngle(double startT, double endT, SkChunkAlloc*);
/external/skia/tests/
DPathOpsAngleTest.cpp475 void SkOpSegment::debugAddAngle(double startT, double endT, SkChunkAlloc* allocator) { in debugAddAngle() argument
478 SkOpPtT* endPtT = endT == 0 ? fHead.ptT() : endT == 1 ? fTail.ptT() in debugAddAngle()
479 : this->addT(endT, kNoAlias, allocator); in debugAddAngle()
490 if (startT < endT) { in debugAddAngle()