Searched refs:curve (Results 1 - 5 of 5) sorted by relevance
/haiku/headers/libs/agg/ |
H A D | agg_bezier_arc.h | 32 double* curve);
|
/haiku/src/libs/agg/src/ |
H A D | agg_bezier_arc.cpp | 32 // of the sweep_angle. If fabs(sweep_angle) exceeds pi/2 the curve 40 double* curve) 63 curve[i * 2] = cx + rx * (px[i] * cs - py[i] * sn); 64 curve[i * 2 + 1] = cy + ry * (px[i] * sn + py[i] * cs); 38 arc_to_bezier(double cx, double cy, double rx, double ry, double start_angle, double sweep_angle, double* curve) argument
|
/haiku/src/libs/icon/shape/ |
H A D | VectorPath.cpp | 63 // curve from last to first control point 639 agg::curve4_inc curve(a.x, a.y, aOut.x, aOut.y, bIn.x, bIn.y, b.x, b.y); 643 unsigned cmd = curve.vertex(&x1, &y1); 645 cmd = curve.vertex(&x2, &y2); 678 // generate a curve for each segment of the path 679 // then iterate over the segments of the curve measuring the distance 799 agg::conv_curve<agg::path_storage> curve(path); 805 agg::bounding_rect(curve, pathID, 0, 1, &left, &top, &right, &bottom); 850 // generate a curve for each segment of the path 851 // then iterate over the segments of the curve 852 agg::curve4_inc curve; local [all...] |
/haiku/src/tests/servers/app/painter/ |
H A D | Painter.cpp | 437 agg::path_storage curve; local 448 curve.move_to(p1.x, p1.y); 449 curve.curve4(p1.x, p1.y, 454 agg::conv_curve<agg::path_storage> path(curve); 463 agg::path_storage curve; local 474 curve.move_to(p1.x, p1.y); 475 curve.curve4(p1.x, p1.y, 478 curve.close_polygon(); 480 agg::conv_curve<agg::path_storage> path(curve);
|
/haiku/src/apps/icon-o-matic/import_export/svg/ |
H A D | nanosvg.h | 568 static void nsvg__curveBounds(float* bounds, float* curve) argument 572 float* v0 = &curve[0]; 573 float* v1 = &curve[2]; 574 float* v2 = &curve[4]; 575 float* v3 = &curve[6]; 583 // Bezier curve fits inside the convex hull of it's control points. 588 // Add bezier curve inflection points in X and Y. 910 float curve[4*2], curveBounds[4]; local 913 nsvg__xformPoint(&curve[0], &curve[ 1034 float* curve; local [all...] |
Completed in 58 milliseconds