Re: Win32Lib Graphics Demo
- Posted by "Cuny, David" <David.Cuny at DSS.CA.GOV> Jun 08, 1999
- 415 views
MB King wrote: > Is there a limit to how big these "pixmaps" can be? I borrowed the pixmaps from a demo in "Developing Linux Applications"; I didn't realize how small they would be, and I'm to lazy to make them larger. I have tried dragging pixmaps of about 70x90 around on the screen with no problem, though. Performance will degrade as more pixmaps are placed on the screen - I just don't know how quickly. There are a number of things I can do to make the code more efficient, such as saving the mask instead of rebuilding it each time. But I'm still in debug mode - optimizations come later. There are a number bugs remaining in the code. Greg and Pete ran into problems with handles being passes as integers, and elsewhere a test in the code breaks when handles return large values - they look negative. Handling of fonts also had some bugs. That's why I posted the code as a demo, instead of a full Win32Lib release. I'll try to post an update of current fixes later today. > something like the old spinning tank demo be done with it? I haven't actually seen the tank demo, but I don't see why not. That's what this library is supposed to be used for. Thanks! -- David Cuny