David Hancock wrote:
>
> Edward Keye's article and the win2 routines have got me some of the
> way towards making animated greylevel graphics. What I really want is
> a version of DrawBitmap that supports different raster modes (eg. OR,
> AND). Last night, I hacked this behaviour from the existing code (to
> see how fast it might go) but its far from an ideal solution.
>
> What would make my life super-easy would be a routine for painting
> 2-bit bitmaps with a optional (1-bit, heck even 2 bit) mask
> bitmap. Even better would be a full sprite library, but I suspect I'm
> asking too much there ;)
>
> Somebody must have written such a thing once; would you be a kind soul
> and share?
>
> fond regards,
>
> David Hancock.
David,
The code's not handy, but believe that I once got WinDrawBitmap() to do
alternate "raster modes" by hooking WinCopyRectangle() just before
calling WinDrawBitmap() and, in the hook routine, changing the
'ScrOperation' parameter to what I wanted.
Alex Robinson
[EMAIL PROTECTED]
-eom-