Home
last modified time | relevance | path

Searched refs:subDivide (Results 1 – 25 of 31) sorted by relevance

12

/external/skia/src/pathops/
DSkPathOpsConic.h109 SkDConic subDivide(double t1, double t2) const;
110 void subDivide(double t1, double t2, SkDConic* c) const { *c = this->subDivide(t1, t2); } in subDivide() function
115 return conic.subDivide(t1, t2); in SubDivide()
118 SkDPoint subDivide(const SkDPoint& a, const SkDPoint& c, double t1, double t2,
126 return conic.subDivide(a, c, t1, t2, newWeight); in SubDivide()
188 void subDivide(double t1, double t2, SkTCurve* curve) const override { in subDivide() function
189 ((SkTConic*) curve)->fConic = fConic.subDivide(t1, t2); in subDivide()
DSkPathOpsQuad.h95 SkDQuad subDivide(double t1, double t2) const;
96 void subDivide(double t1, double t2, SkDQuad* quad) const { *quad = this->subDivide(t1, t2); } in subDivide() function
101 return quad.subDivide(t1, t2); in SubDivide()
103 SkDPoint subDivide(const SkDPoint& a, const SkDPoint& c, double t1, double t2) const;
108 return quad.subDivide(a, c, t1, t2); in SubDivide()
179 void subDivide(double t1, double t2, SkTCurve* curve) const override { in subDivide() function
180 ((SkTQuad*) curve)->fQuad = fQuad.subDivide(t1, t2); in subDivide()
DSkPathOpsCubic.h120 SkDCubic subDivide(double t1, double t2) const;
121 void subDivide(double t1, double t2, SkDCubic* c) const { *c = this->subDivide(t1, t2); } in subDivide() function
125 return cubic.set(a).subDivide(t1, t2); in SubDivide()
128 void subDivide(const SkDPoint& a, const SkDPoint& d, double t1, double t2, SkDPoint p[2]) const;
133 cubic.set(pts).subDivide(a, d, t1, t2, p); in SubDivide()
235 void subDivide(double t1, double t2, SkTCurve* curve) const override { in subDivide() function
236 ((SkTCubic*) curve)->fCubic = fCubic.subDivide(t1, t2); in subDivide()
DSkPathOpsConic.cpp124 SkDConic SkDConic::subDivide(double t1, double t2) const { in subDivide() function in SkDConic
169 SkDPoint SkDConic::subDivide(const SkDPoint& a, const SkDPoint& c, double t1, double t2, in subDivide() function in SkDConic
171 SkDConic chopped = this->subDivide(t1, t2); in subDivide()
DSkPathOpsTCurve.h42 virtual void subDivide(double t1, double t2, SkTCurve* curve) const = 0;
DSkPathOpsQuad.cpp278 SkDQuad SkDQuad::subDivide(double t1, double t2) const { in subDivide() function in SkDQuad
303 SkDPoint SkDQuad::subDivide(const SkDPoint& a, const SkDPoint& c, double t1, double t2) const { in subDivide() function in SkDQuad
306 SkDQuad sub = subDivide(t1, t2); in subDivide()
DSkPathOpsCurve.h272 SkDQuad dst = quad.subDivide(startT, endT); in quad_is_vertical()
279 SkDConic dst = conic.subDivide(startT, endT); in conic_is_vertical()
286 SkDCubic dst = cubic.subDivide(startT, endT); in cubic_is_vertical()
DSkPathOpsCubic.cpp654 SkDCubic SkDCubic::subDivide(double t1, double t2) const { in subDivide() function in SkDCubic
684 void SkDCubic::subDivide(const SkDPoint& a, const SkDPoint& d, in subDivide() function in SkDCubic
688 SkDCubic sub = subDivide(t1, t2); in subDivide()
DSkOpSegment.cpp172 start->segment()->subDivide(start, end, &curvePart.fCurve); in addCurveTo()
1618 bool SkOpSegment::subDivide(const SkOpSpanBase* start, const SkOpSpanBase* end, in subDivide() function in SkOpSegment
1680 this->subDivide(prior, spanBase, &curvePart); in testForCoincidence()
1685 opp->subDivide(priorPtT->span(), ptT->span(), &oppPart); in testForCoincidence()
DSkOpSegment.h385 bool subDivide(const SkOpSpanBase* start, const SkOpSpanBase* end, SkDCurve* result) const;
/external/skqp/src/pathops/
DSkPathOpsQuad.h95 SkDQuad subDivide(double t1, double t2) const;
96 void subDivide(double t1, double t2, SkDQuad* quad) const { *quad = this->subDivide(t1, t2); } in subDivide() function
101 return quad.subDivide(t1, t2); in SubDivide()
103 SkDPoint subDivide(const SkDPoint& a, const SkDPoint& c, double t1, double t2) const;
108 return quad.subDivide(a, c, t1, t2); in SubDivide()
179 void subDivide(double t1, double t2, SkTCurve* curve) const override { in subDivide() function
180 ((SkTQuad*) curve)->fQuad = fQuad.subDivide(t1, t2); in subDivide()
DSkPathOpsConic.h109 SkDConic subDivide(double t1, double t2) const;
110 void subDivide(double t1, double t2, SkDConic* c) const { *c = this->subDivide(t1, t2); } in subDivide() function
115 return conic.subDivide(t1, t2); in SubDivide()
118 SkDPoint subDivide(const SkDPoint& a, const SkDPoint& c, double t1, double t2,
126 return conic.subDivide(a, c, t1, t2, newWeight); in SubDivide()
188 void subDivide(double t1, double t2, SkTCurve* curve) const override { in subDivide() function
189 ((SkTConic*) curve)->fConic = fConic.subDivide(t1, t2); in subDivide()
DSkPathOpsCubic.h120 SkDCubic subDivide(double t1, double t2) const;
121 void subDivide(double t1, double t2, SkDCubic* c) const { *c = this->subDivide(t1, t2); } in subDivide() function
125 return cubic.set(a).subDivide(t1, t2); in SubDivide()
128 void subDivide(const SkDPoint& a, const SkDPoint& d, double t1, double t2, SkDPoint p[2]) const;
133 cubic.set(pts).subDivide(a, d, t1, t2, p); in SubDivide()
235 void subDivide(double t1, double t2, SkTCurve* curve) const override { in subDivide() function
236 ((SkTCubic*) curve)->fCubic = fCubic.subDivide(t1, t2); in subDivide()
DSkPathOpsConic.cpp124 SkDConic SkDConic::subDivide(double t1, double t2) const { in subDivide() function in SkDConic
169 SkDPoint SkDConic::subDivide(const SkDPoint& a, const SkDPoint& c, double t1, double t2, in subDivide() function in SkDConic
171 SkDConic chopped = this->subDivide(t1, t2); in subDivide()
DSkPathOpsTCurve.h42 virtual void subDivide(double t1, double t2, SkTCurve* curve) const = 0;
DSkPathOpsQuad.cpp278 SkDQuad SkDQuad::subDivide(double t1, double t2) const { in subDivide() function in SkDQuad
303 SkDPoint SkDQuad::subDivide(const SkDPoint& a, const SkDPoint& c, double t1, double t2) const { in subDivide() function in SkDQuad
306 SkDQuad sub = subDivide(t1, t2); in subDivide()
DSkPathOpsCurve.h272 SkDQuad dst = quad.subDivide(startT, endT); in quad_is_vertical()
279 SkDConic dst = conic.subDivide(startT, endT); in conic_is_vertical()
286 SkDCubic dst = cubic.subDivide(startT, endT); in cubic_is_vertical()
DSkPathOpsCubic.cpp652 SkDCubic SkDCubic::subDivide(double t1, double t2) const { in subDivide() function in SkDCubic
682 void SkDCubic::subDivide(const SkDPoint& a, const SkDPoint& d, in subDivide() function in SkDCubic
686 SkDCubic sub = subDivide(t1, t2); in subDivide()
DSkOpSegment.cpp172 start->segment()->subDivide(start, end, &curvePart.fCurve); in addCurveTo()
1618 bool SkOpSegment::subDivide(const SkOpSpanBase* start, const SkOpSpanBase* end, in subDivide() function in SkOpSegment
1680 this->subDivide(prior, spanBase, &curvePart); in testForCoincidence()
1685 opp->subDivide(priorPtT->span(), ptT->span(), &oppPart); in testForCoincidence()
DSkOpSegment.h385 bool subDivide(const SkOpSpanBase* start, const SkOpSpanBase* end, SkDCurve* result) const;
/external/dng_sdk/source/
Ddng_1d_table.cpp50 bool subDivide = (range > (kTableSize >> 8)); in SubDivide() local
52 if (!subDivide) in SubDivide()
61 subDivide = true; in SubDivide()
67 if (subDivide) in SubDivide()
/external/skqp/tests/
DPathOpsTestCommon.cpp27 sub = cubic.subDivide(start, 1); in calc_t_div()
122 SkDCubic part = cubic->subDivide(0, inflectT[0]); in toQuadraticTs()
126 part = cubic->subDivide(inflectT[idx], inflectT[idx + 1]); in toQuadraticTs()
129 part = cubic->subDivide(inflectT[last], 1); in toQuadraticTs()
149 SkDCubic part = cubic.subDivide(tStart, tEnd); in CubicToQuads()
234 SkDCubic part = cubic.subDivide(lo, hi); in CubicPathToSimple()
DPathOpsConicIntersectionTest.cpp146 SkDConic chopped = dConic.subDivide(tIndex / (double) chops, in writeDPng()
171 dChopped[0] = dConic.subDivide(0, t); in chopBothWays()
172 dChopped[1] = dConic.subDivide(t, 1); in chopBothWays()
/external/skia/tests/
DPathOpsTestCommon.cpp28 sub = cubic.subDivide(start, 1); in calc_t_div()
123 SkDCubic part = cubic->subDivide(0, inflectT[0]); in toQuadraticTs()
127 part = cubic->subDivide(inflectT[idx], inflectT[idx + 1]); in toQuadraticTs()
130 part = cubic->subDivide(inflectT[last], 1); in toQuadraticTs()
150 SkDCubic part = cubic.subDivide(tStart, tEnd); in CubicToQuads()
229 SkDCubic part = cubic.subDivide(lo, hi); in CubicPathToSimple()
DPathOpsConicIntersectionTest.cpp145 SkDConic chopped = dConic.subDivide(tIndex / (double) chops, in writeDPng()
169 dChopped[0] = dConic.subDivide(0, t); in chopBothWays()
170 dChopped[1] = dConic.subDivide(t, 1); in chopBothWays()

12