Searched refs:endAngle (Results 1 - 8 of 8) 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
138 float newEndAngle = endAngle;
140 * If the anticlockwise argument is false and endAngle-startAngle is equal to or greater than 2pi, or,
141 * if the anticlockwise argument is true and startAngle-endAngle is equal to or greater than 2pi,
145 if (!anticlockwise && endAngle - startAngle >= twoPiFloat)
147 else if (anticlockwise && startAngle - endAngle >= twoPiFloat)
156 /* NOTE: When startAngle = 0, endAngle = 2Pi and anticlockwise = true, the spec does not indicate clearly.
160 else if (!anticlockwise && startAngle > endAngle)
161 newEndAngle = startAngle + (twoPiFloat - fmodf(startAngle - endAngle, twoPiFloat));
162 else if (anticlockwise && startAngle < endAngle)
179 canonicalizeAngle(float* startAngle, float* endAngle) argument
225 degenerateEllipse(CanvasPathMethods* path, float x, float y, float radiusX, float radiusY, float rotation, float startAngle, float endAngle, bool anticlockwise) argument
254 arc(float x, float y, float radius, float startAngle, float endAngle, bool anticlockwise, ExceptionState& exceptionState) argument
278 ellipse(float x, float y, float radiusX, float radiusY, float rotation, float startAngle, float endAngle, bool anticlockwise, ExceptionState& exceptionState) argument
[all...]
H A DCanvasPathMethods.h49 void arc(float x, float y, float radius, float startAngle, float endAngle, bool anticlockwise, ExceptionState&);
50 void ellipse(float x, float y, float radiusX, float radiusY, float rotation, float startAngle, float endAngle, bool anticlockwise, ExceptionState&);
/external/chromium_org/third_party/WebKit/Source/platform/graphics/
H A DPath.h124 void addArc(const FloatPoint&, float radius, float startAngle, float endAngle, bool anticlockwise);
126 void addEllipse(const FloatPoint&, float radiusX, float radiusY, float rotation, float startAngle, float endAngle, bool anticlockwise);
152 void addEllipse(const FloatPoint&, float radiusX, float radiusY, float startAngle, float endAngle, bool anticlockwise);
158 PLATFORM_EXPORT bool ellipseIsRenderable(float startAngle, float endAngle);
H A DPath.cpp313 void Path::addEllipse(const FloatPoint& p, float radiusX, float radiusY, float startAngle, float endAngle, bool anticlockwise) argument
315 ASSERT(ellipseIsRenderable(startAngle, endAngle));
317 ASSERT((anticlockwise && (startAngle - endAngle) >= 0) || (!anticlockwise && (endAngle - startAngle) >= 0));
327 float sweep = endAngle - startAngle;
351 void Path::addArc(const FloatPoint& p, float radius, float startAngle, float endAngle, bool anticlockwise) argument
353 addEllipse(p, radius, radius, startAngle, endAngle, anticlockwise);
361 void Path::addEllipse(const FloatPoint& p, float radiusX, float radiusY, float rotation, float startAngle, float endAngle, bool anticlockwise) argument
363 ASSERT(ellipseIsRenderable(startAngle, endAngle));
365 ASSERT((anticlockwise && (startAngle - endAngle) >
368 addEllipse(FloatPoint(p.x(), p.y()), radiusX, radiusY, startAngle, endAngle, anticlockwise); local
377 addEllipse(FloatPoint::zero(), radiusX, radiusY, startAngle, endAngle, anticlockwise); local
499 ellipseIsRenderable(float startAngle, float endAngle) argument
[all...]
/external/chromium_org/third_party/angle/samples/angle/particle_system/
H A DParticleSystem.cpp101 float endAngle = RandomBetween(0, 2.0f * float(M_PI)); local
103 mParticles[i].endPosition.x = sinf(endAngle) * endRadius;
104 mParticles[i].endPosition.y = cosf(endAngle) * endRadius;
/external/chromium_org/third_party/skia/experimental/SkV8Example/
H A DPath2D.cpp150 double endAngle = args[4]->NumberValue(); local
157 sweepAngle = endAngle - startAngle;
159 sweepAngle = startAngle - endAngle;
160 startAngle = endAngle;
/external/skia/experimental/SkV8Example/
H A DPath2D.cpp150 double endAngle = args[4]->NumberValue(); local
157 sweepAngle = endAngle - startAngle;
159 sweepAngle = startAngle - endAngle;
160 startAngle = endAngle;
/external/chromium_org/chrome/common/extensions/docs/examples/api/downloads/download_manager/
H A Dbackground.js26 function drawProgressArc(ctx, startAngle, endAngle) {
31 ctx.arc(center, center, center * 0.9, startAngle, endAngle, false);

Completed in 1324 milliseconds