🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: comp.graphics.misc
2 messages
2 total messages Started by Fabio Mon, 20 Jan 2003 10:26
Flicker free bitmap
#100
Author: Fabio
Date: Mon, 20 Jan 2003 10:26
16 lines
1715 bytes
I need to write a lot of data on a window using the "arc" function
with a very high data rate (about 1 arc every 3 or 4 msec). On the
same window there shall be 10 objects like bitmap or icon (about
50x50, at least 3 colors plus transparence). When the "arc" data is
drawn in the same position of the graphics object these have to remain
on the screen (graphics object over "arc" data) except for the
trasparence zone. The graphics object have to be flicker free.
I resolved this problem using X-11 using 2 Device Context, one with 6
bits (for the "arc" data") and the other with 2 bits. When I write in
the first DC the mask don't allow to write in the second one.
Anyone know how to resolve this problem in MS Windows NT (or 2000); at
the moment I'm using Borland Builder C++ 3.0

Best Regards,

Fabio.
Re: Flicker free bitmap
#101
Author: Danny
Date: Tue, 21 Jan 2003 05:24
22 lines
2175 bytes
Making your Form or Panel in which your image resides DoubleBuffered
can eliminate the problem of flickering


"Fabio" <wassge@interbusiness.it>
???????:ed25aff5.0301200226.7d60b315@posting.google.com...
> I need to write a lot of data on a window using the "arc" function
> with a very high data rate (about 1 arc every 3 or 4 msec). On the
> same window there shall be 10 objects like bitmap or icon (about
> 50x50, at least 3 colors plus transparence). When the "arc" data is
> drawn in the same position of the graphics object these have to remain
> on the screen (graphics object over "arc" data) except for the
> trasparence zone. The graphics object have to be flicker free.
> I resolved this problem using X-11 using 2 Device Context, one with 6
> bits (for the "arc" data") and the other with 2 bits. When I write in
> the first DC the mask don't allow to write in the second one.
> Anyone know how to resolve this problem in MS Windows NT (or 2000); at
> the moment I'm using Borland Builder C++ 3.0
>
> Best Regards,
>
> Fabio.
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads