IonicWind Software

Aurora Compiler => General Discussion => Topic started by: lviklund on February 10, 2006, 06:20:02 AM

Title: Bitblt
Post by: lviklund on February 10, 2006, 06:20:02 AM
If you have followed my discussion regarding Sillyballs you probably have figured out that they are supposed to bounce around.

Now I am confused again.
I can't really follow Paul's ideas ???  :-[.
GetHDC, ReleaseHDC, AWS_AUTODRAW, HandlePaint, BackPen and so on.

How do I paint to a backbuffer and then bitblt it to my front device?
Is it in there already and I am not getting it or am I supposed to use the old standard way?

Please release me :(.

Lasse
Title: Re: Bitblt
Post by: Ionic Wind Support Team on February 10, 2006, 07:04:02 AM
Windows GDI doesn't have a backbuffer per se.  And there isn't any 2D commands yet.

There are ways to do it in using the GDI.  Such as creating an off screen bitmap and BiBlt like you mentioned, but it is a lot of API calls.  Or you can erase the old ball positions by drawing them in the background color before drawing them in the new position.

Paul,
Title: Re: Bitblt
Post by: lviklund on February 10, 2006, 07:42:08 AM
Thank's
That's what I needed to know :).
I'll do it the hard way or maybe an even harder. Maybe I'll try to use a third party way.
I'll think  ::) about it.

/Lasse
Title: Re: Bitblt
Post by: Ionic Wind Support Team on February 10, 2006, 07:50:23 AM
Once we get past all the 'function naming' discussion in the developers center I will start work on other libraries.  Including the 2D one.

Title: Re: Bitblt
Post by: Bruce Peaslee on February 10, 2006, 12:53:12 PM
Quote from: Ionic Wizard on February 10, 2006, 07:50:23 AM
Once we get past all the 'function naming' discussion in the developers center I will start work on other libraries.ÂÃ,  Including the 2D one.

:D