/third_party/skia/src/core/ |
D | SkGeometry.h | 297 struct SkConic { struct 298 SkConic() {} in SkConic() argument 299 SkConic(const SkPoint& p0, const SkPoint& p1, const SkPoint& p2, SkScalar w) { in SkConic() argument 305 SkConic(const SkPoint pts[3], SkScalar w) { in SkConic() function 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 | 1242 bool SkConic::chopAt(SkScalar t, SkConic dst[2]) const { in chopAt() 1269 SkASSERT(0 == offsetof(SkConic, fPts[0].fX)); in chopAt() 1273 void SkConic::chopAt(SkScalar t1, SkScalar t2, SkConic* dst) const { in chopAt() 1279 SkConic pair[2]; in chopAt() 1305 SkPoint SkConic::evalAt(SkScalar t) const { in evalAt() 1309 SkVector SkConic::evalTangentAt(SkScalar t) const { in evalTangentAt() 1331 void SkConic::evalAt(SkScalar t, SkPoint* pt, SkVector* tangent) const { in evalAt() 1346 void SkConic::chop(SkConic * SK_RESTRICT dst) const { in chop() 1384 void SkConic::computeAsQuadError(SkVector* err) const { in computeAsQuadError() 1389 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 tmp[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 | 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 | SkStrokerPriv.cpp | 124 SkConic conics[SkConic::kMaxConicsForArc]; in RoundJoiner() 125 int count = SkConic::BuildUnitArc(before, after, dir, &matrix, conics); in RoundJoiner()
|
D | SkPathBuilder.cpp | 309 SkRotationDirection dir, SkConic conics[SkConic::kMaxConicsForArc], in build_arc_conics() 316 int count = SkConic::BuildUnitArc(start, stop, dir, &matrix, conics); in build_arc_conics() 376 SkConic conics[SkConic::kMaxConicsForArc]; in arcTo()
|
D | SkPath.cpp | 322 SkConic orig; in conservativelyContainsRect() 908 SkRotationDirection dir, SkConic conics[SkConic::kMaxConicsForArc], in build_arc_conics() 915 int count = SkConic::BuildUnitArc(start, stop, dir, &matrix, conics); in build_arc_conics() 1143 SkConic conics[SkConic::kMaxConicsForArc]; in arcTo() 1607 SkConic::TransformW(pts, SK_Scalar1, matrix)); in transform() 1611 SkConic::TransformW(pts, iter.conicWeight(), matrix)); in transform() 2729 static int winding_mono_conic(const SkConic& conic, SkScalar x, SkScalar y, int* onCurveCount) { in winding_mono_conic() 2793 SkConic conic(pts, weight); in winding_conic() 2794 SkConic chopped[2]; in winding_conic() 2965 SkConic conic(pts, w); in tangent_conic() [all …]
|
/third_party/skia/src/pathops/ |
D | SkReduceOrder.h | 14 struct SkConic; 26 static SkPath::Verb Conic(const SkConic& conic, SkPoint* reducePts);
|
D | SkOpEdgeBuilder.cpp | 240 SkConic conic(pointsPtr, weight); in walk() 241 SkConic pair[2]; in walk()
|
D | SkReduceOrder.cpp | 259 SkPath::Verb SkReduceOrder::Conic(const SkConic& c, SkPoint* reducePts) { in Conic()
|
/third_party/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 | 154 static void test_conic_eval_pos(skiatest::Reporter* reporter, const SkConic& conic, SkScalar t) { in test_conic_eval_pos() 161 static void test_conic_eval_tan(skiatest::Reporter* reporter, const SkConic& conic, SkScalar t) { in test_conic_eval_tan() 177 SkConic conic(pts, w); in test_conic() 198 SkConic conic(&pts[index * 3], 0.707f); in test_quad_tangents() 218 SkConic conic(&pts[index * 3], 0.707f); in test_conic_tangents() 274 SkConic conic(&pts[index * 3], 0.707f); in test_cubic_tangents()
|
D | PathOpsConicLineIntersectionTest.cpp | 114 SkConic floatConic; in DEF_TEST()
|
D | PathTest.cpp | 4192 SkConic conic(&kPts[index], 0.5f); in test_contains()
|
/third_party/skia/src/gpu/tessellate/ |
D | Tessellation.cpp | 62 SkConic chops[2]; in conicTo() 63 if (!SkConic(p,w).chopAt(.5, chops)) { in conicTo()
|
D | StrokeFixedCountTessellator.cpp | 153 void chopConicTo(const SkConic& conic) { in chopConicTo() 154 SkConic chops[2]; in chopConicTo() 326 SkConic conic(p, strokeIter.w()); in prepare()
|
D | StrokeHardwareTessellator.cpp | 416 SkConic conic(p, w); in internalConicPatchesTo() 419 SkConic chops[2]; in internalConicPatchesTo() 825 SkConic conic(p, *w); in prepare()
|
/third_party/skia/gm/ |
D | beziereffects.cpp | 287 SkConic dst[4]; in onDraw() 318 static int SplitConic(const SkPoint src[3], SkConic dst[2], const SkScalar weight) { in SplitConic() 327 SkConic conic; in SplitConic() 341 static int ChopConic(const SkPoint src[3], SkConic dst[4], const SkScalar weight) { in ChopConic() 342 SkConic dstTemp[2]; in ChopConic()
|
D | mandoline.cpp | 111 SkConic conic(fLastPt, p1, p2, w), halves[2]; in sliceConic()
|
/third_party/skia/include/core/ |
D | SkContourMeasure.h | 15 struct SkConic;
|
/third_party/skia/src/gpu/ops/ |
D | AAHairLinePathRenderer.cpp | 150 int split_conic(const SkPoint src[3], SkConic dst[2], const SkScalar weight) { in split_conic() 159 SkConic conic; in split_conic() 173 int chop_conic(const SkPoint src[3], SkConic dst[4], const SkScalar weight) { in chop_conic() 174 SkConic dstTemp[2]; in chop_conic() 335 SkConic dst[4]; in gather_lines_and_quads()
|
/third_party/skia/bench/ |
D | PathBench.cpp | 894 SkConic fRQ, fDst[2]; 1008 static void rand_conic(SkConic* conic, SkRandom& rand) { 1036 SkConic fConics[CONICS];
|
/third_party/skia/samplecode/ |
D | SampleQuadStroker.cpp | 375 SkConic conic(pts, SkPathPriv::ConicWeightData(path)[0]); in draw_t_divs()
|
/third_party/skia/src/utils/ |
D | SkShadowTessellator.cpp | 822 w = SkConic::TransformW(pts, w, m); in handleConic()
|
/third_party/openGLES/extensions/NV/ |
D | NV_path_rendering.txt | 8993 command in the same manner. (See Skia's SkConic class in
|