Home
last modified time | relevance | path

Searched refs:fConic (Results 1 – 20 of 20) sorted by relevance

/external/skia/src/pathops/
DSkDConicLineIntersection.cpp20 : fConic(c) in LineConicIntersections()
28 : fConic(c) in LineConicIntersections()
42 SkDPoint conicMidPt = fConic.ptAtT(conicMidT); in checkCoincident()
68 double conicVals[] = { fConic[0].fY, fConic[1].fY, fConic[2].fY }; in horizontalIntersect()
81 SkDPoint pt = fConic.ptAtT(conicT); in horizontalIntersect()
82 SkDEBUGCODE(double conicVals[] = { fConic[0].fY, fConic[1].fY, fConic[2].fY }); in horizontalIntersect()
110 SkDEBUGCODE(SkDPoint conicPt = fConic.ptAtT(conicT)); in intersect()
130 r[n] = (fConic[n].fY - (*fLine)[0].fY) * adj - (fConic[n].fX - (*fLine)[0].fX) * opp; in intersectRay()
137 double B = r[1] * fConic.fWeight - axisIntercept * fConic.fWeight + axisIntercept; in validT()
146 double conicVals[] = { fConic[0].fX, fConic[1].fX, fConic[2].fX }; in verticalIntersect()
[all …]
DSkPathOpsConic.h138 SkDConic fConic;
143 : fConic(c) { in SkTConic()
148 const SkDPoint& operator[](int n) const override { return fConic[n]; }
149 SkDPoint& operator[](int n) override { return fConic[n]; }
151 bool collapsed() const override { return fConic.collapsed(); } in collapsed()
152 bool controlsInside() const override { return fConic.controlsInside(); } in controlsInside()
153 void debugInit() override { return fConic.debugInit(); } in debugInit()
155 void dumpID(int id) const override { return fConic.dumpID(id); } in dumpID()
157 SkDVector dxdyAtT(double t) const override { return fConic.dxdyAtT(t); } in dxdyAtT()
159 SkOpGlobalState* globalState() const override { return fConic.globalState(); } in globalState()
[all …]
DSkPathOpsConic.cpp177 return i->intersectRay(fConic, line); in intersectRay()
181 return quad.hullIntersects(fConic, isLinear); in hullIntersects()
185 return cubic.hullIntersects(fConic, isLinear); in hullIntersects()
189 rect->setBounds(fConic); in setBounds()
DSkPathOpsCurve.h52 SkDConic fConic; member
143 return c.fConic.ptAtT(t); in ddconic_xy_at_t()
223 return c.fConic.dxdyAtT(t); in ddconic_dxdy_at_t()
345 i->intersectRay(c.fConic, ray); in dconic_intersect_ray()
DSkPathOpsCurve.cpp67 dRect.setBounds(dCurve, fConic, tStart, tEnd); in setConicBounds()
DSkOpSegment.cpp184 path->conicTo(curvePart.fCurve.fConic[1].asSkPoint(), end->ptT(), in addCurveTo()
185 curvePart.fCurve.fConic.fWeight); in addCurveTo()
1639 edge->fConic[1].set(fPts[1]); in subDivide()
1640 edge->fConic.fWeight = fWeight; in subDivide()
1656 edge->fConic[1] = SkDConic::SubDivide(fPts, fWeight, edge->fQuad[0], edge->fQuad[2], in subDivide()
1657 startT, endT, &edge->fConic.fWeight); in subDivide()
DSkOpSegment.h47 curve.fConic.set(pts, weight); in addConic()
DSkPathOpsDebug.cpp1145 str->appendf(" %1.9gf", curvePart.fConic.fWeight); in debugShowActiveSpans()
1288 CONIC_DEBUG_DATA(fPart.fCurve, fPart.fCurve.fConic.fWeight), in debugPart()
/external/skqp/src/pathops/
DSkDConicLineIntersection.cpp20 : fConic(c) in LineConicIntersections()
28 : fConic(c) in LineConicIntersections()
42 SkDPoint conicMidPt = fConic.ptAtT(conicMidT); in checkCoincident()
68 double conicVals[] = { fConic[0].fY, fConic[1].fY, fConic[2].fY }; in horizontalIntersect()
81 SkDPoint pt = fConic.ptAtT(conicT); in horizontalIntersect()
82 SkDEBUGCODE(double conicVals[] = { fConic[0].fY, fConic[1].fY, fConic[2].fY }); in horizontalIntersect()
110 SkDEBUGCODE(SkDPoint conicPt = fConic.ptAtT(conicT)); in intersect()
130 r[n] = (fConic[n].fY - (*fLine)[0].fY) * adj - (fConic[n].fX - (*fLine)[0].fX) * opp; in intersectRay()
137 double B = r[1] * fConic.fWeight - axisIntercept * fConic.fWeight + axisIntercept; in validT()
146 double conicVals[] = { fConic[0].fX, fConic[1].fX, fConic[2].fX }; in verticalIntersect()
[all …]
DSkPathOpsConic.h138 SkDConic fConic;
143 : fConic(c) { in SkTConic()
148 const SkDPoint& operator[](int n) const override { return fConic[n]; }
149 SkDPoint& operator[](int n) override { return fConic[n]; }
151 bool collapsed() const override { return fConic.collapsed(); } in collapsed()
152 bool controlsInside() const override { return fConic.controlsInside(); } in controlsInside()
153 void debugInit() override { return fConic.debugInit(); } in debugInit()
155 void dumpID(int id) const override { return fConic.dumpID(id); } in dumpID()
157 SkDVector dxdyAtT(double t) const override { return fConic.dxdyAtT(t); } in dxdyAtT()
159 SkOpGlobalState* globalState() const override { return fConic.globalState(); } in globalState()
[all …]
DSkPathOpsConic.cpp177 return i->intersectRay(fConic, line); in intersectRay()
181 return quad.hullIntersects(fConic, isLinear); in hullIntersects()
185 return cubic.hullIntersects(fConic, isLinear); in hullIntersects()
189 rect->setBounds(fConic); in setBounds()
DSkPathOpsCurve.h52 SkDConic fConic; member
143 return c.fConic.ptAtT(t); in ddconic_xy_at_t()
223 return c.fConic.dxdyAtT(t); in ddconic_dxdy_at_t()
345 i->intersectRay(c.fConic, ray); in dconic_intersect_ray()
DSkPathOpsCurve.cpp67 dRect.setBounds(dCurve, fConic, tStart, tEnd); in setConicBounds()
DSkOpSegment.cpp184 path->conicTo(curvePart.fCurve.fConic[1].asSkPoint(), end->ptT(), in addCurveTo()
185 curvePart.fCurve.fConic.fWeight); in addCurveTo()
1639 edge->fConic[1].set(fPts[1]); in subDivide()
1640 edge->fConic.fWeight = fWeight; in subDivide()
1656 edge->fConic[1] = SkDConic::SubDivide(fPts, fWeight, edge->fQuad[0], edge->fQuad[2], in subDivide()
1657 startT, endT, &edge->fConic.fWeight); in subDivide()
DSkOpSegment.h47 curve.fConic.set(pts, weight); in addConic()
DSkPathOpsDebug.cpp1168 str->appendf(" %1.9gf", curvePart.fConic.fWeight); in debugShowActiveSpans()
1311 CONIC_DEBUG_DATA(fPart.fCurve, fPart.fCurve.fConic.fWeight), in debugPart()
/external/skqp/src/gpu/ops/
DGrAAHairLinePathRenderer.cpp482 } fConic; member
617 klm.mapHomogeneousPoints((SkPoint3* ) verts[i].fConic.fKLM, &pt3, 1); in set_conic_coeffs()
/external/skia/src/gpu/ops/
DGrAAHairLinePathRenderer.cpp483 } fConic; member
619 klm.mapHomogeneousPoints((SkPoint3* ) verts[i].fConic.fKLM, &pt3, 1); in set_conic_coeffs()
/external/skqp/tests/
DPathOpsDebug.cpp129 fConic.dumpID(id); in dumpID()
/external/skia/tests/
DPathOpsDebug.cpp129 fConic.dumpID(id); in dumpID()