/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 | 1652 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 …]
|
D | SkOpSegment.h | 107 SkOpSpanBase::Collapsed collapsed(double startT, double endT) const; 127 void debugAddAngle(double startT, double endT);
|
D | SkOpSegment.cpp | 1631 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()
|
D | SkPathOpsCubic.h | 136 double top(const SkDCubic& dCurve, double startT, double endT, SkDPoint*topPt) const;
|
D | SkPathOpsTSect.h | 127 double endT() const { in endT() function
|
D | SkOpAngle.cpp | 1019 double endT = fEnd->t(); in setSpans() local 1020 double limitT = endT; in setSpans() 1028 testTs[testCount++] = endT; in setSpans()
|
D | SkPathOpsCubic.cpp | 721 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()
|
D | SkPathOpsDebug.cpp | 191 double endT, const SkOpSegment* oppSeg, double oppStartT, double oppEndT) { in record() 195 glitch->fEndT = endT; in record()
|
/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 | 1652 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 …]
|
D | SkOpSegment.h | 107 SkOpSpanBase::Collapsed collapsed(double startT, double endT) const; 127 void debugAddAngle(double startT, double endT);
|
D | SkOpSegment.cpp | 1631 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()
|
D | SkPathOpsCubic.h | 136 double top(const SkDCubic& dCurve, double startT, double endT, SkDPoint*topPt) const;
|
D | SkPathOpsTSect.h | 127 double endT() const { in endT() function
|
D | SkOpAngle.cpp | 1019 double endT = fEnd->t(); in setSpans() local 1020 double limitT = endT; in setSpans() 1028 testTs[testCount++] = endT; in setSpans()
|
D | SkPathOpsCubic.cpp | 721 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()
|
D | SkPathOpsDebug.cpp | 191 double endT, const SkOpSegment* oppSeg, double oppStartT, double oppEndT) { in record() 195 glitch->fEndT = endT; in record()
|
/external/skia/tests/ |
D | PathOpsAngleTest.cpp | 481 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/skqp/tests/ |
D | PathOpsAngleTest.cpp | 481 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()
|