home *** CD-ROM | disk | FTP | other *** search
/ Microsoft Multimedia Jumpstart 1.1a / CD_ROM.BIN / develpmt / source / trans / abstract next >
Encoding:
Text File  |  1993-12-12  |  2.0 KB  |  60 lines

  1. TRANS   - Sample app showing multiple transparent drawing methods
  2.  
  3. ToddLa  - 6/93
  4.  
  5.  
  6.  
  7. Abstract:
  8.     Demonstrates multiple methods for drawing transparent objects with Windows
  9.     GDI calls.  and allows each method to be compared.
  10.  
  11.     the sample app can load a image to by used as a sprite, it treats the
  12.     first pixel as the transparent color.
  13.  
  14. Drawing methods:
  15.  
  16.     Mono Mask   - uses two bitmaps one mono and one color, draws
  17.                   by making two calls to GDI BitBlt.
  18.  
  19.     Color Mask  - uses two bitmaps both color, draws
  20.                   by making two calls to GDI BitBlt.
  21.                   this takes more memory than using mono masks, but
  22.                   may go faster on some display drivers.
  23.  
  24.     True Mask   - uses two bitmaps one mono and one color, draws
  25.                   by making three calls to GDI BitBlt.  Does not
  26.                   assume the source (ie color bitmaps) has black "0"
  27.                   in the transparent areas.
  28.  
  29.     RLE         - converts the source image to a RLE DIB, draws with
  30.                   one call to StretchDIBits().  This method has higher
  31.                   startup time, takes less memory to store (for most images)
  32.                   and *should* draw the fastest.
  33.  
  34. Files:
  35.     bigbalon.dib    Sample images
  36.     earth.dib
  37.     herman.dib
  38.  
  39.     dib.c           DIB routines (Load, Save, Draw, deal with palettes)
  40.     dib.h
  41.  
  42.     makefile        makefile for Win16
  43.     makefile.32     makefile for Win32
  44.  
  45.     qa.c            Main app source file.
  46.     qa.def          Main app def file (Win16)
  47.     qa32.def        Main app def file (Win32)
  48.     qa.h            Main app header file
  49.     qa.ico          Main app icon
  50.     qa.rc           Main app resource file
  51.  
  52.     tblt.c          routines for drawing transparent images (building masks)
  53.     tblt.h
  54.  
  55.     trle.c          routines for building a RLE sprite from a DIB
  56.     trle.h
  57.  
  58.     trans.exe       Win16 app
  59.     trans32.exe     Win32 (i386) app
  60.