Thread: DirectX eqivalent

  1. #1
    Registered User
    Join Date
    May 2002
    Posts
    317

    DirectX eqivalent

    Right now I am using the atlimage header file with transparentblt. I was wondering what the DirectX equivalent was. Any help would be great.

  2. #2
    Registered User
    Join Date
    Apr 2002
    Posts
    1,571
    When you create your direct draw surface you must specify a source or destination color key in one of the DDSURFACEDESC2 members. Then when you use IDirectDrawSurface::Blt( ) , use the appropriate flag for the source/dest color key information. For the exact flags and members look it up in your DX Help File.
    "...the results are undefined, and we all know what "undefined" means: it means it works during development, it works during testing, and it blows up in your most important customers' faces." --Scott Meyers

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Isometric Tile Engine using DirectX
    By Wraithan in forum Game Programming
    Replies: 3
    Last Post: 07-17-2006, 12:16 PM
  2. DirectSound header issues
    By dxfoo in forum C++ Programming
    Replies: 0
    Last Post: 03-19-2006, 07:16 PM
  3. DirectX - Starting Guide?
    By Zeusbwr in forum Game Programming
    Replies: 13
    Last Post: 11-25-2004, 12:49 AM
  4. DirectX 8 with Borland
    By Tommaso in forum Game Programming
    Replies: 11
    Last Post: 08-12-2003, 09:30 AM
  5. Directx SDK Documentation
    By Zoalord in forum Game Programming
    Replies: 4
    Last Post: 05-08-2003, 06:07 AM