drawArc sucks

hi! im trying to draw a circle with drawArc method. This paints a “funny” shape :o, u can see it:

            g.setColor(0x000000);
            g.drawArc(10,10,10,10,0,360);
            g.drawArc(50,10,50,50,0,360);

Overall the problem is visible with smaller circles.

I have tried to see it with wtk2.0, nokia emulator and siemens emulator. Wtk and Nokia draws the circles as the image above, but siemens draws it ok.

Anybody knows if this is a problem of emulator or the problem appears also in real devices?? Is there another way to draw a circle? ???

Thanks.

It could be to save performance, you should try and implement your own drawArc if you want a more precise one.

The problem was only with few emulators , try using it on others i found it to be a perfect cirlce on the others and also on actual device.

The MIDP specification doesn’t define what pixels drawArc should touch - therefor you are guaranteed it will vary between emulators - and even more so on real devices.

Hell, even some phones fail to implement trivially simple well defined operations such as drawRect & fillRect!!