Searched defs:startAngle (Results 1 - 15 of 15) sorted by relevance

/external/chromium_org/third_party/WebKit/Source/core/html/canvas/
H A DCanvasPathMethods.cpp136 float adjustEndAngle(float startAngle, float endAngle, bool anticlockwise) argument
141 * If the anticlockwise argument is false and endAngle-startAngle is equal to or greater than 2pi, or,
142 * if the anticlockwise argument is true and startAngle-endAngle is equal to or greater than 2pi,
143 * then the arc is the whole circumference of this ellipse, and the point at startAngle along this circle's circumference,
146 if (!anticlockwise && endAngle - startAngle >= twoPi)
147 newEndAngle = startAngle + twoPi;
148 else if (anticlockwise && startAngle - endAngle >= twoPi)
149 newEndAngle = startAngle - twoPi;
157 /* NOTE: When startAngle = 0, endAngle = 2Pi and anticlockwise = true, the spec does not indicate clearly.
161 else if (!anticlockwise && startAngle > endAngl
180 canonicalizeAngle(float* startAngle, float* endAngle) argument
227 degenerateEllipse(CanvasPathMethods* path, float x, float y, float radiusX, float radiusY, float rotation, float startAngle, float endAngle, bool anticlockwise) argument
257 arc(float x, float y, float radius, float startAngle, float endAngle, bool anticlockwise, ExceptionState& exceptionState) argument
278 m_path.addArc(FloatPoint(x, y), radius, startAngle, adjustedEndAngle, anticlockwise); local
281 ellipse(float x, float y, float radiusX, float radiusY, float rotation, float startAngle, float endAngle, bool anticlockwise, ExceptionState& exceptionState) argument
302 m_path.addEllipse(FloatPoint(x, y), radiusX, radiusY, rotation, startAngle, adjustedEndAngle, anticlockwise); local
[all...]
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/vega/
H A Dvgu.c262 VGfloat startAngle,
269 VGfloat last = startAngle + angleExtent;
289 coords[0] = x+cos(DEGREES_TO_RADIANS(startAngle))*width/2;
290 coords[1] = y+sin(DEGREES_TO_RADIANS(startAngle))*height/2;
296 VGfloat angle = startAngle + 180;
319 VGfloat angle = startAngle - 180;
259 vguArc(VGPath path, VGfloat x, VGfloat y, VGfloat width, VGfloat height, VGfloat startAngle, VGfloat angleExtent, VGUArcType arcType) argument
/external/mesa3d/src/gallium/state_trackers/vega/
H A Dvgu.c262 VGfloat startAngle,
269 VGfloat last = startAngle + angleExtent;
289 coords[0] = x+cos(DEGREES_TO_RADIANS(startAngle))*width/2;
290 coords[1] = y+sin(DEGREES_TO_RADIANS(startAngle))*height/2;
296 VGfloat angle = startAngle + 180;
319 VGfloat angle = startAngle - 180;
259 vguArc(VGPath path, VGfloat x, VGfloat y, VGfloat width, VGfloat height, VGfloat startAngle, VGfloat angleExtent, VGUArcType arcType) argument
/external/chromium_org/third_party/WebKit/Source/platform/graphics/
H A DPath.cpp279 void Path::addEllipse(const FloatPoint& p, float radiusX, float radiusY, float startAngle, float endAngle, bool anticlockwise) argument
281 ASSERT(ellipseIsRenderable(startAngle, endAngle));
282 ASSERT(startAngle >= 0 && startAngle < 2 * piFloat);
283 ASSERT((anticlockwise && (startAngle - endAngle) >= 0) || (!anticlockwise && (endAngle - startAngle) >= 0));
293 float sweep = endAngle - startAngle;
294 SkScalar startDegrees = WebCoreFloatToSkScalar(startAngle * 180 / piFloat);
317 void Path::addArc(const FloatPoint& p, float radius, float startAngle, float endAngle, bool anticlockwise) argument
319 addEllipse(p, radius, radius, startAngle, endAngl
327 addEllipse(const FloatPoint& p, float radiusX, float radiusY, float rotation, float startAngle, float endAngle, bool anticlockwise) argument
334 addEllipse(FloatPoint(p.x(), p.y()), radiusX, radiusY, startAngle, endAngle, anticlockwise); local
343 addEllipse(FloatPoint::zero(), radiusX, radiusY, startAngle, endAngle, anticlockwise); local
450 ellipseIsRenderable(float startAngle, float endAngle) argument
[all...]
H A DGraphicsContext.cpp1751 void GraphicsContext::addCornerArc(SkPath* path, const SkRect& rect, const IntSize& size, int startAngle) argument
1758 switch (startAngle) {
1777 path->arcTo(r, SkIntToScalar(startAngle), SkIntToScalar(90), false);
/external/chromium_org/third_party/WebKit/Source/core/rendering/shapes/
H A DPolygonShape.cpp115 float startAngle = atan2(startArcVertex.y() - arcCenter.y(), startArcVertex.x() - arcCenter.x()); local
118 if (startAngle < 0)
119 startAngle += twoPI;
122 float angle = (startAngle > endAngle) ? (startAngle - endAngle) : (startAngle + twoPI - endAngle);
128 float angle = startAngle + arcSegmentAngle * i;
/external/proguard/src/proguard/gui/splash/
H A DOverrideGraphics2D.java274 public void drawArc(int x, int y, int width, int height, int startAngle, int arcAngle) argument
276 graphics.drawArc(x, y, width, height, startAngle, arcAngle);
414 public void fillArc(int x, int y, int width, int height, int startAngle, int arcAngle) argument
416 graphics.fillArc(x, y, width, height, startAngle, arcAngle);
/external/skia/bench/
H A DPathBench.cpp677 int startAngle)
685 switch (startAngle) {
702 path->arcTo(arcRect, SkIntToScalar(startAngle), SkIntToScalar(90), false);
675 add_corner_arc(SkPath* path, const SkRect& rect, SkScalar xIn, SkScalar yIn, int startAngle) argument
/external/chromium_org/third_party/skia/src/core/
H A DSkCanvas.cpp2137 void SkCanvas::drawArc(const SkRect& oval, SkScalar startAngle, argument
2147 path.arcTo(oval, startAngle, sweepAngle, !useCenter);
H A DSkPath.cpp844 static int build_arc_points(const SkRect& oval, SkScalar startAngle, argument
849 (0 == startAngle || SkIntToScalar(360) == startAngle)) {
868 start.fY = SkScalarSinCos(SkDegreesToRadians(startAngle), &start.fX);
869 stop.fY = SkScalarSinCos(SkDegreesToRadians(startAngle + sweepAngle),
883 SkScalar stopRad = SkDegreesToRadians(startAngle + sweepAngle);
1283 void SkPath::arcTo(const SkRect& oval, SkScalar startAngle, SkScalar sweepAngle, argument
1290 int count = build_arc_points(oval, startAngle, sweepAngle, pts);
1303 void SkPath::addArc(const SkRect& oval, SkScalar startAngle, SkScalar sweepAngle) { argument
1316 int count = build_arc_points(oval, startAngle, sweepAngl
[all...]
/external/skia/src/core/
H A DSkCanvas.cpp2137 void SkCanvas::drawArc(const SkRect& oval, SkScalar startAngle, argument
2147 path.arcTo(oval, startAngle, sweepAngle, !useCenter);
H A DSkPath.cpp844 static int build_arc_points(const SkRect& oval, SkScalar startAngle, argument
849 (0 == startAngle || SkIntToScalar(360) == startAngle)) {
868 start.fY = SkScalarSinCos(SkDegreesToRadians(startAngle), &start.fX);
869 stop.fY = SkScalarSinCos(SkDegreesToRadians(startAngle + sweepAngle),
883 SkScalar stopRad = SkDegreesToRadians(startAngle + sweepAngle);
1283 void SkPath::arcTo(const SkRect& oval, SkScalar startAngle, SkScalar sweepAngle, argument
1290 int count = build_arc_points(oval, startAngle, sweepAngle, pts);
1303 void SkPath::addArc(const SkRect& oval, SkScalar startAngle, SkScalar sweepAngle) { argument
1316 int count = build_arc_points(oval, startAngle, sweepAngl
[all...]
/external/skia/tests/
H A DPathTest.cpp502 int startAngle)
510 switch (startAngle) {
527 path->arcTo(arcRect, SkIntToScalar(startAngle), SkIntToScalar(90), false);
500 add_corner_arc(SkPath* path, const SkRect& rect, SkScalar xIn, SkScalar yIn, int startAngle) argument
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
H A Dorg.eclipse.swt.gtk.linux.x86_3.6.1.v3657a.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ...
H A Dorg.eclipse.swt.win32.win32.x86_3.6.1.v3657a.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ...

Completed in 908 milliseconds