Searched defs:startAngle (Results 1 - 20 of 20) sorted by relevance

/external/webkit/Source/WebCore/platform/graphics/wx/
H A DPathWx.cpp188 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);
H A DGraphicsContextWx.cpp228 void GraphicsContext::strokeArc(const IntRect& rect, int startAngle, int angleSpan) argument
234 m_data->context->DrawEllipticArc(rect.x(), rect.y(), rect.width(), rect.height(), startAngle, angleSpan);
/external/webkit/Source/WebCore/platform/graphics/cairo/
H A DPathCairo.cpp147 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)))) {
160 cairo_arc_negative(cr, p.x(), p.y(), r, startAngle, startAngle - twoPI);
162 cairo_arc(cr, p.x(), p.y(), r, startAngle, startAngle + twoPI);
167 cairo_arc_negative(cr, p.x(), p.y(), r, startAngle, endAngl
[all...]
H A DGraphicsContextCairo.cpp399 void GraphicsContext::strokeArc(const IntRect& rect, int startAngle, int angleSpan) argument
413 float fa = startAngle;
/external/webkit/Source/WebCore/platform/graphics/openvg/
H A DPathOpenVG.cpp305 void Path::addArc(const FloatPoint& center, float radius, float startAngle, float endAngle, bool anticlockwise) argument
310 if (!isfinite(radius) || !isfinite(startAngle) || !isfinite(endAngle))
316 startAngle = fmod((2.0 * piDouble) - startAngle, 2.0 * piDouble);
319 // Make it so that endAngle > startAngle. fmod() above takes care of
321 if (endAngle <= startAngle)
325 ? (endAngle - startAngle)
326 : (startAngle - endAngle + (2.0 * piDouble));
339 // (Set angle = {startAngle, endAngle} to retrieve the respective endpoints.)
341 const VGfloat startX = radius * cos(startAngle)
[all...]
H A DGraphicsContextOpenVG.cpp121 void GraphicsContext::strokeArc(const IntRect& rect, int startAngle, int angleSpan) argument
126 m_data->drawArc(rect, startAngle, angleSpan, VG_STROKE_PATH);
H A DPainterOpenVG.cpp955 void PainterOpenVG::drawArc(const IntRect& rect, int startAngle, int angleSpan, VGbitfield specifiedPaintModes) argument
980 if (vguArc(path, rect.x() + rect.width() / 2.0, rect.y() + rect.height() / 2.0, rect.width(), rect.height(), -startAngle, -angleSpan, VGU_ARC_OPEN) == VGU_NO_ERROR) {
/external/webkit/Source/WebCore/platform/graphics/haiku/
H A DGraphicsContextHaiku.cpp124 void GraphicsContext::strokeArc(const IntRect& rect, int startAngle, int angleSpan) argument
129 m_data->m_view->StrokeArc(rect, startAngle, angleSpan, getHaikuStrokeStyle());
/external/proguard/src/proguard/gui/splash/
H A DOverrideGraphics2D.java274 public void drawArc(int x, int y, int width, int height, int startAngle, int arcAngle) argument
276 graphics.drawArc(x, y, width, height, startAngle, arcAngle);
414 public void fillArc(int x, int y, int width, int height, int startAngle, int arcAngle) argument
416 graphics.fillArc(x, y, width, height, startAngle, arcAngle);
/external/webkit/Source/WebCore/platform/graphics/android/context/
H A DGraphicsContextAndroid.cpp206 void GraphicsContext::strokeArc(const IntRect& r, int startAngle, int angleSpan) argument
212 platformContext()->strokeArc(r, startAngle, angleSpan);
H A DGraphicsOperation.h515 StrokeArc(const IntRect& r, int startAngle, int angleSpan) argument
517 , m_startAngle(startAngle)
H A DPlatformGraphicsContextSkia.cpp567 void PlatformGraphicsContextSkia::strokeArc(const IntRect& r, int startAngle, argument
582 startAngle = fastMod(startAngle, 360);
585 path.addArc(oval, SkIntToScalar(-startAngle), SkIntToScalar(-angleSpan));
H A DPlatformGraphicsContextRecording.cpp896 void PlatformGraphicsContextRecording::strokeArc(const IntRect& r, int startAngle, argument
899 appendDrawingOperation(NEW_OP(StrokeArc)(r, startAngle, angleSpan), r);
/external/skia/src/core/
H A DSkPath.cpp679 SkScalar rx, SkScalar ry, int startAngle,
687 switch (startAngle) {
696 default: SkDEBUGFAIL("unexpected startAngle in add_corner_arc");
699 SkScalar start = SkIntToScalar(startAngle);
808 static int build_arc_points(const SkRect& oval, SkScalar startAngle, argument
813 start.fY = SkScalarSinCos(SkDegreesToRadians(startAngle), &start.fX);
814 stop.fY = SkScalarSinCos(SkDegreesToRadians(startAngle + sweepAngle),
828 SkScalar stopRad = SkDegreesToRadians(startAngle + sweepAngle);
849 void SkPath::arcTo(const SkRect& oval, SkScalar startAngle, SkScalar sweepAngle, argument
856 int count = build_arc_points(oval, startAngle, sweepAngl
678 add_corner_arc(SkPath* path, const SkRect& rect, SkScalar rx, SkScalar ry, int startAngle, SkPath::Direction dir, bool forceMoveTo) argument
869 addArc(const SkRect& oval, SkScalar startAngle, SkScalar sweepAngle) argument
[all...]
H A DSkCanvas.cpp1907 void SkCanvas::drawArc(const SkRect& oval, SkScalar startAngle, argument
1917 path.arcTo(oval, startAngle, sweepAngle, !useCenter);
/external/webkit/Source/WebCore/platform/graphics/cg/
H A DGraphicsContextCG.cpp314 void GraphicsContext::strokeArc(const IntRect& rect, int startAngle, int angleSpan) argument
336 float fa = startAngle;
/external/webkit/Source/WebCore/platform/graphics/skia/
H A DGraphicsContextSkia.cpp190 void addCornerArc(SkPath* path, const SkRect& rect, const IntSize& size, int startAngle) argument
197 switch (startAngle) {
216 path->arcTo(r, SkIntToScalar(startAngle), SkIntToScalar(90), false);
1168 void GraphicsContext::strokeArc(const IntRect& r, int startAngle, int angleSpan) argument
1187 startAngle = fastMod(startAngle, 360);
1191 path.addArc(oval, SkIntToScalar(-startAngle), SkIntToScalar(-angleSpan));
/external/webkit/Source/WebCore/platform/graphics/wince/
H A DGraphicsContextWinCE.cpp782 void GraphicsContext::strokeArc(const IntRect& rect, int startAngle, int angleSpan) argument
807 getEllipsePointByAngle(deg2rad((double)startAngle), a, b, fstartX, fstartY);
808 getEllipsePointByAngle(deg2rad((double)startAngle + angleSpan), a, b, fendX, fendY);
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
H A Dorg.eclipse.swt.gtk.linux.x86_3.6.1.v3657a.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ...
H A Dorg.eclipse.swt.win32.win32.x86_3.6.1.v3657a.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ...

Completed in 611 milliseconds