Mad Compie
Sep 11th, 2000, 02:24 PM
Two really interesting algoritms: one to tile images (like texture backgrounds) and a solid TransBlt sub! This TransBlt function works even more faster than mine, so I'll give you the link were you can find this zipped file:
DevX website:
http://www.devx.com/free/codelib/view.asp?id=352405
The routines are in a BAS called CUSTOMBLT.BAS.
The TransBlt algorithm works very fast and accurate.
Compared with Microsoft's TransparentBlt() API, it DOESN'T eat the memory like a hungry baby!
I made a little modification in the TileBlt() function.
I put hDestDC also as a parameter in the sub, since AutoRedraw forms & pictures weren't updated in the Form_Load() event. So, get rid of the GetDC API and pass the DC as a parameter to sub...
DevX website:
http://www.devx.com/free/codelib/view.asp?id=352405
The routines are in a BAS called CUSTOMBLT.BAS.
The TransBlt algorithm works very fast and accurate.
Compared with Microsoft's TransparentBlt() API, it DOESN'T eat the memory like a hungry baby!
I made a little modification in the TileBlt() function.
I put hDestDC also as a parameter in the sub, since AutoRedraw forms & pictures weren't updated in the Form_Load() event. So, get rid of the GetDC API and pass the DC as a parameter to sub...