IT-Berater: Theo Gottwald (IT-Consultant) > Source Code and Discussions

Blit-Lab - Graphic Copy and BitBlt revisited

(1/1)

Theo Gottwald:
For an actual Project I am evaluating, in which tasks i can use the Graphics Hardware to speed things up.
So i made this Utility which can be used to test the different modes of the Blitter.
It supports the Powerbasic Graphics-Copy Syntax as well as the underlying BitBlt API.
You can choose some pictures, and choose the Blit-Command and see the result.
The excutable is attached to this Post as RAR File.

The raster operations used with BitBlt and StretchBlt involve a combination of three objects, and this results in 256 raster operations. There are 256 ways to combine a source bitmap, a destination bitmap, and a pattern. Fifteen of these raster operations are given names—some of them rather obscure—defined in WINGDI.H. The others have numeric values that are shown in /Platform SDK/Graphics and Multimedia Services/GDI/Raster Operation Codes/Ternary Raster Operations.



Navigation

[0] Message Index

Go to full version