Home
last modified time | relevance | path

Searched refs:points (Results 1 - 25 of 314) sorted by relevance

12345678910>>...13

/third_party/mesa3d/src/glx/
H A Deval.c41 const GLfloat * points, GLubyte * pc) in __glFillMap1f()
45 __GLX_PUT_FLOAT_ARRAY(0, points, order * k); in __glFillMap1f()
51 __GLX_PUT_FLOAT_ARRAY(0, points, k); in __glFillMap1f()
52 points += stride; in __glFillMap1f()
60 const GLdouble * points, GLubyte * pc) in __glFillMap1d()
64 __GLX_PUT_DOUBLE_ARRAY(0, points, order * k); in __glFillMap1d()
69 __GLX_PUT_DOUBLE_ARRAY(0, points, k); in __glFillMap1d()
70 points += stride; in __glFillMap1d()
79 const GLfloat * points, GLfloat * data) in __glFillMap2f()
85 __GLX_MEM_COPY(data, points, majorOrde in __glFillMap2f()
40 __glFillMap1f(GLint k, GLint order, GLint stride, const GLfloat * points, GLubyte * pc) __glFillMap1f() argument
59 __glFillMap1d(GLint k, GLint order, GLint stride, const GLdouble * points, GLubyte * pc) __glFillMap1d() argument
77 __glFillMap2f(GLint k, GLint majorOrder, GLint minorOrder, GLint majorStride, GLint minorStride, const GLfloat * points, GLfloat * data) __glFillMap2f() argument
102 __glFillMap2d(GLint k, GLint majorOrder, GLint minorOrder, GLint majorStride, GLint minorStride, const GLdouble * points, GLdouble * data) __glFillMap2d() argument
[all...]
/third_party/skia/tests/
H A DPathCoverageTest.cpp26 // For determining the maximum possible number of points to use in
39 static inline int estimate_distance(const SkPoint points[]) { in estimate_distance() argument
40 return cheap_distance(points[1].fX * 2 - points[2].fX - points[0].fX, in estimate_distance()
41 points[1].fY * 2 - points[2].fY - points[0].fY); in estimate_distance()
44 static inline SkScalar compute_distance(const SkPoint points[]) { in compute_distance() argument
45 return SkPointPriv::DistanceToLineSegmentBetween(points[ in compute_distance()
69 quadraticPointCount_EE(const SkPoint points[]) quadraticPointCount_EE() argument
74 quadraticPointCount_EC(const SkPoint points[], SkScalar tol) quadraticPointCount_EC() argument
79 quadraticPointCount_CE(const SkPoint points[]) quadraticPointCount_CE() argument
84 quadraticPointCount_CC(const SkPoint points[], SkScalar tol) quadraticPointCount_CC() argument
[all...]
/third_party/skia/bench/
H A DHairlinePathBench.cpp26 static const int points[] = { variable
90 int size = SK_ARRAY_COUNT(points);
101 path->moveTo(SkIntToScalar(points[base1] + xTrans),
102 SkIntToScalar(points[base1+1] + yTrans));
103 path->lineTo(SkIntToScalar(points[base2] + xTrans),
104 SkIntToScalar(points[base2+1] + yTrans));
105 path->lineTo(SkIntToScalar(points[base3] + xTrans),
106 SkIntToScalar(points[base3+1] + yTrans));
122 int size = SK_ARRAY_COUNT(points);
133 path->moveTo(SkIntToScalar(points[base
[all...]
/third_party/skia/docs/examples/
H A DPoint_subtract_operator.cpp9 SkPoint points[] = { { 3, 1 }, { 4, 2 }, { 5, 1 }, { 7, 3 }, in REG_FIDDLE() local
15 canvas->drawPoints(SkCanvas::kPolygon_PointMode, SK_ARRAY_COUNT(points), points, paint); in REG_FIDDLE()
16 points[1] += points[0] - points[2]; in REG_FIDDLE()
17 points[2] -= points[3] - points[5]; in REG_FIDDLE()
19 canvas->drawPoints(SkCanvas::kPolygon_PointMode, SK_ARRAY_COUNT(points), point in REG_FIDDLE()
[all...]
H A DIPoint_subtract_operator.cpp15 SkIPoint points[] = { { 3, 1 }, { 4, 2 }, { 5, 1 }, { 7, 3 } }; in REG_FIDDLE() local
20 draw_lines(points, SK_ARRAY_COUNT(points), paint); in REG_FIDDLE()
21 points[1] += points[0] - points[3]; in REG_FIDDLE()
22 points[2] -= points[1] - points[0]; in REG_FIDDLE()
24 draw_lines(points, SK_ARRAY_COUN in REG_FIDDLE()
[all...]
H A DPath_IsCubicDegenerate.cpp7 SkPoint points[] = {{1, 0}, {0, 0}, {0, 0}, {0, 0}}; in REG_FIDDLE() local
11 prior = points[0].fX; in REG_FIDDLE()
13 if (SkPath::IsCubicDegenerate(points[0], points[1], points[2], points[3], false)) { in REG_FIDDLE()
15 points[0].fX += step; in REG_FIDDLE()
18 points[0].fX -= step; in REG_FIDDLE()
20 } while (prior != points[0].fX); in REG_FIDDLE()
H A DPath_getPoints.cpp7 auto debugster = [](const char* prefix, const SkPath& path, SkPoint* points, int max) -> void { in REG_FIDDLE()
8 int count = path.getPoints(points, max); in REG_FIDDLE()
10 for (int i = 0; i < std::min(count, max) && points; ++i) { in REG_FIDDLE()
11 SkDebugf("(%1.8g,%1.8g) ", points[i].fX, points[i].fY); in REG_FIDDLE()
18 SkPoint points[3]; in REG_FIDDLE() local
19 debugster("no points", path, nullptr, 0); in REG_FIDDLE()
20 debugster("zero max", path, points, 0); in REG_FIDDLE()
21 debugster("too small", path, points, 2); in REG_FIDDLE()
22 debugster("just right", path, points, pat in REG_FIDDLE()
[all...]
H A DPath_IsLineDegenerate.cpp7 SkPoint points[] = { {100, 100}, {100.000001f, 100.000001f}, {100.0001f, 100.0001f} }; in REG_FIDDLE() local
8 for (size_t i = 0; i < SK_ARRAY_COUNT(points) - 1; ++i) { in REG_FIDDLE()
11 points[i].fX, points[i].fY, points[i + 1].fX, points[i + 1].fY, in REG_FIDDLE()
12 SkPath::IsLineDegenerate(points[i], points[i + 1], exact) in REG_FIDDLE()
H A DPoint_subtractfrom_operator.cpp9 SkPoint points[] = { { 3, 1 }, { 4, 2 }, { 5, 1 }, { 7, 3 }, in REG_FIDDLE() local
15 canvas->drawPoints(SkCanvas::kPolygon_PointMode, SK_ARRAY_COUNT(points), points, paint); in REG_FIDDLE()
16 points[1] -= {1, 1}; in REG_FIDDLE()
17 points[2] -= {-1, -1}; in REG_FIDDLE()
19 canvas->drawPoints(SkCanvas::kPolygon_PointMode, SK_ARRAY_COUNT(points), points, paint); in REG_FIDDLE()
H A DPoint_addto_operator.cpp9 SkPoint points[] = { { 3, 1 }, { 4, 2 }, { 5, 1 }, { 7, 3 }, in REG_FIDDLE() local
15 canvas->drawPoints(SkCanvas::kPolygon_PointMode, SK_ARRAY_COUNT(points), points, paint); in REG_FIDDLE()
16 points[1] += {1, 1}; in REG_FIDDLE()
17 points[2] += {-1, -1}; in REG_FIDDLE()
19 canvas->drawPoints(SkCanvas::kPolygon_PointMode, SK_ARRAY_COUNT(points), points, paint); in REG_FIDDLE()
H A DPoint_Offset_2.cpp9 SkPoint points[] = { { 3, 1 }, { 4, 2 }, { 5, 1 }, { 7, 3 }, in REG_FIDDLE() local
15 canvas->drawPoints(SkCanvas::kPolygon_PointMode, SK_ARRAY_COUNT(points), points, paint); in REG_FIDDLE()
16 SkPoint::Offset(points, SK_ARRAY_COUNT(points), 1, 9); in REG_FIDDLE()
17 canvas->drawPoints(SkCanvas::kPolygon_PointMode, SK_ARRAY_COUNT(points), points, paint); in REG_FIDDLE()
H A DPoint_Offset.cpp9 SkPoint points[] = { { 3, 1 }, { 4, 2 }, { 5, 1 }, { 7, 3 }, in REG_FIDDLE() local
15 canvas->drawPoints(SkCanvas::kPolygon_PointMode, SK_ARRAY_COUNT(points), points, paint); in REG_FIDDLE()
16 SkPoint::Offset(points, SK_ARRAY_COUNT(points), { 1, 9 } ); in REG_FIDDLE()
17 canvas->drawPoints(SkCanvas::kPolygon_PointMode, SK_ARRAY_COUNT(points), points, paint); in REG_FIDDLE()
H A DIPoint_subtractfrom_operator.cpp15 SkIPoint points[] = { { 3, 1 }, { 4, 2 }, { 5, 1 }, { 7, 3 } }; in REG_FIDDLE() local
20 draw_lines(points, SK_ARRAY_COUNT(points), paint); in REG_FIDDLE()
21 points[1] -= {1, 1}; in REG_FIDDLE()
22 points[2] -= {-1, -1}; in REG_FIDDLE()
24 draw_lines(points, SK_ARRAY_COUNT(points), paint); in REG_FIDDLE()
H A DIPoint_addto_operator.cpp15 SkIPoint points[] = { { 3, 1 }, { 4, 2 }, { 5, 1 }, { 7, 3 } }; in REG_FIDDLE() local
20 draw_lines(points, SK_ARRAY_COUNT(points), paint); in REG_FIDDLE()
21 points[1] += {1, 1}; in REG_FIDDLE()
22 points[2] += {-1, -1}; in REG_FIDDLE()
24 draw_lines(points, SK_ARRAY_COUNT(points), paint); in REG_FIDDLE()
H A DPoint_multiplyby_operator.cpp9 SkPoint points[] = { { 3, 1 }, { 4, 2 }, { 5, 1 }, { 7, 3 }, in REG_FIDDLE() local
15 canvas->drawPoints(SkCanvas::kPolygon_PointMode, SK_ARRAY_COUNT(points), points, paint); in REG_FIDDLE()
16 for (auto& point : points) { in REG_FIDDLE()
20 canvas->drawPoints(SkCanvas::kPolygon_PointMode, SK_ARRAY_COUNT(points), points, paint); in REG_FIDDLE()
H A DPoint_offset_3.cpp9 SkPoint points[] = { { 3, 1 }, { 4, 2 }, { 5, 1 }, { 7, 3 }, in REG_FIDDLE() local
15 canvas->drawPoints(SkCanvas::kPolygon_PointMode, SK_ARRAY_COUNT(points), points, paint); in REG_FIDDLE()
16 points[1].offset(1, 1); in REG_FIDDLE()
18 canvas->drawPoints(SkCanvas::kPolygon_PointMode, SK_ARRAY_COUNT(points), points, paint); in REG_FIDDLE()
H A DPoint_multiply_operator.cpp9 SkPoint points[] = { { 3, 1 }, { 4, 2 }, { 5, 1 }, { 7, 3 }, in REG_FIDDLE() local
15 canvas->drawPoints(SkCanvas::kPolygon_PointMode, SK_ARRAY_COUNT(points), points, paint); in REG_FIDDLE()
16 for (auto& point : points) { in REG_FIDDLE()
20 canvas->drawPoints(SkCanvas::kPolygon_PointMode, SK_ARRAY_COUNT(points), points, paint); in REG_FIDDLE()
/third_party/skia/src/utils/
H A DSkParsePath.cpp96 SkPoint points[3]; in FromSVGString() local
128 data = find_points(data, points, 1, relative, &c); in FromSVGString()
129 path.moveTo(points[0]); in FromSVGString()
132 c = points[0]; in FromSVGString()
135 data = find_points(data, points, 1, relative, &c); in FromSVGString()
136 path.lineTo(points[0]); in FromSVGString()
137 c = points[0]; in FromSVGString()
152 data = find_points(data, points, 3, relative, &c); in FromSVGString()
155 data = find_points(data, &points[1], 2, relative, &c); in FromSVGString()
156 points[ in FromSVGString()
[all...]
H A DSkPatchUtils.cpp73 * Receives the 4 control points of the cubic bezier.
76 explicit FwDCubicEvaluator(const SkPoint points[4]) in FwDCubicEvaluator() argument
77 : fCoefs(points) { in FwDCubicEvaluator()
78 memcpy(fPoints, points, 4 * sizeof(SkPoint)); in FwDCubicEvaluator()
135 * Calculate the approximate arc length given a bezier curve's control points.
138 static SkScalar approx_arc_length(const SkPoint points[], int count) { in approx_arc_length() argument
144 arcLength += SkPoint::Distance(points[i], points[i + 1]); in approx_arc_length()
193 void SkPatchUtils::GetTopCubic(const SkPoint cubics[12], SkPoint points[4]) { in GetTopCubic() argument
194 points[ in GetTopCubic()
200 GetBottomCubic(const SkPoint cubics[12], SkPoint points[4]) GetBottomCubic() argument
207 GetLeftCubic(const SkPoint cubics[12], SkPoint points[4]) GetLeftCubic() argument
214 GetRightCubic(const SkPoint cubics[12], SkPoint points[4]) GetRightCubic() argument
[all...]
/third_party/lame/frontend/
H A Dgpkplotting.c95 int n, /* number of data points */ in gpk_graph_draw()
103 GdkPoint *points; in gpk_graph_draw() local
135 points = g_malloc(n * sizeof(GdkPoint)); in gpk_graph_draw()
137 points[i].x = .5 + ((xcord[i] - xmn) * (width - 1) / (xmx - xmn)); in gpk_graph_draw()
138 points[i].y = .5 + ((ycord[i] - ymx) * (height - 1) / (ymn - ymx)); in gpk_graph_draw()
140 gdk_draw_lines(*ppixmap, gc, points, n); in gpk_graph_draw()
141 g_free(points); in gpk_graph_draw()
156 GdkPoint points[2]; in gpk_rectangle_draw() local
172 points[i].x = .5 + ((xcord[i] - xmn) * (width - 1) / (xmx - xmn)); in gpk_rectangle_draw()
173 points[ in gpk_rectangle_draw()
196 GdkPoint points[2]; gpk_bargraph_draw() local
[all...]
/third_party/ffmpeg/libavfilter/
H A Df_segment.c48 int64_t *points; member
65 static int parse_points(AVFilterContext *ctx, char *item_str, int nb_points, int64_t *points) in parse_points() argument
85 ret = av_parse_time(&points[i], arg, s->use_timestamps); in parse_points()
87 if (sscanf(arg, "%"SCNd64, &points[i]) != 1) in parse_points()
96 cur = points[i]; in parse_points()
97 points[i] += ref; in parse_points()
125 s->points = av_calloc(s->nb_points, sizeof(*s->points)); in init()
126 if (!s->points) in init()
129 ret = parse_points(ctx, split_str, s->nb_points - 1, s->points); in init()
[all...]
/third_party/typescript/tests/baselines/reference/
H A DExportClassWithInaccessibleTypeInIndexerTypeAnnotations.js9 export class points {
26 var points = /** @class */ (function () {
27 function points() {
29 return points;
31 A.points = points;
/third_party/rust/crates/clap/tests/derive/
H A Doccurrences.rs9 points: Vec<Vec<i32>>, in test_vec_of_vec()
14 points: vec![vec![1, 2], vec![0, 0]] in test_vec_of_vec()
45 points: Vec<Vec<i32>>, in test_vec_vec_empty()
49 Opt { points: vec![] }, in test_vec_vec_empty()
59 points: Option<Vec<Vec<i32>>>, in test_option_vec_vec()
64 points: Some(vec![vec![1, 2], vec![3, 4]]) in test_option_vec_vec()
75 points: Option<Vec<Vec<i32>>>, in test_option_vec_vec_empty()
79 Opt { points: None }, in test_option_vec_vec_empty()
/third_party/skia/third_party/externals/freetype/src/base/
H A Dftoutln.c88 limit = outline->points + last; in FT_EXPORT_DEF()
90 v_start = outline->points[first]; in FT_EXPORT_DEF()
94 v_last = outline->points[last]; in FT_EXPORT_DEF()
100 point = outline->points + first; in FT_EXPORT_DEF()
120 /* if both first and last points are conic, */ in FT_EXPORT_DEF()
319 if ( FT_NEW_ARRAY( anoutline->points, numPoints ) || in FT_EXPORT_DEF()
404 FT_ARRAY_COPY( target->points, source->points, source->n_points ); in FT_EXPORT_DEF()
444 FT_FREE( outline->points ); in FT_EXPORT_DEF()
474 FT_Vector* vec = outline->points; in FT_Outline_Get_CBox()
908 FT_Vector* points; FT_EXPORT_DEF() local
1043 FT_Vector* points; FT_EXPORT_DEF() local
[all...]
/third_party/skia/third_party/externals/freetype/src/autofit/
H A Dafhints.c345 AF_Point point = hints->points + point_idx; in af_get_segment_index()
418 AF_Point points = hints->points; in af_glyph_hints_dump_points() local
419 AF_Point limit = points + hints->num_points; in af_glyph_hints_dump_points()
425 AF_DUMP(( "Table of points:\n" )); in af_glyph_hints_dump_points()
439 for ( point = points; point < limit; point++ ) in af_glyph_hints_dump_points()
441 int point_idx = AF_INDEX_NUM( point, points ); in af_glyph_hints_dump_points()
542 AF_Point points = hints->points; in af_glyph_hints_dump_segments() local
574 AF_INDEX_NUM( seg->first, points ), in af_glyph_hints_dump_segments()
864 AF_Point points; FT_LOCAL_DEF() local
1392 AF_Point points = hints->points; af_glyph_hints_align_strong_points() local
1666 AF_Point points = hints->points; af_glyph_hints_align_weak_points() local
[all...]

Completed in 8 milliseconds

12345678910>>...13