Home
last modified time | relevance | path

Searched defs:pts (Results 1 – 25 of 320) sorted by relevance

12345678910>>...13

/external/skia/src/pathops/
DSkLineParameters.h31 bool cubicEndPoints(const SkDCubic& pts) { in cubicEndPoints()
71 void cubicEndPoints(const SkDCubic& pts, int s, int e) { in cubicEndPoints()
85 void lineEndPoints(const SkDLine& pts) { in lineEndPoints()
91 bool quadEndPoints(const SkDQuad& pts) { in quadEndPoints()
110 void quadEndPoints(const SkDQuad& pts, int s, int e) { in quadEndPoints()
138 void cubicDistanceY(const SkDCubic& pts, SkDCubic& distance) const { in cubicDistanceY()
146 void quadDistanceY(const SkDQuad& pts, SkDQuad& distance) const { in quadDistanceY()
154 double controlPtDistance(const SkDCubic& pts, int index) const { in controlPtDistance()
159 double controlPtDistance(const SkDQuad& pts) const { in controlPtDistance()
DSkAddIntersections.cpp31 static void debugShowLineIntersection(int pts, const SkIntersectionHelper& wt, in debugShowLineIntersection()
51 static void debugShowQuadLineIntersection(int pts, const SkIntersectionHelper& wt, in debugShowQuadLineIntersection()
72 static void debugShowQuadIntersection(int pts, const SkIntersectionHelper& wt, in debugShowQuadIntersection()
92 static void debugShowConicLineIntersection(int pts, const SkIntersectionHelper& wt, in debugShowConicLineIntersection()
112 static void debugShowConicQuadIntersection(int pts, const SkIntersectionHelper& wt, in debugShowConicQuadIntersection()
132 static void debugShowConicIntersection(int pts, const SkIntersectionHelper& wt, in debugShowConicIntersection()
153 static void debugShowCubicLineIntersection(int pts, const SkIntersectionHelper& wt, in debugShowCubicLineIntersection()
173 static void debugShowCubicQuadIntersection(int pts, const SkIntersectionHelper& wt, in debugShowCubicQuadIntersection()
193 static void debugShowCubicConicIntersection(int pts, const SkIntersectionHelper& wt, in debugShowCubicConicIntersection()
213 static void debugShowCubicIntersection(int pts, const SkIntersectionHelper& wt, in debugShowCubicIntersection()
[all …]
/external/skia/tests/
DWangsFormulaTest.cpp119 SkPoint pts[4]; in for_random_beziers() local
134 auto setupCubicLengthTerm = [](int seed, SkPoint pts[], float term) { in DEF_TEST()
172 auto setupQuadraticLengthTerm = [](int seed, SkPoint pts[], float term) { in DEF_TEST()
209 SkPoint pts[4]; in DEF_TEST() local
251 auto check_cubic_log2 = [&](const SkPoint* pts) { in DEF_TEST()
259 auto check_quadratic_log2 = [&](const SkPoint* pts) { in DEF_TEST()
270 SkPoint pts[4]; in DEF_TEST() local
281 for_random_beziers(4, &rand, [&](const SkPoint pts[]) { in DEF_TEST()
285 for_random_beziers(3, &rand, [&](const SkPoint pts[]) { in DEF_TEST()
292 auto check_cubic_log2_with_transform = [&](const SkPoint* pts, const SkMatrix& m){ in DEF_TEST()
[all …]
DPathMeasureTest.cpp24 const SkPoint pts[] = { in test_small_segment3() local
41 const SkPoint pts[] = { in test_small_segment2() local
57 const SkPoint pts[] = { in test_small_segment() local
217 SkPoint stdP, hiP, pts[] = {{0,0}, {100,0}, {100,0}}; in DEF_TEST() local
DGeometryTest.cpp50 SkPoint pts[7]; in testChopCubic() local
74 SkPoint pts[4] = {{rand.nextF(), rand.nextF()}, {rand.nextF(), rand.nextF()}, in testChopCubic() local
141 SkPoint pts[3]; in test_evalquadat() local
180 SkPoint pts[3]; in test_conic() local
200 SkPoint pts[] = { in test_quad_tangents() local
220 SkPoint pts[] = { in test_conic_tangents() local
264 const SkPoint* pts = &triples[i]; in test_conic_to_quads() local
276 SkPoint pts[] = { in test_cubic_tangents() local
626 SkPoint pts[5]; in DEF_TEST() local
DPathOpsLineIntersectionTest.cpp120 int pts = i.intersect(line1, line2); in testOne() local
163 int pts = i.intersect(line1, line2); in testOneCoincident() local
225 int pts = ts.intersect(line1, line2); in DEF_TEST() local
/external/skia/src/core/
DSkEdgeBuilder.cpp132 void SkBasicEdgeBuilder::addLine(const SkPoint pts[]) { in addLine()
146 void SkAnalyticEdgeBuilder::addLine(const SkPoint pts[]) { in addLine()
161 void SkBasicEdgeBuilder::addQuad(const SkPoint pts[]) { in addQuad()
167 void SkAnalyticEdgeBuilder::addQuad(const SkPoint pts[]) { in addQuad()
174 void SkBasicEdgeBuilder::addCubic(const SkPoint pts[]) { in addCubic()
180 void SkAnalyticEdgeBuilder::addCubic(const SkPoint pts[]) { in addCubic()
189 SkEdgeBuilder::Combine SkBasicEdgeBuilder::addPolyLine(const SkPoint pts[], in addPolyLine()
201 SkEdgeBuilder::Combine SkAnalyticEdgeBuilder::addPolyLine(const SkPoint pts[], in addPolyLine()
318 SkPoint pts[4]; in build() local
DSkQuadClipper.h65 #define sk_assert_monotonic_x(pts, count) argument
66 #define sk_assert_monotonic_y(pts, count) argument
DSkEdgeClipper.h65 #define sk_assert_monotonic_x(pts, count) argument
66 #define sk_assert_monotonic_y(pts, count) argument
DSkPath.cpp397 const SkPoint* pts = fPathRef->points(); in isLine() local
510 const SkPoint* pts = fPathRef->points(); in isRect() local
737 SkPoint* pts = ed.growForVerb(kQuad_Verb); in quadTo() local
767 SkPoint* pts = ed.growForVerb(kConic_Verb, w); in conicTo() local
791 SkPoint* pts = ed.growForVerb(kCubic_Verb); in cubicTo() local
873 SkPath& SkPath::addPoly(const SkPoint pts[], int count, bool close) { in addPoly()
1069 const SkPoint* pts = fPathRef->points() + startPtIndex; in isZeroLengthSincePoint() local
1514 const SkPoint* pts = path.fPathRef->pointsEnd() - 1; in reversePathTo() local
1556 const SkPoint* pts = src->fPathRef->pointsEnd(); in reverseAddPath() local
1650 SkPoint pts[4]; in transform() local
[all …]
DSkEdgeClipper.cpp58 const SkPoint pts[] = { p0, p1 }; in clipLine() local
150 SkPoint pts[3]; in clipMonoQuad() local
343 SkPoint pts[4]; in clipMonoCubic() local
506 SkPath::Verb SkEdgeClipper::next(SkPoint pts[]) { in next()
553 void sk_assert_monotonic_y(const SkPoint pts[], int count) { in sk_assert_monotonic_y()
559 void sk_assert_monotonic_x(const SkPoint pts[], int count) { in sk_assert_monotonic_x()
DSkPathRef.cpp316 SkPoint* pts = nullptr; in growForVerbsInPath() local
378 SkPoint* pts = fPoints.push_back_n(pCnt); in growForRepeatedVerb() local
430 SkPoint* pts = fPoints.push_back_n(pCnt); in growForVerb() local
475 SkPoint pts[4]; in getRRect() local
/external/skia/gm/
Dpoints.cpp37 static void fill_pts(SkPoint pts[], size_t n, SkRandom* rand) { in fill_pts()
64 SkPoint* pts = new SkPoint[n]; in onDraw() local
85 SkPoint pts[N]; variable
Dgradtext.cpp31 SkPoint pts[] = { { 0, 0 }, { width, 0 } }; in make_grad() local
39 SkPoint pts[] = { { 0, 0 }, { width, 0 } }; in make_grad2() local
46 SkPoint pts[] = { { 0, 0 }, { 1, 0 } }; in make_chrome_solid() local
Dpatharcto.cpp60 static SkPath old_school_polygon(const SkPoint pts[], size_t count, bool isClosed) { in old_school_polygon()
66 static SkPath new_school_polygon(const SkPoint pts[], size_t count, bool isClosed) { in new_school_polygon()
Ddrawquadset.cpp49 static constexpr SkPoint pts[] = { {0.f, 0.f}, {0.25f * kTileWidth, 0.25f * kTileHeight} }; in draw_gradient_tiles() local
152 SkPoint pts[] = {{x * kTileWidth, 0}, {x * kTileWidth, kRowCount * kTileHeight}}; in draw_tile_boundaries() local
159 SkPoint pts[] = {{0, y * kTileHeight}, {kTileWidth * kColCount, y * kTileHeight}}; in draw_tile_boundaries() local
Dcomposeshader.cpp35 SkPoint pts[2]; in make_shader() local
158 SkPoint pts[2]; in make_linear_gradient_shader() local
298 const SkPoint pts[] = { { 0, 0 }, { 0, size } }; in make_src_shader() local
304 const SkPoint pts[] = { { 0, 0 }, { size, 0 } }; in make_dst_shader() local
/external/skia/src/gpu/ganesh/ops/
DDashLinePathRenderer.cpp22 SkPoint pts[2]; in onCanDrawPath() local
52 SkPoint pts[2]; in onDrawPath() local
/external/skia/bench/
DPathIterBench.cpp52 SkPoint pts[4]; in PathIterBench() local
83 auto handle = [this](int verb, const SkPoint pts[]) { in onDraw()
94 SkPoint pts[4]; in onDraw() local
/external/MPAndroidChart/MPChartLib/src/main/java/com/github/mikephil/charting/renderer/
DXAxisRendererHorizontalBarChart.java225 float[] pts = mRenderLimitLinesBuffer; in renderLimitLines() local
253 limitLinePath.moveTo(mViewPortHandler.contentLeft(), pts[1]); in renderLimitLines() local
254 limitLinePath.lineTo(mViewPortHandler.contentRight(), pts[1]); in renderLimitLines() local
DYAxisRenderer.java267 float[] pts = mRenderLimitLinesBuffer; in renderLimitLines() local
294 limitLinePath.moveTo(mViewPortHandler.contentLeft(), pts[1]); in renderLimitLines() local
295 limitLinePath.lineTo(mViewPortHandler.contentRight(), pts[1]); in renderLimitLines() local
/external/skia/docs/examples/
DSmoothBezierSplineInterpolation.cpp7 SkPath MakeCubicSplineInterpolation(const SkPoint* pts, size_t N) { in MakeCubicSplineInterpolation()
71 SkPoint pts[] = { in draw() local
/external/eigen/unsupported/test/
Dsplines.cpp113 MatrixXd pts(10,3); in eval_spline3d() local
140 MatrixXd pts(11,3); in eval_spline3d_onbrks() local
179 MatrixXd pts(12,2); in eval_closed_spline2d() local
/external/eigen/unsupported/Eigen/src/Splines/
DSplineFitting.h189 void ChordLengths(const PointArrayType& pts, KnotVectorType& chord_lengths) in ChordLengths()
290 …SplineType SplineFitting<SplineType>::Interpolate(const PointArrayType& pts, DenseIndex degree, co… in Interpolate()
322 SplineType SplineFitting<SplineType>::Interpolate(const PointArrayType& pts, DenseIndex degree) in Interpolate()
/external/skia/src/utils/
DSkDashPath.cpp175 SkPoint pts[2]; in cull_path() local
190 SkPoint pts[2]; in cull_path() local
205 SkPoint pts[4]; // Rects are all moveTo and lineTo, so we'll only use pts[0] and pts[1]. in cull_path() local
288 SkPoint pts[4]; in addSegment() local

12345678910>>...13