Searched refs:endT (Results 1 - 9 of 9) sorted by relevance

/external/skia/src/pathops/
H A DSkPathOpsRect.cpp13 void SkDRect::setBounds(const SkDQuad& curve, const SkDQuad& sub, double startT, double endT) { argument
25 double t = startT + (endT - startT) * tValues[index];
30 void SkDRect::setBounds(const SkDConic& curve, const SkDConic& sub, double startT, double endT) { argument
42 double t = startT + (endT - startT) * tValues[index];
47 void SkDRect::setBounds(const SkDCubic& curve, const SkDCubic& sub, double startT, double endT) { argument
59 double t = startT + (endT - startT) * tValues[index];
H A DSkPathOpsCurve.h198 static bool line_is_vertical(const SkPoint a[2], SkScalar , double startT, double endT) { argument
201 SkDPoint dst[2] = { line.ptAtT(startT), line.ptAtT(endT) };
205 static bool quad_is_vertical(const SkPoint a[3], SkScalar , double startT, double endT) { argument
208 SkDQuad dst = quad.subDivide(startT, endT);
212 static bool conic_is_vertical(const SkPoint a[3], SkScalar weight, double startT, double endT) { argument
215 SkDConic dst = conic.subDivide(startT, endT);
219 static bool cubic_is_vertical(const SkPoint a[4], SkScalar , double startT, double endT) { argument
222 SkDCubic dst = cubic.subDivide(startT, endT);
H A DSkPathOpsCubic.h124 double top(const SkDCubic& dCurve, double startT, double endT, SkDPoint*topPt) const;
H A DSkOpSegment.cpp1590 double endT = endPtT.fT; local
1591 if ((startT == 0 || endT == 0) && (startT == 1 || endT == 1)) {
1615 edge->fPts[1] = SkDQuad::SubDivide(fPts, sub[0], sub[1], startT, endT).asSkPoint();
1618 startT, endT, &edge->fWeight).asSkPoint();
1622 SkDCubic::SubDivide(fPts, sub[0], sub[1], startT, endT, ctrl);
1642 double endT = endPtT.fT; local
1643 if ((startT == 0 || endT == 0) && (startT == 1 || endT == 1)) {
1665 edge->fQuad[1] = SkDQuad::SubDivide(fPts, edge->fQuad[0], edge->fQuad[2], startT, endT);
[all...]
H A DSkPathOpsTSect.h111 double endT() const { function in class:SkTSpan
1894 double r1t = fC1Index ? fC1Span->endT() : fC1Span->startT();
1895 double r2t = fC2Index ? fC2Span->endT() : fC2Span->startT();
1913 fC1EndT = span1->endT();
1915 fC2EndT = span2->endT();
1922 SkASSERT(fC1Span == mate.fC1Span || fC1Span->endT() <= mate.fC1Span->startT()
1923 || mate.fC1Span->endT() <= fC1Span->startT());
1924 SkASSERT(fC2Span == mate.fC2Span || fC2Span->endT() <= mate.fC2Span->startT()
1925 || mate.fC2Span->endT() <= fC2Span->startT());
1926 return fC1Span == mate.fC1Span || fC1Span->endT()
[all...]
H A DSkOpAngle.cpp932 double endT = fEnd->t(); local
933 double limitT = endT;
941 testTs[testCount++] = endT;
956 // OPTIMIZE: could avoid call for t == startT, endT
H A DSkPathOpsCubic.cpp685 double SkDCubic::top(const SkDCubic& dCurve, double startT, double endT, SkDPoint*topPt) const {
690 double t = startT + (endT - startT) * extremeTs[index];
H A DSkOpSegment.h132 void debugAddAngle(double startT, double endT, SkChunkAlloc*);
/external/skia/tests/
H A DPathOpsAngleTest.cpp475 void SkOpSegment::debugAddAngle(double startT, double endT, SkChunkAlloc* allocator) { argument
478 SkOpPtT* endPtT = endT == 0 ? fHead.ptT() : endT == 1 ? fTail.ptT()
479 : this->addT(endT, kNoAlias, allocator);
490 if (startT < endT) {

Completed in 113 milliseconds