Home
last modified time | relevance | path

Searched refs:fQuad (Results 1 – 12 of 12) sorted by relevance

/external/skia/src/pathops/
DSkDQuadLineIntersection.cpp97 : fQuad(q) in LineQuadraticIntersections()
105 : fQuad(q) in LineQuadraticIntersections()
119 SkDPoint quadMidPt = fQuad.ptAtT(quadMidT); in checkCoincident()
158 r[n] = (fQuad[n].fY - (*fLine)[0].fY) * adj - (fQuad[n].fX - (*fLine)[0].fX) * opp; in intersectRay()
188 double D = fQuad[2].fY; // f in horizontalIntersect()
189 double E = fQuad[1].fY; // e in horizontalIntersect()
190 double F = fQuad[0].fY; // d in horizontalIntersect()
206 SkDPoint pt = fQuad.ptAtT(quadT); in horizontalIntersect()
230 SkDPoint quadMidPt = fQuad.ptAtT(quadMidT); in uniqueAnswer()
236 SkDPoint qPt = fQuad.ptAtT(quadT); in uniqueAnswer()
[all …]
DSkReduceOrder.cpp92 return coincident_line(quad, fQuad); in reduce()
94 return vertical_line(quad, fQuad); in reduce()
97 return horizontal_line(quad, fQuad); in reduce()
99 int result = check_linear(quad, minX, maxX, minY, maxY, fQuad); in reduce()
103 fQuad = quad; in reduce()
294 *reducePts++ = reducer.fQuad[index].asSkPoint(); in Cubic()
DSkReduceOrder.h29 SkDQuad fQuad; member
DSkPathOpsCurve.cpp36 dRect.setBounds(dCurve, fQuad, tStart, tEnd); in setQuadBounds()
DSkOpSegment.cpp1592 edge->fQuad[1] = SkDQuad::SubDivide(fPts, edge->fQuad[0], edge->fQuad[2], startT, endT); in subDivide()
1594 edge->fConic[1] = SkDConic::SubDivide(fPts, fWeight, edge->fQuad[0], edge->fQuad[2], in subDivide()
DSkPathOpsCurve.h51 SkDQuad fQuad; member
DSkOpSegment.h93 curve.fQuad.set(pts); in addQuad()
DSkOpAngle.cpp969 (void) tangentPart.quadEndPoints(fCurvePart.fQuad); in setSpans()
/external/skia/bench/
DBezierBench.cpp16 SkPath fQuad; member
26 const SkPath& path = rec->fQuad; in draw_quad()
68 fRec.fQuad.moveTo(20, 20); in BezierBench()
69 fRec.fQuad.quadTo(60, 20, 60, 60); in BezierBench()
70 fRec.fQuad.quadTo(20, 60, 20, 100); in BezierBench()
/external/skia/src/core/
DSkStroke.cpp119 SkPoint fQuad[3]; // the stroked quad parallel to the original curve member
141 fQuad[0] = parent->fQuad[0]; in initWithStart()
151 fQuad[2] = parent->fQuad[2]; in initWithEnd()
941 if (!this->conicPerpRay(conic, quadPts->fStartT, &conicStartPt, &quadPts->fQuad[0], in conicQuadEnds()
949 if (!this->conicPerpRay(conic, quadPts->fEndT, &conicEndPt, &quadPts->fQuad[2], in conicQuadEnds()
985 if (!this->cubicPerpRay(cubic, quadPts->fStartT, &cubicStartPt, &quadPts->fQuad[0], in cubicQuadEnds()
993 if (!this->cubicPerpRay(cubic, quadPts->fEndT, &cubicEndPt, &quadPts->fQuad[2], in cubicQuadEnds()
1024 const SkPoint& start = quadPts->fQuad[0]; in intersectRay()
1025 const SkPoint& end = quadPts->fQuad[2]; in intersectRay()
1040 SkPoint* ctrlPt = &quadPts->fQuad[1]; in intersectRay()
[all …]
/external/skia/tests/
DPathOpsBoundsTest.cpp66 curve.fQuad.set(curvePts); in DEF_TEST()
DPathOpsDebug.cpp110 fQuad.dumpID(id); in dumpID()