Home
last modified time | relevance | path

Searched refs:SkConic (Results 1 – 25 of 26) sorted by relevance

12

/third_party/skia/src/core/
DSkGeometry.h297 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 …]
DSkGeometry.cpp1242 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 …]
DSkContourMeasure.cpp78 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()
DSkStroke.cpp238 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 …]
DSkStrokerPriv.cpp124 SkConic conics[SkConic::kMaxConicsForArc]; in RoundJoiner()
125 int count = SkConic::BuildUnitArc(before, after, dir, &matrix, conics); in RoundJoiner()
DSkPathBuilder.cpp309 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()
DSkPath.cpp322 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/
DSkReduceOrder.h14 struct SkConic;
26 static SkPath::Verb Conic(const SkConic& conic, SkPoint* reducePts);
DSkOpEdgeBuilder.cpp240 SkConic conic(pointsPtr, weight); in walk()
241 SkConic pair[2]; in walk()
DSkReduceOrder.cpp259 SkPath::Verb SkReduceOrder::Conic(const SkConic& c, SkPoint* reducePts) { in Conic()
/third_party/skia/tests/
DPathOpsConicIntersectionTest.cpp47 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()
DGeometryTest.cpp154 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()
DPathOpsConicLineIntersectionTest.cpp114 SkConic floatConic; in DEF_TEST()
DPathTest.cpp4192 SkConic conic(&kPts[index], 0.5f); in test_contains()
/third_party/skia/src/gpu/tessellate/
DTessellation.cpp62 SkConic chops[2]; in conicTo()
63 if (!SkConic(p,w).chopAt(.5, chops)) { in conicTo()
DStrokeFixedCountTessellator.cpp153 void chopConicTo(const SkConic& conic) { in chopConicTo()
154 SkConic chops[2]; in chopConicTo()
326 SkConic conic(p, strokeIter.w()); in prepare()
DStrokeHardwareTessellator.cpp416 SkConic conic(p, w); in internalConicPatchesTo()
419 SkConic chops[2]; in internalConicPatchesTo()
825 SkConic conic(p, *w); in prepare()
/third_party/skia/gm/
Dbeziereffects.cpp287 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()
Dmandoline.cpp111 SkConic conic(fLastPt, p1, p2, w), halves[2]; in sliceConic()
/third_party/skia/include/core/
DSkContourMeasure.h15 struct SkConic;
/third_party/skia/src/gpu/ops/
DAAHairLinePathRenderer.cpp150 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/
DPathBench.cpp894 SkConic fRQ, fDst[2];
1008 static void rand_conic(SkConic* conic, SkRandom& rand) {
1036 SkConic fConics[CONICS];
/third_party/skia/samplecode/
DSampleQuadStroker.cpp375 SkConic conic(pts, SkPathPriv::ConicWeightData(path)[0]); in draw_t_divs()
/third_party/skia/src/utils/
DSkShadowTessellator.cpp822 w = SkConic::TransformW(pts, w, m); in handleConic()
/third_party/openGLES/extensions/NV/
DNV_path_rendering.txt8993 command in the same manner. (See Skia's SkConic class in

12