/external/chromium_org/third_party/WebKit/Source/core/html/canvas/ |
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&);
|
H A D | CanvasPathMethods.cpp | 136 float adjustEndAngle(float startAngle, float endAngle, bool anticlockwise) argument 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) 152 * going anti-clockwise if the anticlockwise argument is true, and clockwise otherwise. 156 /* NOTE: When startAngle = 0, endAngle = 2Pi and anticlockwise = true, the spec does not indicate clearly. 160 else if (!anticlockwise && startAngle > endAngle) 162 else if (anticlockwise && startAngle < endAngle) 225 void 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 275 m_path.addArc(FloatPoint(x, y), radius, startAngle, adjustedEndAngle, anticlockwise); local 278 ellipse(float x, float y, float radiusX, float radiusY, float rotation, float startAngle, float endAngle, bool anticlockwise, ExceptionState& exceptionState) argument 303 m_path.addEllipse(FloatPoint(x, y), radiusX, radiusY, rotation, startAngle, adjustedEndAngle, anticlockwise); local [all...] |
/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);
|
H A D | Path.cpp | 313 void Path::addEllipse(const FloatPoint& p, float radiusX, float radiusY, float startAngle, float endAngle, bool anticlockwise) argument 317 ASSERT((anticlockwise && (startAngle - endAngle) >= 0) || (!anticlockwise && (endAngle - startAngle) >= 0)); 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 365 ASSERT((anticlockwise && (startAngle - endAngle) >= 0) || (!anticlockwise && (endAngle - startAngle) >= 0)); 368 addEllipse(FloatPoint(p.x(), p.y()), radiusX, radiusY, startAngle, endAngle, anticlockwise); local 377 addEllipse(FloatPoint::zero(), radiusX, radiusY, startAngle, endAngle, anticlockwise); local [all...] |