/external/chromium_org/third_party/WebKit/Source/core/html/canvas/ |
H A D | CanvasPathMethods.cpp | 136 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 D | CanvasPathMethods.h | 49 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 D | Path.h | 124 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 D | Path.cpp | 313 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 D | ParticleSystem.cpp | 101 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 D | Path2D.cpp | 150 double endAngle = args[4]->NumberValue(); local 157 sweepAngle = endAngle - startAngle; 159 sweepAngle = startAngle - endAngle; 160 startAngle = endAngle;
|
/external/skia/experimental/SkV8Example/ |
H A D | Path2D.cpp | 150 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 D | background.js | 26 function drawProgressArc(ctx, startAngle, endAngle) { 31 ctx.arc(center, center, center * 0.9, startAngle, endAngle, false);
|