poptanimukesh / google-web-toolkit-incubator

Automatically exported from code.google.com/p/google-web-toolkit-incubator
0 stars 0 forks source link

GWTCanvas drops filled circles in IE7 and Chrome #278

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
I found that GWTCanvas dropped complete filled circles (angle from
0...2*Math.PI) in IE7 and Chrome (but these next lines worked just fine in
FF2, FF3):

  canvas.arc(xCenter, yCenter, radius, 0, 2*Math.PI, false);
  canvas.fill();

Workaround: drawing slightly less than a full circle worked in all four
browsers:

  final double NOT_QUITE_TWO_PI = 2*3.1415;
  canvas.arc(xCenter, yCenter, radius, 0, NOT_QUITE_TWO_PI, false);
  canvas.fill();

Interestingly, the slightly bigger not-quite-two-pie, 2*3.14159, worked in
IE7 but not in Chrome.

Seems similar to issue #277

Original issue reported on code.google.com by johncurt...@gmail.com on 22 May 2009 at 3:43

GoogleCodeExporter commented 8 years ago
This seems similar to issue #238

Original comment by poseidon...@gmail.com on 25 May 2009 at 4:03

GoogleCodeExporter commented 8 years ago
I think I meant to put issue #238 but grabbed the other issue by mistake.

At the time, looked a bit different because it was happening during fill, but 
in 
hindsight looks like a duplicate of #238.

Original comment by johncurt...@gmail.com on 26 May 2009 at 7:26

GoogleCodeExporter commented 8 years ago

Original comment by jaime...@google.com on 24 Aug 2009 at 5:22