Results 1 to 1 of 1

Thread: DIBSection example in C++

  1. #1
    Join Date
    Mar 2005
    Location
    NJ
    Posts
    330
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default DIBSection example in C++

    Here's a little example on how to use DIBSection for drawing... with DIBSection you have direct access to the a buffer that can later be blitted on screen quickly, so it's relatively easy to implement old school demo effect algorithms... i'm no demo coder, in fact im not a good coder at all so this source may be full of bugs and definitely not optimized, it's just to show some basics on how to use DIBSection and how you can draw on screen with it. the example client code draws a classic 2d star field and a dot that moves on a sine curve.
    Attached Files Attached Files
    Last edited by micral; 29th-April-2005 at 03:05.



    My Trade List (Not up-to-date)
    I'm a math teacher, so let's plus the bed, minus the clothes, divide the legs and multiply the joy

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
About Us

We are the oldest retro gaming forum on the internet. The goal of our community is the complete preservation of all retro video games. Started in 2001 as EmuParadise Forums, our community has grown over the past 18 years into one of the biggest gaming platforms on the internet.

Social