Lines Matching refs:quadT
177 double quadT = rootVals[index]; in intersect() local
178 double lineT = findLineT(quadT); in intersect()
180 if (pinTs(&quadT, &lineT, &pt, kPointUninitialized) && uniqueAnswer(quadT, pt)) { in intersect()
181 fIntersections->insert(quadT, lineT, pt); in intersect()
206 double quadT = rootVals[index]; in horizontalIntersect() local
207 SkDPoint pt = fQuad.ptAtT(quadT); in horizontalIntersect()
209 if (pinTs(&quadT, &lineT, &pt, kPointInitialized) && uniqueAnswer(quadT, pt)) { in horizontalIntersect()
210 fIntersections->insert(quadT, lineT, pt); in horizontalIntersect()
220 bool uniqueAnswer(double quadT, const SkDPoint& pt) { in uniqueAnswer() argument
226 if (quadT == existingQuadT) { in uniqueAnswer()
230 double quadMidT = (existingQuadT + quadT) / 2; in uniqueAnswer()
237 SkDPoint qPt = fQuad.ptAtT(quadT); in uniqueAnswer()
262 double quadT = rootVals[index]; in verticalIntersect() local
263 SkDPoint pt = fQuad.ptAtT(quadT); in verticalIntersect()
265 if (pinTs(&quadT, &lineT, &pt, kPointInitialized) && uniqueAnswer(quadT, pt)) { in verticalIntersect()
266 fIntersections->insert(quadT, lineT, pt); in verticalIntersect()
284 double quadT = (double) (qIndex >> 1); in addExactEndPoints() local
285 fIntersections->insert(quadT, lineT, fQuad[qIndex]); in addExactEndPoints()
291 double quadT = (double) (qIndex >> 1); in addNearEndPoints() local
292 if (fIntersections->hasT(quadT)) { in addNearEndPoints()
299 fIntersections->insert(quadT, lineT, fQuad[qIndex]); in addNearEndPoints()
310 double quadT = ((SkDCurve*) &fQuad)->nearPoint(SkPath::kQuad_Verb, in addLineNearEndPoints() local
312 if (quadT < 0) { in addLineNearEndPoints()
315 fIntersections->insert(quadT, lineT, (*fLine)[lIndex]); in addLineNearEndPoints()
325 double quadT = (double) (qIndex >> 1); in addExactHorizontalEndPoints() local
326 fIntersections->insert(quadT, lineT, fQuad[qIndex]); in addExactHorizontalEndPoints()
332 double quadT = (double) (qIndex >> 1); in addNearHorizontalEndPoints() local
333 if (fIntersections->hasT(quadT)) { in addNearHorizontalEndPoints()
340 fIntersections->insert(quadT, lineT, fQuad[qIndex]); in addNearHorizontalEndPoints()
351 double quadT = (double) (qIndex >> 1); in addExactVerticalEndPoints() local
352 fIntersections->insert(quadT, lineT, fQuad[qIndex]); in addExactVerticalEndPoints()
358 double quadT = (double) (qIndex >> 1); in addNearVerticalEndPoints() local
359 if (fIntersections->hasT(quadT)) { in addNearVerticalEndPoints()
366 fIntersections->insert(quadT, lineT, fQuad[qIndex]); in addNearVerticalEndPoints()
381 bool pinTs(double* quadT, double* lineT, SkDPoint* pt, PinTPoint ptSet) { in pinTs() argument
388 double qT = *quadT = SkPinT(*quadT); in pinTs()
408 *quadT = 0; in pinTs()
411 *quadT = 1; in pinTs()