greatwar93 / gwt-g2d

Automatically exported from code.google.com/p/gwt-g2d
0 stars 0 forks source link

Surface won't draw a rectangle once the rectangle is larger than 65535 pixels #9

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?

public void onModuleLoad() {     
final Panel demoPanel = new ScrollPanel();
int width = 65536;
Surface surf = new Surface(width, 50); 
surf .setFillStyle(KnownColor.AQUA)
.fillRectangle(1,5,width-100,10);
demoPanel.add(surf);        
RootPanel.get().add(demoPanel);
}

What is the expected output? What do you see instead?

When surface is 65535 pixels or less, a rectangle is drawn.  Anything larger, 
and no rectangle appears.

What version of the product are you using? On what operating system?

Please provide any additional information below.

Original issue reported on code.google.com by Atlantic...@gmail.com on 18 Jun 2010 at 8:04

GoogleCodeExporter commented 8 years ago
See my post at Google group forum.

Original comment by hao1...@gmail.com on 19 Jun 2010 at 10:50

GoogleCodeExporter commented 8 years ago

Original comment by hao1...@gmail.com on 16 Oct 2010 at 3:25