OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
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
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
);
Path.cpp
313
void Path::addEllipse(const FloatPoint& p, float radiusX, float radiusY, float startAngle, float endAngle, bool
anticlockwise
)
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
)
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
)
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
...]
Completed in 794 milliseconds