/external/skia/src/core/ |
D | SkGeometry.h | 182 struct SkConic { struct 183 SkConic() {} in SkConic() argument 184 SkConic(const SkPoint& p0, const SkPoint& p1, const SkPoint& p2, SkScalar w) { in SkConic() function 190 SkConic(const SkPoint pts[3], SkScalar w) { in SkConic() argument 218 void chopAt(SkScalar t, SkConic dst[2]) const; argument 219 void chopAt(SkScalar t1, SkScalar t2, SkConic* dst) const; 220 void chop(SkConic dst[2]) const; 242 bool chopAtXExtrema(SkConic dst[2]) const; 243 bool chopAtYExtrema(SkConic dst[2]) const; 263 const SkMatrix*, SkConic conics[kMaxConicsForArc]); argument [all …]
|
D | SkGeometry.cpp | 977 void SkConic::chopAt(SkScalar t, SkConic dst[2]) const { in chopAt() 1005 void SkConic::chopAt(SkScalar t1, SkScalar t2, SkConic* dst) const { in chopAt() 1010 SkConic pair[2]; in chopAt() 1035 SkPoint SkConic::evalAt(SkScalar t) const { in evalAt() 1039 SkVector SkConic::evalTangentAt(SkScalar t) const { in evalTangentAt() 1061 void SkConic::evalAt(SkScalar t, SkPoint* pt, SkVector* tangent) const { in evalAt() 1076 void SkConic::chop(SkConic * SK_RESTRICT dst) const { in chop() 1107 void SkConic::computeAsQuadError(SkVector* err) const { in computeAsQuadError() 1112 bool SkConic::asQuadTol(SkScalar tol) const { in asQuadTol() 1120 int SkConic::computeQuadPOW2(SkScalar tol) const { in computeQuadPOW2() [all …]
|
D | SkPathMeasure.cpp | 170 SkScalar SkPathMeasure::compute_conic_segs(const SkConic& conic, SkScalar distance, in compute_conic_segs() 284 const SkConic conic(pts, fIter.conicWeight()); in buildSegments() 368 SkConic(pts[0], pts[2], pts[3], pts[1].fX).evalAt(t, pos, tangent); in compute_pos_tan() 429 SkConic conic(pts[0], pts[2], pts[3], pts[1].fX); in seg_to() 435 SkConic tmp[2]; in seg_to() 441 SkConic tmp1[2]; in seg_to() 445 SkConic tmp; in seg_to()
|
D | SkStroke.cpp | 197 static ReductionType CheckConicLinear(const SkConic& , SkPoint* reduction); 201 ResultType compareQuadConic(const SkConic& , SkQuadConstruct* ) const; 204 void conicPerpRay(const SkConic& , SkScalar t, SkPoint* tPt, SkPoint* onPt, 206 void conicQuadEnds(const SkConic& , SkQuadConstruct* ) const; 207 bool conicStroke(const SkConic& , SkQuadConstruct* ); 220 void setConicEndNormal(const SkConic& , 433 void SkPathStroker::setConicEndNormal(const SkConic& conic, const SkVector& normalAB, in setConicEndNormal() 573 static bool conic_in_line(const SkConic& conic) { in conic_in_line() 608 SkPathStroker::ReductionType SkPathStroker::CheckConicLinear(const SkConic& conic, in CheckConicLinear() 661 const SkConic conic(fPrevPt, pt1, pt2, weight); in conicTo() [all …]
|
D | SkStrokerPriv.cpp | 136 SkConic conics[SkConic::kMaxConicsForArc]; in RoundJoiner() 137 int count = SkConic::BuildUnitArc(before, after, dir, &matrix, conics); in RoundJoiner()
|
D | SkPath.cpp | 305 SkConic orig; in conservativelyContainsRect() 1082 SkRotationDirection dir, SkConic conics[SkConic::kMaxConicsForArc], in build_arc_conics() 1089 int count = SkConic::BuildUnitArc(start, stop, dir, &matrix, conics); in build_arc_conics() 1292 SkConic conics[SkConic::kMaxConicsForArc]; in arcTo() 1688 SkConic::TransformW(pts, SK_Scalar1, matrix)); in transform() 1692 SkConic::TransformW(pts, iter.conicWeight(), matrix)); in transform() 2841 static int winding_mono_conic(const SkConic& conic, SkScalar x, SkScalar y, int* onCurveCount) { in winding_mono_conic() 2904 SkConic conic(pts, weight); in winding_conic() 2905 SkConic chopped[2]; in winding_conic() 3072 SkConic conic(pts, w); in tangent_conic() [all …]
|
/external/skia/tests/ |
D | GeometryTest.cpp | 72 static void test_conic_eval_pos(skiatest::Reporter* reporter, const SkConic& conic, SkScalar t) { in test_conic_eval_pos() 79 static void test_conic_eval_tan(skiatest::Reporter* reporter, const SkConic& conic, SkScalar t) { in test_conic_eval_tan() 95 SkConic conic(pts, w); in test_conic() 116 SkConic conic(&pts[index * 3], 0.707f); in test_quad_tangents() 136 SkConic conic(&pts[index * 3], 0.707f); in test_conic_tangents() 156 SkConic conic(&pts[index * 3], 0.707f); in test_cubic_tangents()
|
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 | PathTest.cpp | 3652 SkConic conic(&kPts[index], 0.5f); in test_contains()
|
/external/skia/include/core/ |
D | SkPathMeasure.h | 14 struct SkConic; 110 SkScalar compute_conic_segs(const SkConic&, SkScalar distance,
|
/external/skia/gm/ |
D | beziereffects.cpp | 321 SkConic dst[4]; in onDraw() 387 int split_conic(const SkPoint src[3], SkConic dst[2], const SkScalar weight) { in split_conic() 396 SkConic conic; in split_conic() 407 int chop_conic(const SkPoint src[3], SkConic dst[4], const SkScalar weight) { in chop_conic() 408 SkConic dstTemp[2]; in chop_conic()
|
/external/skia/src/gpu/batches/ |
D | GrAAHairLinePathRenderer.cpp | 138 static int split_conic(const SkPoint src[3], SkConic dst[2], const SkScalar weight) { in split_conic() 147 SkConic conic; in split_conic() 158 static int chop_conic(const SkPoint src[3], SkConic dst[4], const SkScalar weight) { in chop_conic() 159 SkConic dstTemp[2]; in chop_conic() 259 SkConic dst[4]; in gather_lines_and_quads()
|
/external/skia/bench/ |
D | PathBench.cpp | 811 SkConic fRQ, fDst[2]; 890 static void rand_conic(SkConic* conic, SkRandom& rand) { 918 SkConic fConics[CONICS];
|
/external/skia/samplecode/ |
D | SampleQuadStroker.cpp | 367 SkConic conic(pts, iter.conicWeight()); in draw_t_divs()
|