/external/skia/src/core/ |
D | SkGeometry.h | 207 struct SkConic { struct 208 SkConic() {} in SkConic() function 209 SkConic(const SkPoint& p0, const SkPoint& p1, const SkPoint& p2, SkScalar w) { in SkConic() function 215 SkConic(const SkPoint pts[3], SkScalar w) { in SkConic() function 243 void chopAt(SkScalar t, SkConic dst[2]) const; argument 244 void chop(SkConic dst[2]) const; 266 bool chopAtXExtrema(SkConic dst[2]) const; 267 bool chopAtYExtrema(SkConic dst[2]) const; 287 const SkMatrix*, SkConic conics[kMaxConicsForArc]); argument 311 const SkPoint* computeQuads(const SkConic& conic, SkScalar tol) { in computeQuads() [all …]
|
D | SkGeometry.cpp | 1227 void SkConic::evalAt(SkScalar t, SkPoint* pt, SkVector* tangent) const { in evalAt() 1240 void SkConic::chopAt(SkScalar t, SkConic dst[2]) const { in chopAt() 1272 SkPoint SkConic::evalAt(SkScalar t) const { in evalAt() 1293 SkVector SkConic::evalTangentAt(SkScalar t) const { in evalTangentAt() 1317 void SkConic::chop(SkConic * SK_RESTRICT dst) const { in chop() 1348 void SkConic::computeAsQuadError(SkVector* err) const { in computeAsQuadError() 1353 bool SkConic::asQuadTol(SkScalar tol) const { in asQuadTol() 1361 int SkConic::computeQuadPOW2(SkScalar tol) const { in computeQuadPOW2() 1396 static SkPoint* subdivide(const SkConic& src, SkPoint pts[], int level) { in subdivide() 1403 SkConic dst[2]; in subdivide() [all …]
|
D | SkPathMeasure.cpp | 108 SkScalar SkPathMeasure::compute_conic_segs(const SkConic& conic, in compute_conic_segs() 111 SkConic tmp[2]; in compute_conic_segs() 211 const SkConic conic(pts, fIter.conicWeight()); in buildSegments() 294 SkConic(pts[0], pts[2], pts[3], pts[1].fX).evalAt(t, pos, tangent); in compute_pos_tan() 350 SkConic conic(pts[0], pts[2], pts[3], pts[1].fX); in seg_to() 356 SkConic tmp[2]; in seg_to() 361 SkConic tmp1[2]; in seg_to() 366 SkConic tmp2[2]; in seg_to()
|
D | SkStrokerPriv.cpp | 136 SkConic conics[SkConic::kMaxConicsForArc]; in RoundJoiner() 137 int count = SkConic::BuildUnitArc(before, after, dir, &matrix, conics); in RoundJoiner()
|
D | SkStroke.cpp | 234 ReductionType CheckConicLinear(const SkConic& , SkPoint* reduction); 238 ResultType compareQuadConic(const SkConic& , SkQuadConstruct* ); 241 bool conicPerpRay(const SkConic& , SkScalar t, SkPoint* tPt, SkPoint* onPt, 243 bool conicQuadEnds(const SkConic& , SkQuadConstruct* ); 244 bool conicStroke(const SkConic& , SkQuadConstruct* ); 257 void setConicEndNormal(const SkConic& , 476 void SkPathStroker::setConicEndNormal(const SkConic& conic, const SkVector& normalAB, in setConicEndNormal() 616 static bool conic_in_line(const SkConic& conic) { in conic_in_line() 651 SkPathStroker::ReductionType SkPathStroker::CheckConicLinear(const SkConic& conic, in CheckConicLinear() 780 const SkConic conic(fPrevPt, pt1, pt2, weight); in conicTo() [all …]
|
D | SkPath.cpp | 270 SkConic orig; in conservativelyContainsRect() 956 SkRotationDirection dir, SkConic conics[SkConic::kMaxConicsForArc], in build_arc_conics() 963 int count = SkConic::BuildUnitArc(start, stop, dir, &matrix, conics); in build_arc_conics() 1146 SkConic conics[SkConic::kMaxConicsForArc]; in arcTo() 1459 SkConic::TransformW(pts, SK_Scalar1, matrix)); in transform() 1463 SkConic::TransformW(pts, iter.conicWeight(), matrix)); in transform()
|
/external/skia/include/core/ |
D | SkPathMeasure.h | 14 struct SkConic; 106 SkScalar compute_conic_segs(const SkConic&, SkScalar distance, int mint, int maxt, int ptIndex);
|
/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()
|
/external/skia/gm/ |
D | beziereffects.cpp | 326 SkConic dst[4]; in onDraw() 394 int split_conic(const SkPoint src[3], SkConic dst[2], const SkScalar weight) { in split_conic() 403 SkConic conic; in split_conic() 414 int chop_conic(const SkPoint src[3], SkConic dst[4], const SkScalar weight) { in chop_conic() 415 SkConic dstTemp[2]; in chop_conic()
|
/external/skia/src/gpu/ |
D | GrAAHairLinePathRenderer.cpp | 137 static int split_conic(const SkPoint src[3], SkConic dst[2], const SkScalar weight) { in split_conic() 146 SkConic conic; in split_conic() 157 static int chop_conic(const SkPoint src[3], SkConic dst[4], const SkScalar weight) { in chop_conic() 158 SkConic dstTemp[2]; in chop_conic() 258 SkConic dst[4]; in gather_lines_and_quads()
|
/external/skia/bench/ |
D | PathBench.cpp | 810 SkConic fRQ, fDst[2]; 889 static void rand_conic(SkConic* conic, SkRandom& rand) { 917 SkConic fConics[CONICS];
|