webengine/osswebengine/WebCore/platform/graphics/symbian/GraphicsContextSymbian.cpp
--- a/webengine/osswebengine/WebCore/platform/graphics/symbian/GraphicsContextSymbian.cpp Mon Mar 30 12:54:55 2009 +0300
+++ b/webengine/osswebengine/WebCore/platform/graphics/symbian/GraphicsContextSymbian.cpp Fri May 08 08:25:06 2009 +0300
@@ -373,14 +373,14 @@
int x = xForm(rect.x());
int y = xForm(rect.y());
- float w = (float)rect.width();
+ float w = xForm((float)rect.width());
// starting point & end point
float r = w/2;
float fa = startAngle;
- TPoint ps( x + r*cos(-fa * M_PI/180), y + r*sin( -fa * M_PI/180 ) );
+ TPoint ps( x + r + r*cos(fa * M_PI/180), y + r - r*sin( fa * M_PI/180 ) );
fa += angleSpan;
- TPoint pe( x + r*cos(-fa * M_PI/180), y + r*sin( -fa * M_PI/180 ) );
+ TPoint pe( x + r + r*cos(fa * M_PI/180), y + r - r*sin( fa * M_PI/180 ) );
setPenColor( context, strokeColor() );
gc.DrawArc( xForm(rect), ps, pe );