From: Arjan v. I. <af...@cs...> - 2003-11-13 22:21:08
|
Hi Wojtek, > But actually, the speed is very slow. When I drew the rectangle just by > calling putPixel on appropriate points, on 2.5 GHz machine, even after > compilation with -O2 switch it worked slowly. Haskell is fast enough and wxWindows itself, too. I think that calling wxWindows from Haskell takes a little time, though. And that adds up if you try to draw hundreds of pixels. I believe there is a faster way by drawing pixels to a buffer and then displaying that buffer. Anyway, drawing the rectangles works fine, I think. Arjan |