Searched defs:startT (Results 1 - 16 of 16) 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.h262 static bool line_is_vertical(const SkPoint a[2], SkScalar , double startT, double endT) { argument
265 SkDPoint dst[2] = { line.ptAtT(startT), line.ptAtT(endT) };
269 static bool quad_is_vertical(const SkPoint a[3], SkScalar , double startT, double endT) { argument
272 SkDQuad dst = quad.subDivide(startT, endT);
276 static bool conic_is_vertical(const SkPoint a[3], SkScalar weight, double startT, double endT) { argument
279 SkDConic dst = conic.subDivide(startT, endT);
283 static bool cubic_is_vertical(const SkPoint a[4], SkScalar , double startT, double endT) { argument
286 SkDCubic dst = cubic.subDivide(startT, endT);
H A DSkOpAngle.cpp916 double startT = fStart->t(); local
921 if (!::between(startT, testTs[index], limitT)) {
925 testTs[testCount++] = startT;
941 // OPTIMIZE: could avoid call for t == startT, endT
H A DSkOpSegment.cpp1568 double startT = startPtT.fT; local
1570 if ((startT == 0 || endT == 0) && (startT == 1 || endT == 1)) {
1582 if (startT == 0) {
1592 edge->fQuad[1] = SkDQuad::SubDivide(fPts, edge->fQuad[0], edge->fQuad[2], startT, endT);
1595 startT, endT, &edge->fConic.fWeight);
1598 SkDCubic::SubDivide(fPts, edge->fCubic[0], edge->fCubic[3], startT, endT, &edge->fCubic[1]);
H A DSkPathOpsTSect.h183 double startT() const { function in class:SkTSpan
1189 double startT = first->fStartT; local
1200 if (prev && prev->fEndT == startT
1201 && this->binarySearchCoin(sect2, startT, prev->fStartT - startT, &coinStart,
1203 && prev->fStartT < coinStart && coinStart < startT
2017 double r1t = fC1Index ? fC1Span->endT() : fC1Span->startT();
2018 double r2t = fC2Index ? fC2Span->endT() : fC2Span->startT();
2035 fC1StartT = span1->startT();
2037 fC2StartT = span2->startT();
[all...]
H A DSkPathOpsDebug.cpp190 void record(GlitchType type, const SkOpSegment* seg, double startT, argument
194 glitch->fStartT = startT;
405 SkDebugf(" startT=%g", glitch.fStartT);
/external/skqp/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.h262 static bool line_is_vertical(const SkPoint a[2], SkScalar , double startT, double endT) { argument
265 SkDPoint dst[2] = { line.ptAtT(startT), line.ptAtT(endT) };
269 static bool quad_is_vertical(const SkPoint a[3], SkScalar , double startT, double endT) { argument
272 SkDQuad dst = quad.subDivide(startT, endT);
276 static bool conic_is_vertical(const SkPoint a[3], SkScalar weight, double startT, double endT) { argument
279 SkDConic dst = conic.subDivide(startT, endT);
283 static bool cubic_is_vertical(const SkPoint a[4], SkScalar , double startT, double endT) { argument
286 SkDCubic dst = cubic.subDivide(startT, endT);
H A DSkOpAngle.cpp916 double startT = fStart->t(); local
921 if (!::between(startT, testTs[index], limitT)) {
925 testTs[testCount++] = startT;
941 // OPTIMIZE: could avoid call for t == startT, endT
H A DSkOpSegment.cpp1568 double startT = startPtT.fT; local
1570 if ((startT == 0 || endT == 0) && (startT == 1 || endT == 1)) {
1582 if (startT == 0) {
1592 edge->fQuad[1] = SkDQuad::SubDivide(fPts, edge->fQuad[0], edge->fQuad[2], startT, endT);
1595 startT, endT, &edge->fConic.fWeight);
1598 SkDCubic::SubDivide(fPts, edge->fCubic[0], edge->fCubic[3], startT, endT, &edge->fCubic[1]);
H A DSkPathOpsTSect.h183 double startT() const { function in class:SkTSpan
1189 double startT = first->fStartT; local
1200 if (prev && prev->fEndT == startT
1201 && this->binarySearchCoin(sect2, startT, prev->fStartT - startT, &coinStart,
1203 && prev->fStartT < coinStart && coinStart < startT
2017 double r1t = fC1Index ? fC1Span->endT() : fC1Span->startT();
2018 double r2t = fC2Index ? fC2Span->endT() : fC2Span->startT();
2035 fC1StartT = span1->startT();
2037 fC2StartT = span2->startT();
[all...]
H A DSkPathOpsDebug.cpp190 void record(GlitchType type, const SkOpSegment* seg, double startT, argument
194 glitch->fStartT = startT;
405 SkDebugf(" startT=%g", glitch.fStartT);
/external/skia/src/core/
H A DSkPathMeasure.cpp37 SkScalar startT, SkScalar stopT, SkPath* dst) {
38 SkASSERT(startT >= 0 && startT <= SK_Scalar1);
40 SkASSERT(startT <= stopT);
42 if (startT == stopT) {
63 if (0 == startT) {
71 SkChopQuadAt(pts, tmp0, startT);
75 SkChopQuadAt(&tmp0[2], tmp1, (stopT - startT) / (1 - startT));
83 if (0 == startT) {
36 SkPathMeasure_segTo(const SkPoint pts[], unsigned segType, SkScalar startT, SkScalar stopT, SkPath* dst) argument
[all...]
/external/skqp/src/core/
H A DSkPathMeasure.cpp37 SkScalar startT, SkScalar stopT, SkPath* dst) {
38 SkASSERT(startT >= 0 && startT <= SK_Scalar1);
40 SkASSERT(startT <= stopT);
42 if (startT == stopT) {
63 if (0 == startT) {
71 SkChopQuadAt(pts, tmp0, startT);
75 SkChopQuadAt(&tmp0[2], tmp1, (stopT - startT) / (1 - startT));
83 if (0 == startT) {
36 SkPathMeasure_segTo(const SkPoint pts[], unsigned segType, SkScalar startT, SkScalar stopT, SkPath* dst) argument
[all...]
/external/skia/tests/
H A DPathOpsAngleTest.cpp481 void SkOpSegment::debugAddAngle(double startT, double endT) { argument
482 SkOpPtT* startPtT = startT == 0 ? fHead.ptT() : startT == 1 ? fTail.ptT()
483 : this->addT(startT);
496 if (startT < endT) {
/external/skqp/tests/
H A DPathOpsAngleTest.cpp481 void SkOpSegment::debugAddAngle(double startT, double endT) { argument
482 SkOpPtT* startPtT = startT == 0 ? fHead.ptT() : startT == 1 ? fTail.ptT()
483 : this->addT(startT);
496 if (startT < endT) {

Completed in 359 milliseconds