Author Topic: Blit-Lab - Graphic Copy and BitBlt revisited  (Read 413 times)

0 Members and 1 Guest are viewing this topic.

Offline Theo Gottwald

  • Administrator
  • Hero Member
  • *****
  • Posts: 964
    • it-berater
Blit-Lab - Graphic Copy and BitBlt revisited
« on: February 24, 2019, 02:03:52 PM »
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.



« Last Edit: February 26, 2019, 08:04:03 AM by Theo Gottwald »