Searched defs:endAngle (Results 1 - 4 of 4) sorted by relevance
/external/webkit/Source/WebCore/platform/graphics/wx/ |
H A D | PathWx.cpp | 188 void Path::addArc(const FloatPoint& point, float radius, float startAngle, float endAngle, bool clockwise) argument 192 m_path->AddArc(point.x(), point.y(), radius, startAngle, endAngle, clockwise);
|
/external/webkit/Source/WebCore/platform/graphics/cairo/ |
H A D | PathCairo.cpp | 147 void Path::addArc(const FloatPoint& p, float r, float startAngle, float endAngle, bool anticlockwise) argument 151 if (!isfinite(r) || !isfinite(startAngle) || !isfinite(endAngle)) 155 float sweep = endAngle - startAngle; 158 && ((anticlockwise && (endAngle < startAngle)) || (!anticlockwise && (startAngle < endAngle)))) { 164 cairo_arc(cr, p.x(), p.y(), r, endAngle, endAngle); 167 cairo_arc_negative(cr, p.x(), p.y(), r, startAngle, endAngle); 169 cairo_arc(cr, p.x(), p.y(), r, startAngle, endAngle);
|
/external/webkit/Source/WebCore/platform/graphics/openvg/ |
H A D | PathOpenVG.cpp | 305 void Path::addArc(const FloatPoint& center, float radius, float startAngle, float endAngle, bool anticlockwise) argument 310 if (!isfinite(radius) || !isfinite(startAngle) || !isfinite(endAngle)) 317 endAngle = fmod((2.0 * piDouble) - endAngle, 2.0 * piDouble); 319 // Make it so that endAngle > startAngle. fmod() above takes care of 321 if (endAngle <= startAngle) 322 endAngle += 2.0 * piDouble; 325 ? (endAngle - startAngle) 326 : (startAngle - endAngle + (2.0 * piDouble)); 339 // (Set angle = {startAngle, endAngle} t [all...] |
/external/webkit/Source/WebCore/platform/graphics/wince/ |
H A D | PlatformPathWinCE.cpp | 217 double endAngle = data.m_end - data.m_center; local 220 if (endAngle <= curAngle || startPoint == data.m_end) 221 endAngle += 2 * piDouble; 224 if (endAngle >= curAngle || startPoint == data.m_end) 225 endAngle -= 2 * piDouble; 228 for (curAngle += angleStep; data.m_clockwise ? curAngle < endAngle : curAngle > endAngle; curAngle += angleStep)
|
Completed in 133 milliseconds