/external/skqp/src/core/ |
D | SkGeometry.h | 228 struct SkConic { struct 229 SkConic() {} in SkConic() argument 230 SkConic(const SkPoint& p0, const SkPoint& p1, const SkPoint& p2, SkScalar w) { in SkConic() argument 236 SkConic(const SkPoint pts[3], SkScalar w) { in SkConic() function 264 bool SK_WARN_UNUSED_RESULT chopAt(SkScalar t, SkConic dst[2]) const; argument 265 void chopAt(SkScalar t1, SkScalar t2, SkConic* dst) const; 266 void chop(SkConic dst[2]) const; 288 bool chopAtXExtrema(SkConic dst[2]) const; 289 bool chopAtYExtrema(SkConic dst[2]) const; 309 const SkMatrix*, SkConic conics[kMaxConicsForArc]); argument [all …]
|
D | SkGeometry.cpp | 1043 bool SkConic::chopAt(SkScalar t, SkConic dst[2]) const { in chopAt() 1070 SkASSERT(0 == offsetof(SkConic, fPts[0].fX)); in chopAt() 1074 void SkConic::chopAt(SkScalar t1, SkScalar t2, SkConic* dst) const { in chopAt() 1080 SkConic pair[2]; in chopAt() 1106 SkPoint SkConic::evalAt(SkScalar t) const { in evalAt() 1110 SkVector SkConic::evalTangentAt(SkScalar t) const { in evalTangentAt() 1132 void SkConic::evalAt(SkScalar t, SkPoint* pt, SkVector* tangent) const { in evalAt() 1147 void SkConic::chop(SkConic * SK_RESTRICT dst) const { in chop() 1185 void SkConic::computeAsQuadError(SkVector* err) const { in computeAsQuadError() 1190 bool SkConic::asQuadTol(SkScalar tol) const { in asQuadTol() [all …]
|
D | SkPathMeasure.cpp | 83 SkConic conic(pts[0], pts[2], pts[3], pts[1].fX); in SkPathMeasure_segTo() 89 SkConic tmp[2]; in SkPathMeasure_segTo() 96 SkConic tmp1[2]; in SkPathMeasure_segTo() 101 SkConic tmp; in SkPathMeasure_segTo() 259 SkScalar SkPathMeasure::compute_conic_segs(const SkConic& conic, SkScalar distance, in compute_conic_segs() 385 const SkConic conic(pts, fIter.conicWeight()); in buildSegments() 477 SkConic(pts[0], pts[2], pts[3], pts[1].fX).evalAt(t, pos, tangent); in compute_pos_tan()
|
D | SkStrokerPriv.cpp | 124 SkConic conics[SkConic::kMaxConicsForArc]; in RoundJoiner() 125 int count = SkConic::BuildUnitArc(before, after, dir, &matrix, conics); in RoundJoiner()
|
D | SkStroke.cpp | 205 static ReductionType CheckConicLinear(const SkConic& , SkPoint* reduction); 209 ResultType compareQuadConic(const SkConic& , SkQuadConstruct* ) const; 212 void conicPerpRay(const SkConic& , SkScalar t, SkPoint* tPt, SkPoint* onPt, 214 void conicQuadEnds(const SkConic& , SkQuadConstruct* ) const; 215 bool conicStroke(const SkConic& , SkQuadConstruct* ); 228 void setConicEndNormal(const SkConic& , 458 void SkPathStroker::setConicEndNormal(const SkConic& conic, const SkVector& normalAB, in setConicEndNormal() 599 static bool conic_in_line(const SkConic& conic) { in conic_in_line() 642 SkPathStroker::ReductionType SkPathStroker::CheckConicLinear(const SkConic& conic, in CheckConicLinear() 687 const SkConic conic(fPrevPt, pt1, pt2, weight); in conicTo() [all …]
|
/external/skia/src/core/ |
D | SkGeometry.h | 297 struct SkConic { struct 298 SkConic() {} in SkConic() function 299 SkConic(const SkPoint& p0, const SkPoint& p1, const SkPoint& p2, SkScalar w) { in SkConic() function 305 SkConic(const SkPoint pts[3], SkScalar w) { in SkConic() argument 333 bool SK_WARN_UNUSED_RESULT chopAt(SkScalar t, SkConic dst[2]) const; argument 334 void chopAt(SkScalar t1, SkScalar t2, SkConic* dst) const; 335 void chop(SkConic dst[2]) const; 358 bool chopAtXExtrema(SkConic dst[2]) const; 359 bool chopAtYExtrema(SkConic dst[2]) const; 379 const SkMatrix*, SkConic conics[kMaxConicsForArc]); argument [all …]
|
D | SkGeometry.cpp | 1246 bool SkConic::chopAt(SkScalar t, SkConic dst[2]) const { in chopAt() 1273 SkASSERT(0 == offsetof(SkConic, fPts[0].fX)); in chopAt() 1277 void SkConic::chopAt(SkScalar t1, SkScalar t2, SkConic* dst) const { in chopAt() 1283 SkConic pair[2]; in chopAt() 1309 SkPoint SkConic::evalAt(SkScalar t) const { in evalAt() 1313 SkVector SkConic::evalTangentAt(SkScalar t) const { in evalTangentAt() 1335 void SkConic::evalAt(SkScalar t, SkPoint* pt, SkVector* tangent) const { in evalAt() 1350 void SkConic::chop(SkConic * SK_RESTRICT dst) const { in chop() 1388 void SkConic::computeAsQuadError(SkVector* err) const { in computeAsQuadError() 1393 bool SkConic::asQuadTol(SkScalar tol) const { in asQuadTol() [all …]
|
D | SkContourMeasure.cpp | 78 SkConic conic(pts[0], pts[2], pts[3], pts[1].fX); in SkContourMeasure_segTo() 84 SkConic tmp[2]; in SkContourMeasure_segTo() 91 SkConic tmp1[2]; in SkContourMeasure_segTo() 96 SkConic tmp; in SkContourMeasure_segTo() 200 SkScalar compute_conic_segs(const SkConic& conic, SkScalar distance, 233 SkScalar SkContourMeasureIter::Impl::compute_conic_segs(const SkConic& conic, SkScalar distance, in compute_conic_segs() 383 const SkConic conic(pts, *w); in buildSegments() 454 SkConic(pts[0], pts[2], pts[3], pts[1].fX).evalAt(t, pos, tangent); in compute_pos_tan()
|
D | SkStrokerPriv.cpp | 124 SkConic conics[SkConic::kMaxConicsForArc]; in RoundJoiner() 125 int count = SkConic::BuildUnitArc(before, after, dir, &matrix, conics); in RoundJoiner()
|
D | SkStroke.cpp | 238 static ReductionType CheckConicLinear(const SkConic& , SkPoint* reduction); 242 ResultType compareQuadConic(const SkConic& , SkQuadConstruct* ) const; 245 void conicPerpRay(const SkConic& , SkScalar t, SkPoint* tPt, SkPoint* onPt, 247 void conicQuadEnds(const SkConic& , SkQuadConstruct* ) const; 248 bool conicStroke(const SkConic& , SkQuadConstruct* ); 261 void setConicEndNormal(const SkConic& , 491 void SkPathStroker::setConicEndNormal(const SkConic& conic, const SkVector& normalAB, in setConicEndNormal() 633 static bool conic_in_line(const SkConic& conic) { in conic_in_line() 676 SkPathStroker::ReductionType SkPathStroker::CheckConicLinear(const SkConic& conic, in CheckConicLinear() 721 const SkConic conic(fPrevPt, pt1, pt2, weight); in conicTo() [all …]
|
D | SkPathBuilder.cpp | 292 SkRotationDirection dir, SkConic conics[SkConic::kMaxConicsForArc], in build_arc_conics() 299 int count = SkConic::BuildUnitArc(start, stop, dir, &matrix, conics); in build_arc_conics() 359 SkConic conics[SkConic::kMaxConicsForArc]; in arcTo()
|
/external/skqp/src/pathops/ |
D | SkReduceOrder.h | 14 struct SkConic; 26 static SkPath::Verb Conic(const SkConic& conic, SkPoint* reducePts);
|
D | SkOpEdgeBuilder.cpp | 246 SkConic conic(pointsPtr, weight); in walk() 247 SkConic pair[2]; in walk()
|
/external/skia/src/pathops/ |
D | SkReduceOrder.h | 14 struct SkConic; 26 static SkPath::Verb Conic(const SkConic& conic, SkPoint* reducePts);
|
/external/skqp/tests/ |
D | PathOpsConicIntersectionTest.cpp | 47 static void chopCompare(const SkConic chopped[2], const SkDConic dChopped[2]) { in chopCompare() 73 static void writePng(const SkConic& c, const SkConic ch[2], const char* name) { in writePng() 75 SkConic conic, chopped[2]; in writePng() 161 SkConic conic; in chopBothWays() 166 SkConic chopped[2]; in chopBothWays()
|
D | GeometryTest.cpp | 86 static void test_conic_eval_pos(skiatest::Reporter* reporter, const SkConic& conic, SkScalar t) { in test_conic_eval_pos() 93 static void test_conic_eval_tan(skiatest::Reporter* reporter, const SkConic& conic, SkScalar t) { in test_conic_eval_tan() 109 SkConic conic(pts, w); in test_conic() 130 SkConic conic(&pts[index * 3], 0.707f); in test_quad_tangents() 150 SkConic conic(&pts[index * 3], 0.707f); in test_conic_tangents() 209 SkConic conic(&pts[index * 3], 0.707f); in test_cubic_tangents()
|
/external/skia/tests/ |
D | PathOpsConicIntersectionTest.cpp | 47 static void chopCompare(const SkConic chopped[2], const SkDConic dChopped[2]) { in chopCompare() 73 static void writePng(const SkConic& c, const SkConic ch[2], const char* name) { in writePng() 75 SkConic conic, chopped[2]; in writePng() 159 SkConic conic; in chopBothWays() 164 SkConic chopped[2]; in chopBothWays()
|
D | GeometryTest.cpp | 152 static void test_conic_eval_pos(skiatest::Reporter* reporter, const SkConic& conic, SkScalar t) { in test_conic_eval_pos() 159 static void test_conic_eval_tan(skiatest::Reporter* reporter, const SkConic& conic, SkScalar t) { in test_conic_eval_tan() 175 SkConic conic(pts, w); in test_conic() 196 SkConic conic(&pts[index * 3], 0.707f); in test_quad_tangents() 216 SkConic conic(&pts[index * 3], 0.707f); in test_conic_tangents() 272 SkConic conic(&pts[index * 3], 0.707f); in test_cubic_tangents()
|
/external/skqp/include/core/ |
D | SkPathMeasure.h | 15 struct SkConic; 114 SkScalar compute_conic_segs(const SkConic&, SkScalar distance,
|
/external/skia/gm/ |
D | beziereffects.cpp | 281 SkConic dst[4]; in onDraw() 310 static int SplitConic(const SkPoint src[3], SkConic dst[2], const SkScalar weight) { in SplitConic() 319 SkConic conic; in SplitConic() 333 static int ChopConic(const SkPoint src[3], SkConic dst[4], const SkScalar weight) { in ChopConic() 334 SkConic dstTemp[2]; in ChopConic()
|
/external/skia/samplecode/ |
D | SampleTessellatedWedge.cpp | 150 static float find_conic_max_error(const SkConic& conic, int numChops) { in find_conic_max_error() 153 SkConic halves[2]; in find_conic_max_error() 173 float err = find_conic_max_error(SkConic(pts, *w), n); in dump_conic_max_errors()
|
/external/skqp/gm/ |
D | beziereffects.cpp | 200 SkConic dst[4]; in onDraw() 256 int split_conic(const SkPoint src[3], SkConic dst[2], const SkScalar weight) { in split_conic() 265 SkConic conic; in split_conic() 279 int chop_conic(const SkPoint src[3], SkConic dst[4], const SkScalar weight) { in chop_conic() 280 SkConic dstTemp[2]; in chop_conic()
|
/external/skia/src/gpu/tessellate/ |
D | GrStrokeFixedCountTessellator.cpp | 82 SkConic chops[2]; in conicTo() 83 if (SkConic(p, w).chopAt(.5f, chops)) { in conicTo() 279 SkConic conic(p, strokeIter.w()); in prepare()
|
/external/skia/include/core/ |
D | SkContourMeasure.h | 15 struct SkConic;
|
/external/skqp/src/gpu/ops/ |
D | GrAAHairLinePathRenderer.cpp | 141 static int split_conic(const SkPoint src[3], SkConic dst[2], const SkScalar weight) { in split_conic() 150 SkConic conic; in split_conic() 164 static int chop_conic(const SkPoint src[3], SkConic dst[4], const SkScalar weight) { in chop_conic() 165 SkConic dstTemp[2]; in chop_conic() 326 SkConic dst[4]; in gather_lines_and_quads()
|