/external/skia/src/pathops/ |
D | SkPathOpsTSect.cpp | 19 int SkIntersections::intersect(const SkDConic& conic, const SkDQuad& quad) { in intersect() 20 SkTSect<SkDConic, SkDQuad> sect1(conic in intersect() 22 SkTSect<SkDQuad, SkDConic> sect2(quad in intersect() 24 SkTSect<SkDConic, SkDQuad>::BinarySearch(§1, §2, this); in intersect() 28 int SkIntersections::intersect(const SkDConic& conic1, const SkDConic& conic2) { in intersect() 29 SkTSect<SkDConic, SkDConic> sect1(conic1 in intersect() 31 SkTSect<SkDConic, SkDConic> sect2(conic2 in intersect() 33 SkTSect<SkDConic, SkDConic>::BinarySearch(§1, §2, this); in intersect() 46 int SkIntersections::intersect(const SkDCubic& cubic, const SkDConic& conic) { in intersect() 47 SkTSect<SkDCubic, SkDConic> sect1(cubic in intersect() [all …]
|
D | SkPathOpsConic.h | 14 struct SkDConic { struct 36 SkDConic flip() const { in flip() argument 37 SkDConic result = {{{fPts[2], fPts[1], fPts[0]} in flip() 48 const SkDConic& set(const SkPoint pts[kPointCount], SkScalar weight in set() argument 73 bool hullIntersects(const SkDConic& conic, bool* isLinear) const { in hullIntersects() argument 105 SkDConic subDivide(double t1, double t2) const; argument 107 static SkDConic SubDivide(const SkPoint a[kPointCount], SkScalar weight, double t1, double t2) { in SubDivide() argument 108 SkDConic conic; in SubDivide() 119 SkDConic conic; in SubDivide() argument
|
D | SkDConicLineIntersection.cpp | 19 LineConicIntersections(const SkDConic& c, const SkDLine& l, SkIntersections* i) in LineConicIntersections() 27 LineConicIntersections(const SkDConic& c) in LineConicIntersections() 179 for (int cIndex = 0; cIndex < SkDConic::kPointCount; cIndex += SkDConic::kPointLast) { in addExactEndPoints() 190 for (int cIndex = 0; cIndex < SkDConic::kPointCount; cIndex += SkDConic::kPointLast) { in addNearEndPoints() 220 for (int cIndex = 0; cIndex < SkDConic::kPointCount; cIndex += SkDConic::kPointLast) { in addExactHorizontalEndPoints() 231 for (int cIndex = 0; cIndex < SkDConic::kPointCount; cIndex += SkDConic::kPointLast) { in addNearHorizontalEndPoints() 246 for (int cIndex = 0; cIndex < SkDConic::kPointCount; cIndex += SkDConic::kPointLast) { in addExactVerticalEndPoints() 257 for (int cIndex = 0; cIndex < SkDConic::kPointCount; cIndex += SkDConic::kPointLast) { in addNearVerticalEndPoints() 341 const SkDConic& fConic; 347 int SkIntersections::horizontal(const SkDConic& conic, double left, double right, double y, in horizontal() [all …]
|
D | SkPathOpsConic.cpp | 31 int SkDConic::FindExtrema(const double src[], SkScalar w, double t[1]) { in FindExtrema() 49 SkDVector SkDConic::dxdyAtT(double t) const { in dxdyAtT() 83 bool SkDConic::hullIntersects(const SkDCubic& cubic, bool* isLinear) const { in hullIntersects() 87 SkDPoint SkDConic::ptAtT(double t) const { in ptAtT() 123 SkDConic SkDConic::subDivide(double t1, double t2) const { in subDivide() 159 SkDConic dst = {{{{ax / az, ay / az}, {bx / bz, by / bz}, {cx / cz, cy / cz}} in subDivide() 165 SkDPoint SkDConic::subDivide(const SkDPoint& a, const SkDPoint& c, double t1, double t2, in subDivide() 167 SkDConic chopped = this->subDivide(t1, t2); in subDivide()
|
D | SkIntersections.h | 59 SkDConic conic; in conicHorizontal() 67 SkDConic conic; in conicVertical() 74 SkDConic conic; in conicLine() 247 int horizontal(const SkDConic&, double left, double right, double y, bool flipped); 252 static int HorizontalIntercept(const SkDConic& conic, SkScalar y, double* roots); 261 int intersect(const SkDConic&, const SkDLine&); 262 int intersect(const SkDConic&, const SkDQuad&); 263 int intersect(const SkDConic&, const SkDConic&); 266 int intersect(const SkDCubic&, const SkDConic&); 270 int intersectRay(const SkDConic&, const SkDLine&); [all …]
|
D | SkPathOpsRect.cpp | 30 void SkDRect::setBounds(const SkDConic& curve, const SkDConic& sub, double startT, double endT) { in setBounds() 36 roots = SkDConic::FindExtrema(&sub[0].fX, sub.fWeight, tValues); in setBounds() 39 roots += SkDConic::FindExtrema(&sub[0].fY, sub.fWeight, &tValues[roots]); in setBounds()
|
D | SkPathOpsRect.h | 50 void setBounds(const SkDConic& curve) { in setBounds() 54 void setBounds(const SkDConic& curve, const SkDConic& sub, double tStart, double tEnd);
|
D | SkPathOpsCurve.h | 52 SkDConic fConic; 115 SkDConic conic; in dconic_xy_at_t() 195 SkDConic conic; in dconic_dxdy_at_t() 277 SkDConic conic; in conic_is_vertical() 279 SkDConic dst = conic.subDivide(startT, endT); in conic_is_vertical() 315 SkDConic conic; in conic_intersect_ray() 383 SkDConic conic; in conic_intercept_h() 388 SkDConic conic; in conic_intercept_v()
|
D | SkPathOpsQuad.h | 81 bool hullIntersects(const SkDConic& , bool* isLinear) const;
|
D | SkPathOpsCubic.h | 79 bool hullIntersects(const SkDConic& c, bool* isLinear) const;
|
D | SkPathOpsCurve.cpp | 64 SkDConic dCurve; in setConicBounds()
|
D | SkPathOpsQuad.cpp | 81 bool SkDQuad::hullIntersects(const SkDConic& conic, bool* isLinear) const { in hullIntersects()
|
D | SkPathOpsTypes.h | 564 struct SkDConic;
|
D | SkAddIntersections.cpp | 285 SkDConic conic1, conic2; in AddIntersectTs()
|
D | SkPathOpsCubic.cpp | 206 bool SkDCubic::hullIntersects(const SkDConic& conic, bool* isLinear) const { in hullIntersects()
|
D | SkOpSegment.cpp | 1589 edge->fConic[1] = SkDConic::SubDivide(fPts, fWeight, edge->fQuad[0], edge->fQuad[2], in subDivide()
|
D | SkPathOpsDebug.cpp | 733 void SkDConic::debugSet(const SkDPoint* pts, SkScalar weight) { in debugSet()
|
/external/skia/tests/ |
D | PathOpsDebug.cpp | 59 void SkDConic::dump() const { in dump() 64 void SkDConic::dumpID(int id) const { in dumpID() 69 void SkDConic::dumpInner() const { in dumpInner() 415 SkDConic conic; in DontCallDebugSpan() 418 SkTSect<SkDQuad, SkDConic> q1k2(quad SkDEBUGPARAMS(nullptr) PATH_OPS_DEBUG_T_SECT_PARAMS(1)); in DontCallDebugSpan() 420 SkTSect<SkDConic, SkDQuad> k1q2(conic SkDEBUGPARAMS(nullptr) PATH_OPS_DEBUG_T_SECT_PARAMS(1)); in DontCallDebugSpan() 421 … SkTSect<SkDConic, SkDConic> k1k2(conic SkDEBUGPARAMS(nullptr) PATH_OPS_DEBUG_T_SECT_PARAMS(1)); in DontCallDebugSpan() 422 … SkTSect<SkDConic, SkDCubic> k1c2(conic SkDEBUGPARAMS(nullptr) PATH_OPS_DEBUG_T_SECT_PARAMS(1)); in DontCallDebugSpan() 424 … SkTSect<SkDCubic, SkDConic> c1k2(cubic SkDEBUGPARAMS(nullptr) PATH_OPS_DEBUG_T_SECT_PARAMS(1)); in DontCallDebugSpan() 445 SkDConic conic; in DontCallDebugT() [all …]
|
D | PathOpsConicIntersectionTest.cpp | 47 static void chopCompare(const SkConic chopped[2], const SkDConic dChopped[2]) { in chopCompare() 117 static void writeDPng(const SkDConic& dC, const char* name) { in writeDPng() 119 SkDConic dConic = {{{ {dC.fPts[0].fX * scale, dC.fPts[0].fY * scale }, in writeDPng() 146 SkDConic chopped = dConic.subDivide(tIndex / (double) chops, in writeDPng() 160 static void chopBothWays(const SkDConic& dConic, double t, const char* name) { in chopBothWays() 167 SkDConic dChopped[2]; in chopBothWays() 183 const SkDConic frame0[] = { 188 const SkDConic frame1[] = { 195 const SkDConic frame2[] = { 202 const SkDConic frame3[] = { [all …]
|
D | PathOpsConicLineIntersectionTest.cpp | 32 static int doIntersect(SkIntersections& intersections, const SkDConic& conic, const SkDLine& line, in doIntersect() 73 SkDConic conic; in testOneOffs() 102 SkDConic conic; in DEF_TEST()
|
D | PathOpsTestCommon.h | 34 bool ValidConic(const SkDConic& cubic);
|
D | PathOpsConicQuadIntersectionTest.cpp | 29 SkDConic conic; in conicQuadIntersection()
|
D | PathOpsCubicConicIntersectionTest.cpp | 37 SkDConic conic; in cubicConicIntersection()
|
D | PathOpsTestCommon.cpp | 268 bool ValidConic(const SkDConic& conic) { in ValidConic() 269 for (int index = 0; index < SkDConic::kPointCount; ++index) { in ValidConic()
|
/external/skia/samplecode/ |
D | SampleAAGeometry.cpp | 1274 SkDConic conic; in hittest_verb()
|