VBGamer |
|
Clipping DLL... The Gilb (0 replies, 0 views) (2000-Jul-7) Oh crap - I once wrote a DLL in C++ which performed clipping...
In VB I found clipping to be very slow, probably because sometimes just so much stuff has to be clipped... My DLL basically took a rectangle which you specified (Normally set to screen dimensions though could be set differently to make a viewing 'window'), and then when you were about to display the surface, you pass the function in the DLL the destrect (From your bltfast) and the xy offset of the rectangle on the screen. Using all these things, the function would then quickly and efficiently adjust the rectangle (And adjust it directly, no return values) for use in your bltfast routine.
If you can make use of this DLL, I can try and hunt it down on my website - though I can't promise anything... Just throw an email my way and I'll send it to you - though I thought Adam put my clipping DLL on VBGC?... |