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

  /external/chromium_org/third_party/WebKit/Source/core/html/canvas/
CanvasPathMethods.cpp 136 float adjustEndAngle(float startAngle, float endAngle, bool anticlockwise)
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,
146 if (!anticlockwise && endAngle - startAngle >= twoPi)
148 else if (anticlockwise && startAngle - endAngle >= twoPi)
153 * going anti-clockwise if the anticlockwise argument is true, and clockwise otherwise.
157 /* NOTE: When startAngle = 0, endAngle = 2Pi and anticlockwise = true, the spec does not indicate clearly.
161 else if (!anticlockwise && startAngle > endAngle)
163 else if (anticlockwise && startAngle < endAngle)
227 void degenerateEllipse(CanvasPathMethods* path, float x, float y, float radiusX, float radiusY, float rotation, float startAngle, float endAngle, bool anticlockwise)
278 m_path.addArc(FloatPoint(x, y), radius, startAngle, adjustedEndAngle, anticlockwise); local
302 m_path.addEllipse(FloatPoint(x, y), radiusX, radiusY, rotation, startAngle, adjustedEndAngle, anticlockwise); local
    [all...]
  /external/chromium_org/third_party/WebKit/Source/platform/graphics/
Path.cpp 279 void Path::addEllipse(const FloatPoint& p, float radiusX, float radiusY, float startAngle, float endAngle, bool anticlockwise)
283 ASSERT((anticlockwise && (startAngle - endAngle) >= 0) || (!anticlockwise && (endAngle - startAngle) >= 0));
317 void Path::addArc(const FloatPoint& p, float radius, float startAngle, float endAngle, bool anticlockwise)
319 addEllipse(p, radius, radius, startAngle, endAngle, anticlockwise);
327 void Path::addEllipse(const FloatPoint& p, float radiusX, float radiusY, float rotation, float startAngle, float endAngle, bool anticlockwise)
331 ASSERT((anticlockwise && (startAngle - endAngle) >= 0) || (!anticlockwise && (endAngle - startAngle) >= 0));
334 addEllipse(FloatPoint(p.x(), p.y()), radiusX, radiusY, startAngle, endAngle, anticlockwise); local
343 addEllipse(FloatPoint::zero(), radiusX, radiusY, startAngle, endAngle, anticlockwise); local
    [all...]

Completed in 99 milliseconds