Home
last modified time | relevance | path

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

12

/external/chromium_org/third_party/WebKit/Source/core/html/canvas/
DCanvasPathMethods.cpp136 float adjustEndAngle(float startAngle, float endAngle, bool anticlockwise) in adjustEndAngle() argument
146 if (!anticlockwise && endAngle - startAngle >= twoPi) in adjustEndAngle()
147 newEndAngle = startAngle + twoPi; in adjustEndAngle()
148 else if (anticlockwise && startAngle - endAngle >= twoPi) in adjustEndAngle()
149 newEndAngle = startAngle - twoPi; in adjustEndAngle()
161 else if (!anticlockwise && startAngle > endAngle) in adjustEndAngle()
162 newEndAngle = startAngle + (twoPi - fmodf(startAngle - endAngle, twoPi)); in adjustEndAngle()
163 else if (anticlockwise && startAngle < endAngle) in adjustEndAngle()
164 newEndAngle = startAngle - (twoPi - fmodf(endAngle - startAngle, twoPi)); in adjustEndAngle()
166 ASSERT(ellipseIsRenderable(startAngle, newEndAngle)); in adjustEndAngle()
[all …]
DCanvasPathMethods.h49 …void arc(float x, float y, float radius, float startAngle, float endAngle, bool anticlockwise, Exc…
50 …void ellipse(float x, float y, float radiusX, float radiusY, float rotation, float startAngle, flo…
DPath.idl65 [Default=Undefined] optional float startAngle,
DCanvasRenderingContext2D.idl80 …[RaisesException] void arc(float x, float y, float radius, float startAngle, float endAngle, [Defa…
81 …(float x, float y, float radiusX, float radiusY, float rotation, float startAngle, float endAngle,…
/external/chromium_org/third_party/WebKit/Source/platform/graphics/
DPath.cpp279 void Path::addEllipse(const FloatPoint& p, float radiusX, float radiusY, float startAngle, float en… in addEllipse() argument
281 ASSERT(ellipseIsRenderable(startAngle, endAngle)); in addEllipse()
282 ASSERT(startAngle >= 0 && startAngle < 2 * piFloat); in addEllipse()
283 …ASSERT((anticlockwise && (startAngle - endAngle) >= 0) || (!anticlockwise && (endAngle - startAngl… in addEllipse()
293 float sweep = endAngle - startAngle; in addEllipse()
294 SkScalar startDegrees = WebCoreFloatToSkScalar(startAngle * 180 / piFloat); in addEllipse()
317 void Path::addArc(const FloatPoint& p, float radius, float startAngle, float endAngle, bool anticlo… in addArc() argument
319 addEllipse(p, radius, radius, startAngle, endAngle, anticlockwise); in addArc()
327 …nst FloatPoint& p, float radiusX, float radiusY, float rotation, float startAngle, float endAngle,… in addEllipse() argument
329 ASSERT(ellipseIsRenderable(startAngle, endAngle)); in addEllipse()
[all …]
DPath.h105 …void addArc(const FloatPoint&, float radius, float startAngle, float endAngle, bool anticlockwise);
107 …const FloatPoint&, float radiusX, float radiusY, float rotation, float startAngle, float endAngle,…
128 …void addEllipse(const FloatPoint&, float radiusX, float radiusY, float startAngle, float endAngle,…
134 PLATFORM_EXPORT bool ellipseIsRenderable(float startAngle, float endAngle);
/external/chromium_org/third_party/flot/
Djquery.flot.pie.min.js56startAngle,n=i.series.pie.radius>1?i.series.pie.radius:u*i.series.pie.radius;c.save(),c.translate(… property
/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/chromium_org/third_party/mesa/src/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/chromium_org/third_party/WebKit/Source/core/rendering/shapes/
DPolygonShape.cpp115 … float startAngle = atan2(startArcVertex.y() - arcCenter.y(), startArcVertex.x() - arcCenter.x()); in appendArc() local
118 if (startAngle < 0) in appendArc()
119 startAngle += twoPI; in appendArc()
122 … float angle = (startAngle > endAngle) ? (startAngle - endAngle) : (startAngle + twoPI - endAngle); in appendArc()
128 float angle = startAngle + arcSegmentAngle * i; in appendArc()
/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/chromium_org/chrome/common/extensions/docs/examples/api/downloads/download_manager/
Dbackground.js26 function drawProgressArc(ctx, startAngle, endAngle) { argument
31 ctx.arc(center, center, center * 0.9, startAngle, endAngle, false);
/external/chromium_org/third_party/mesa/src/include/VG/
Dvgu.h102 VGfloat startAngle, VGfloat angleExtent,
/external/mesa3d/include/VG/
Dvgu.h102 VGfloat startAngle, VGfloat angleExtent,
/external/skia/src/core/
DSkPath.cpp844 static int build_arc_points(const SkRect& oval, SkScalar startAngle, in build_arc_points() argument
849 (0 == startAngle || SkIntToScalar(360) == startAngle)) { in build_arc_points()
868 start.fY = SkScalarSinCos(SkDegreesToRadians(startAngle), &start.fX); in build_arc_points()
869 stop.fY = SkScalarSinCos(SkDegreesToRadians(startAngle + sweepAngle), in build_arc_points()
883 SkScalar stopRad = SkDegreesToRadians(startAngle + sweepAngle); in build_arc_points()
1283 void SkPath::arcTo(const SkRect& oval, SkScalar startAngle, SkScalar sweepAngle, in arcTo() argument
1290 int count = build_arc_points(oval, startAngle, sweepAngle, pts); in arcTo()
1303 void SkPath::addArc(const SkRect& oval, SkScalar startAngle, SkScalar sweepAngle) { in addArc() argument
1316 int count = build_arc_points(oval, startAngle, sweepAngle, pts); in addArc()
/external/chromium_org/third_party/skia/src/core/
DSkPath.cpp844 static int build_arc_points(const SkRect& oval, SkScalar startAngle, in build_arc_points() argument
849 (0 == startAngle || SkIntToScalar(360) == startAngle)) { in build_arc_points()
868 start.fY = SkScalarSinCos(SkDegreesToRadians(startAngle), &start.fX); in build_arc_points()
869 stop.fY = SkScalarSinCos(SkDegreesToRadians(startAngle + sweepAngle), in build_arc_points()
883 SkScalar stopRad = SkDegreesToRadians(startAngle + sweepAngle); in build_arc_points()
1283 void SkPath::arcTo(const SkRect& oval, SkScalar startAngle, SkScalar sweepAngle, in arcTo() argument
1290 int count = build_arc_points(oval, startAngle, sweepAngle, pts); in arcTo()
1303 void SkPath::addArc(const SkRect& oval, SkScalar startAngle, SkScalar sweepAngle) { in addArc() argument
1316 int count = build_arc_points(oval, startAngle, sweepAngle, pts); in addArc()
/external/chromium_org/third_party/skia/include/core/
DSkPath.h464 void arcTo(const SkRect& oval, SkScalar startAngle, SkScalar sweepAngle,
637 void addArc(const SkRect& oval, SkScalar startAngle, SkScalar sweepAngle);
DSkCanvas.h647 void drawArc(const SkRect& oval, SkScalar startAngle, SkScalar sweepAngle,
/external/skia/include/core/
DSkPath.h464 void arcTo(const SkRect& oval, SkScalar startAngle, SkScalar sweepAngle,
637 void addArc(const SkRect& oval, SkScalar startAngle, SkScalar sweepAngle);
DSkCanvas.h647 void drawArc(const SkRect& oval, SkScalar startAngle, SkScalar sweepAngle,
/external/chromium/chrome/browser/ui/cocoa/
Dprofile_menu_button.mm178 startAngle:180
187 startAngle:270
Dhover_close_button.mm94 startAngle:0.0
Ddock_icon.mm112 startAngle:90.0
/external/skia/bench/
DPathBench.cpp677 int startAngle) in add_corner_arc() argument
685 switch (startAngle) { in add_corner_arc()
702 path->arcTo(arcRect, SkIntToScalar(startAngle), SkIntToScalar(90), false); in add_corner_arc()
/external/chromium_org/chrome/browser/ui/cocoa/
Ddock_icon.mm125 startAngle:90.0

12