Home
last modified time | relevance | path

Searched refs:startAngle (Results 1 – 25 of 43) sorted by relevance

12

/external/chromium-trace/catapult/third_party/flot/
Djquery.flot.pie.min.js7startAngle=Math.PI*options.series.pie.startAngle;var radius=options.series.pie.radius>1?options.se… property
Djquery.flot.pie.js379 var startAngle = Math.PI * options.series.pie.startAngle;
392 var currentAngle = startAngle;
394 slices[i].startAngle = currentAngle;
404 currentAngle = startAngle;
457 var currentAngle = startAngle;
471 function drawLabel(slice, startAngle, index) { argument
491 var halfAngle = ((startAngle + slice.angle) + startAngle) / 2;
591 ctx.arc(0, 0, radius, s.startAngle, s.startAngle + s.angle / 2, false);
592 ctx.arc(0, 0, radius, s.startAngle + s.angle / 2, s.startAngle + s.angle, false);
611 var p1X = radius * Math.cos(s.startAngle),
[all …]
/external/androidplot/AndroidPlot-Core/src/main/java/com/androidplot/pie/
DPieRenderer.java80 float rad, float startAngle, float sweep) { in drawSegment() argument
99 PointF r1Outer = calculateLineEnd(cx, cy, rad, startAngle); in drawSegment()
100 PointF r1Inner = calculateLineEnd(cx, cy, donutSizePx, startAngle); in drawSegment()
103 PointF r2Outer = calculateLineEnd(cx, cy, rad, startAngle + sweep); in drawSegment()
104 PointF r2Inner = calculateLineEnd(cx, cy, donutSizePx, startAngle + sweep); in drawSegment()
119 startAngle, sweep); in drawSegment()
125 p.arcTo(bounds, startAngle, sweep); in drawSegment()
134 startAngle + sweep, -sweep); in drawSegment()
153 (rad-((rad- donutSizePx)/2)), startAngle + (sweep/2)); in drawSegment()
/external/skia/gm/
Daddarc.cpp40 SkScalar startAngle = rand.nextUScalar1() * 360; in onDraw() local
43 startAngle += fRotate * 360 * speed * sign; in onDraw()
46 path.addArc(r, startAngle, sweepAngle); in onDraw()
213 SkScalar startAngle = startAngles[i % SK_ARRAY_COUNT(startAngles)] * sign; in onDraw() local
218 html_canvas_arc(&path, 18, 15, 10, startAngle, startAngle + (sweepAngles[j] * sign), in onDraw()
/external/pdfium/xfa/src/fdp/src/fde/
Dfde_gdidevice.cpp223 FX_FLOAT startAngle, in DrawArc() argument
226 startAngle = FX_RAD2DEG(startAngle); in DrawArc()
235 rect.height, startAngle, sweepAngle); in DrawArc()
348 FX_FLOAT startAngle, in DrawPie() argument
351 startAngle = FX_RAD2DEG(startAngle); in DrawPie()
360 rect.height, startAngle, sweepAngle); in DrawPie()
368 FX_FLOAT startAngle, in DrawChord() argument
372 chord.Set(rect, startAngle, sweepAngle); in DrawChord()
465 FX_FLOAT startAngle, in FillPie() argument
468 startAngle = FX_RAD2DEG(startAngle); in FillPie()
[all …]
Dfde_gdidevice.h51 FX_FLOAT startAngle,
87 FX_FLOAT startAngle,
93 FX_FLOAT startAngle,
121 FX_FLOAT startAngle,
126 FX_FLOAT startAngle,
Dfde_geobject.cpp74 FX_FLOAT startAngle, in ArcTo() argument
81 FXSYS_atan2(rx * FXSYS_sin(startAngle), ry * FXSYS_cos(startAngle)); in ArcTo()
Dfde_geobject.h44 FX_FLOAT startAngle,
/external/skia/experimental/SkV8Example/
DPath2DBuilder.cpp153 double startAngle = args[3]->NumberValue(); in Arc() local
161 sweepAngle = endAngle - startAngle; in Arc()
163 sweepAngle = startAngle - endAngle; in Arc()
164 startAngle = endAngle; in Arc()
175 path->fSkPath.addArc(rect, SkRadiansToDegrees(startAngle), in Arc()
/external/mesa3d/src/gallium/state_trackers/vega/
Dvgu.c262 VGfloat startAngle, in vguArc() argument
269 VGfloat last = startAngle + angleExtent; in vguArc()
289 coords[0] = x+cos(DEGREES_TO_RADIANS(startAngle))*width/2; in vguArc()
290 coords[1] = y+sin(DEGREES_TO_RADIANS(startAngle))*height/2; in vguArc()
296 VGfloat angle = startAngle + 180; in vguArc()
319 VGfloat angle = startAngle - 180; in vguArc()
/external/proguard/src/proguard/gui/splash/
DOverrideGraphics2D.java274 public void drawArc(int x, int y, int width, int height, int startAngle, int arcAngle) in drawArc() argument
276 graphics.drawArc(x, y, width, height, startAngle, arcAngle); in drawArc()
414 public void fillArc(int x, int y, int width, int height, int startAngle, int arcAngle) in fillArc() argument
416 graphics.fillArc(x, y, width, height, startAngle, arcAngle); in fillArc()
/external/skia/samplecode/
DSamplePathFuzz.cpp377 SkScalar startAngle = makeAngle(); in makePath() local
379 path.addArc(oval, startAngle, sweepAngle); in makePath()
527 SkScalar startAngle = makeAngle(); in makePath() local
530 path.arcTo(oval, startAngle, sweepAngle, forceMoveTo); in makePath()
/external/pdfium/xfa/include/fxgraphics/
Dfx_graphics.h340 FX_FLOAT startAngle,
372 FX_FLOAT startAngle,
379 FX_FLOAT startAngle,
/external/mesa3d/include/VG/
Dvgu.h102 VGfloat startAngle, VGfloat angleExtent,
/external/skia/src/core/
DSkPath.cpp1025 static bool arc_is_lone_point(const SkRect& oval, SkScalar startAngle, SkScalar sweepAngle, in arc_is_lone_point() argument
1027 if (0 == sweepAngle && (0 == startAngle || SkIntToScalar(360) == startAngle)) { in arc_is_lone_point()
1048 static void angles_to_unit_vectors(SkScalar startAngle, SkScalar sweepAngle, in angles_to_unit_vectors() argument
1050 startV->fY = SkScalarSinCos(SkDegreesToRadians(startAngle), &startV->fX); in angles_to_unit_vectors()
1051 stopV->fY = SkScalarSinCos(SkDegreesToRadians(startAngle + sweepAngle), &stopV->fX); in angles_to_unit_vectors()
1064 SkScalar stopRad = SkDegreesToRadians(startAngle + sweepAngle); in angles_to_unit_vectors()
1271 void SkPath::arcTo(const SkRect& oval, SkScalar startAngle, SkScalar sweepAngle, in arcTo() argument
1282 if (arc_is_lone_point(oval, startAngle, sweepAngle, &lonePt)) { in arcTo()
1289 angles_to_unit_vectors(startAngle, sweepAngle, &startV, &stopV, &dir); in arcTo()
1416 void SkPath::addArc(const SkRect& oval, SkScalar startAngle, SkScalar sweepAngle) { in addArc() argument
[all …]
/external/pdfium/xfa/src/fxfa/src/app/
Dxfa_ffwidget.cpp1128 FX_FLOAT startAngle = 0, sweepAngle = 360; in XFA_BOX_GetPath_Arc() local
1129 FX_BOOL bStart = box.GetStartAngle(startAngle); in XFA_BOX_GetPath_Arc()
1135 startAngle = -startAngle * FX_PI / 180.0f; in XFA_BOX_GetPath_Arc()
1138 startAngle, sweepAngle); in XFA_BOX_GetPath_Arc()
1667 FX_FLOAT startAngle = 0, sweepAngle = 360; in XFA_BOX_StrokeArc() local
1668 startAngle = startAngle * FX_PI / 180.0f; in XFA_BOX_StrokeArc()
/external/skia/include/core/
DSkPath.h508 void arcTo(const SkRect& oval, SkScalar startAngle, SkScalar sweepAngle, bool forceMoveTo);
739 void addArc(const SkRect& oval, SkScalar startAngle, SkScalar sweepAngle);
DSkCanvas.h742 void drawArc(const SkRect& oval, SkScalar startAngle, SkScalar sweepAngle,
/external/pdfium/xfa/src/fxgraphics/src/
Dfx_graphics.cpp1210 FX_FLOAT startAngle, in ArcTo() argument
1214 startAngle, sweepAngle); in ArcTo()
1268 FX_FLOAT startAngle, in AddArc() argument
1272 startAngle, sweepAngle); in AddArc()
1279 FX_FLOAT startAngle, in AddPie() argument
1283 startAngle, sweepAngle); in AddPie()
/external/skia/bench/
DPathBench.cpp651 int startAngle) in add_corner_arc() argument
659 switch (startAngle) { in add_corner_arc()
676 path->arcTo(arcRect, SkIntToScalar(startAngle), SkIntToScalar(90), false); in add_corner_arc()
/external/opencv3/modules/imgproc/misc/java/test/
DImgprocTest.java2033 double angle = 30, startAngle = 60, endAngle = 90; in testEllipseMatPointSizeDoubleDoubleDoubleScalar() local
2035 Imgproc.ellipse(gray0, center, axes, angle, startAngle, endAngle, colorWhite); in testEllipseMatPointSizeDoubleDoubleDoubleScalar()
2043 double angle = 30, startAngle = 60, endAngle = 90; in testEllipseMatPointSizeDoubleDoubleDoubleScalarInt() local
2045 Imgproc.ellipse(gray0, center, axes, angle, startAngle, endAngle, colorWhite, Core.FILLED); in testEllipseMatPointSizeDoubleDoubleDoubleScalarInt()
2055 double angle = 30, startAngle = 0, endAngle = 30; in testEllipseMatPointSizeDoubleDoubleDoubleScalarIntIntInt() local
2057 …Imgproc.ellipse(gray0, center, axes, angle, startAngle, endAngle, colorWhite, Core.FILLED, Imgproc… in testEllipseMatPointSizeDoubleDoubleDoubleScalarIntIntInt()
2061 …Imgproc.ellipse(gray0, center2, axes2, angle, startAngle, endAngle, colorBlack, Core.FILLED, Imgpr… in testEllipseMatPointSizeDoubleDoubleDoubleScalarIntIntInt()
/external/opencv3/modules/java/src/
Dimgproc+Imgproc.java2619 …public static void ellipse(Mat img, Point center, Size axes, double angle, double startAngle, doub… in ellipse() argument
2622 …ellipse_0(img.nativeObj, center.x, center.y, axes.width, axes.height, angle, startAngle, endAngle,… in ellipse()
2628 …public static void ellipse(Mat img, Point center, Size axes, double angle, double startAngle, doub… in ellipse() argument
2631 …ellipse_1(img.nativeObj, center.x, center.y, axes.width, axes.height, angle, startAngle, endAngle,… in ellipse()
2637 …public static void ellipse(Mat img, Point center, Size axes, double angle, double startAngle, doub… in ellipse() argument
2640 …ellipse_2(img.nativeObj, center.x, center.y, axes.width, axes.height, angle, startAngle, endAngle,… in ellipse()
3251 … center_y, double axes_width, double axes_height, double angle, double startAngle, double endAngle… in ellipse_0() argument
3252 … center_y, double axes_width, double axes_height, double angle, double startAngle, double endAngle… in ellipse_1() argument
3253 … center_y, double axes_width, double axes_height, double angle, double startAngle, double endAngle… in ellipse_2() argument
Dimgproc.cpp5472 …ter_y, jdouble axes_width, jdouble axes_height, jdouble angle, jdouble startAngle, jdouble endAngl… in Java_org_opencv_imgproc_Imgproc_ellipse_10() argument
5481 …cv::ellipse( img, center, axes, (double)angle, (double)startAngle, (double)endAngle, color, (int)t… in Java_org_opencv_imgproc_Imgproc_ellipse_10()
5496 …ter_y, jdouble axes_width, jdouble axes_height, jdouble angle, jdouble startAngle, jdouble endAngl… in Java_org_opencv_imgproc_Imgproc_ellipse_11() argument
5505 …cv::ellipse( img, center, axes, (double)angle, (double)startAngle, (double)endAngle, color, (int)t… in Java_org_opencv_imgproc_Imgproc_ellipse_11()
5520 …ter_y, jdouble axes_width, jdouble axes_height, jdouble angle, jdouble startAngle, jdouble endAngl… in Java_org_opencv_imgproc_Imgproc_ellipse_12() argument
5529 … cv::ellipse( img, center, axes, (double)angle, (double)startAngle, (double)endAngle, color ); in Java_org_opencv_imgproc_Imgproc_ellipse_12()
/external/opencv3/doc/py_tutorials/py_gui/py_drawing_functions/
Dpy_drawing_functions.markdown56 of ellipse in anti-clockwise direction. startAngle and endAngle denotes the starting and ending of
/external/opencv3/modules/imgproc/include/opencv2/
Dimgproc.hpp3862 double angle, double startAngle, double endAngle,

12