HomeSort by relevance Sort by last modified time
    Searched refs:anticlockwise (Results 1 - 4 of 4) sorted by null

  /external/chromium_org/third_party/WebKit/Source/core/html/canvas/
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&);
CanvasPathMethods.cpp 136 float adjustEndAngle(float startAngle, float endAngle, bool anticlockwise)
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)
275 m_path.addArc(FloatPoint(x, y), radius, startAngle, adjustedEndAngle, anticlockwise); local
303 m_path.addEllipse(FloatPoint(x, y), radiusX, radiusY, rotation, startAngle, adjustedEndAngle, anticlockwise); local
    [all...]
  /external/chromium_org/third_party/WebKit/Source/platform/graphics/
Path.h 125 void addArc(const FloatPoint&, float radius, float startAngle, float endAngle, bool anticlockwise);
127 void addEllipse(const FloatPoint&, float radiusX, float radiusY, float rotation, float startAngle, float endAngle, bool anticlockwise);
150 void addEllipse(const FloatPoint&, float radiusX, float radiusY, float startAngle, float endAngle, bool anticlockwise);
Path.cpp 315 void Path::addEllipse(const FloatPoint& p, float radiusX, float radiusY, float startAngle, float endAngle, bool anticlockwise)
319 ASSERT((anticlockwise && (startAngle - endAngle) >= 0) || (!anticlockwise && (endAngle - startAngle) >= 0));
353 void Path::addArc(const FloatPoint& p, float radius, float startAngle, float endAngle, bool anticlockwise)
355 addEllipse(p, radius, radius, startAngle, endAngle, anticlockwise);
363 void Path::addEllipse(const FloatPoint& p, float radiusX, float radiusY, float rotation, float startAngle, float endAngle, bool anticlockwise)
367 ASSERT((anticlockwise && (startAngle - endAngle) >= 0) || (!anticlockwise && (endAngle - startAngle) >= 0));
370 addEllipse(FloatPoint(p.x(), p.y()), radiusX, radiusY, startAngle, endAngle, anticlockwise); local
379 addEllipse(FloatPoint::zero(), radiusX, radiusY, startAngle, endAngle, anticlockwise); local
    [all...]

Completed in 229 milliseconds