/external/skia/src/pathops/ |
SkIntersections.cpp | 15 if (!between(rangeStart, fT[0][index], rangeEnd)) { 30 fT[1][index] = 1 - fT[1][index]; 35 if (fIsCoincident[0] == 3 && between(fT[0][0], one, fT[0][1])) { 39 SkASSERT(fUsed <= 1 || fT[0][0] <= fT[0][1]); 42 double oldOne = fT[0][index]; 43 double oldTwo = fT[1][index]; 54 fT[0][index] = one [all...] |
SkConicLineIntersection.cpp | 32 fUsed = c.intersectRay(fT[0]); 34 fPt[index] = conic.ptAtT(fT[0][index]);
|
SkOpCoincidence.cpp | 23 if (coinRec->fCoinPtTStart->fT > coinPtTEnd->fT) { 26 if (coinRec->fCoinPtTEnd->fT < coinPtTStart->fT) { 29 if (coinRec->fCoinPtTStart->fT > coinPtTStart->fT) { 33 if (coinRec->fCoinPtTEnd->fT < coinPtTEnd->fT) { 45 SkASSERT(coinPtTStart->fT < coinPtTEnd->fT); [all...] |
SkDLineIntersection.cpp | 15 bool startMatch = fT[0][0] == 0 || fT[1][0] == 0 || fT[1][0] == 1; 16 bool endMatch = fT[0][1] == 1 || fT[1][1] == 0 || fT[1][1] == 1; 17 if ((!startMatch && !endMatch) || approximately_equal(fT[0][0], fT[0][1])) { 28 fPt[0] = line.ptAtT(fT[0][0]); 30 fPt[1] = line.ptAtT(fT[0][1]) [all...] |
SkOpSpan.cpp | 25 fT = t; 93 SkASSERT(!zero_or_one(this->fPtT.fT)); 98 if (zero_or_one(ptT->fT)) { 102 if (ptT->fT) { 125 SkASSERT(t == ptT->fT); 133 if (!zero_or_one(test->fT)) { 136 *other->writablePt(!!test->fT) = pt; 230 SkASSERT(this->t() != spanPtT->fT); 231 SkASSERT(!zero_or_one(spanPtT->fT)); 240 if (nextC->span() == remainder->span() && nextC->fT == remainder->fT) [all...] |
SkIntersections.h | 26 sk_bzero(fT, sizeof(fT)); 40 TArray operator[](int n) const { return TArray(fT[n]); } 104 return fUsed > 0 && (t == 0 ? fT[0][0] == 0 : fT[0][fUsed - 1] == 1); 187 fT[(int) swap][tIndex] = t; 212 fT[0][index] = fT[0][index] * (1 + BUMP_EPSILON * 2) - BUMP_EPSILON; 213 if (!between(0, fT[0][index], 1)) { 291 double fT[2][10] [all...] |
SkPathOpsWinding.cpp | 87 fT = span->t() * (1 - t) + span->next()->t() * t; 89 fSlope = segment->dSlopeAtT(fT); 90 fPt = segment->ptAtT(fT); 98 double fT; 134 if (base.fSpan->segment() == this && approximately_equal(base.fT, t)) { 159 && roughly_equal(base.fT, t) 182 newHit->fT = t; 265 hitBase.fT, hitBase.fPt.fX, hitBase.fPt.fY); 277 SkDebugf(" t=%1.9g pt=(%1.9g,%1.9g) slope=(%1.9g,%1.9g)\n", hit->fT, 290 SkASSERT(!approximately_zero(hit->fT) || !hit->fValid) [all...] |
SkPathOpsPostSect.cpp | 25 fT = t; 137 SkASSERT(!zero_or_one(this->fPtT.fT)); 142 if (zero_or_one(ptT->fT)) { 146 if (ptT->fT) { 169 SkASSERT(t == ptT->fT); 177 if (!zero_or_one(test->fT)) { 180 *other->writablePt(!!test->fT) = pt; 262 SkASSERT(this->t() != spanPtT->fT); 263 SkASSERT(!zero_or_one(spanPtT->fT)); 272 if (nextC->span() == remainder->span() && nextC->fT == remainder->fT) [all...] |
SkPathOpsDebug.cpp | 201 SkDebugf(") t=%1.9g (%1.9g,%1.9g)", ptT->fT, ptT->fPt.fX, ptT->fPt.fY); 397 span->fCoinPtTStart->fT, span->fCoinPtTEnd->fT); 400 span->fOppPtTStart->fT, span->fOppPtTEnd->fT); 421 double t = span->ptT()->fT;
|
SkOpSpan.h | 115 double fT; 196 return fPtT.fT == 1; 292 return fPtT.fT;
|
SkOpSegment.h | 202 SkDEBUGCODE(result->ptT()->fT = 0); 278 return ptsDisjoint(span.fT, span.fPt, test.fT, test.fPt); 282 return ptsDisjoint(span.fT, span.fPt, t, pt);
|
SkOpSegment.cpp | 223 if ((testT = test->ptT()->fT) >= t) { 248 if (t == result->fT) { 257 if (loop->segment() == this && loop->fT == t && ptMatch) { 280 if (t < result->fT) { [all...] |
SkDConicLineIntersection.cpp | 348 fUsed = c.intersectRay(fT[0]); 350 fPt[index] = conic.ptAtT(fT[0][index]);
|
SkDCubicLineIntersection.cpp | 422 fUsed = c.intersectRay(fT[0]); 424 fPt[index] = cubic.ptAtT(fT[0][index]);
|
SkDQuadLineIntersection.cpp | 23 y = d(1 - t)^2 + e(1 - t)t + ft^2 30 y = d(1-t)^2 + 2e(1-t)t + ft^2 429 fUsed = q.intersectRay(fT[0]); 431 fPt[index] = quad.ptAtT(fT[0][index]);
|
/hardware/intel/img/psb_video/src/ |
tng_ved_scaling.c | 65 float ft, 67 float fT, 74 fx = ((ft * fI + fi) - (fT * fI / 2)) / (fT * fI / 2); 80 if ((fT / 2 - ft - fi / fI) == 0) 86 fx = 0.9f * fScale * cfPI * (fT / 2 - (ft + fi / fI));
|
/external/skia/tests/ |
PathOpsDebug.cpp | 191 fIsCoincident[0] & (1 << index) ? "*" : "", fT[0][index], 192 fIsCoincident[1] & (1 << index) ? "*" : "", fT[1][index], 896 SkDebugf(" t=%1.9g pt=(%1.9g,%1.9g)%s%s", this->fT, this->fPt.fX, this->fPt.fY, [all...] |
/external/v8/tools/profviz/ |
gnuplot-4.6.3-emscripten.js | [all...] |