Hi,
I’ve been playing with the Canvas add-on created by Henri Muurimaa.
I created a small test app using Henri’s example
Canvas canvas = new Canvas();
canvas.setSizeFull();
canvas.setBackgroundColor("#002200");
canvas.setStrokeColor("#aaaaff");
canvas.saveContext();
canvas.arc(100, 90, 50, 0, Math.PI, true);
canvas.stroke();
canvas.beginPath();
canvas.restoreContext();
canvas.arc(75, 30, 20, 0, Math.PI, false);
canvas.arc(125, 30, 20, 0, Math.PI, false);
canvas.stroke();
this works fine when viewed in firefox, I get Henri’s smiley face but not in internet explorer 8 - I only get the backgroud color?
My lib folder contains
canvaswidget-1.0.1.jar
gwt-graphics-0.9.7.jar
gwt-incubator-20100204-r1747.jar
vaadin-6.4.0.jar
the widget set compliation works ok.
has anyone any ideas as to why - this has me stumped?
thanks for your time
regards,
Patrick