Re: dos like colors

new topic     » goto parent     » topic index » view thread      » older message » newer message

> Those black horizontal lines are the empty spaces between scan lines.  You
> don't usually see them in Windows because you're typically running in a
> much higher resolution than DOS text mode. A higher resolution means less
> space between scan lines; so much less that you can't even see them.  You
> can see them in windows if you lower your resolution to 640x480.

i cant see them if i lower the resoultion in windows to 640x480
why dos text mode, the same picture is also in quake1, and its not text
mode.

> If you want this look in your high resolution Windows program, then you'll
> have to emulate them.  You can do this by doing what you suggested.  Draw
> your text to the window then draw evenly spaced horizontal lines through
> it.  You would have to make your font bigger so that the text is readable.
> If I were doing this with win32lib, I would create a pixmap buffer, draw
my
> text on a black background, draw my emulated scanlines on top of that,
then
> blit the image into my window.

do you know where on the net could i find that kind of program in whatever
language, maybe c. sure somebody has done it already. which keywords would
you use when searching for it?

> You might even make a pixmap of the
> emulated scanlines that you could blit on top of the text (this would use
> more memory but it would be much faster).

how do i do that?
how do i draw lines directly to bitmap and then draw that bitmap to dc.
i only know how to copy dc to bitmap, copy screen image to bitmap and back
but not directly to bitmap and then to screen.
is pixmap=bitmap?
regular line with width 1 would be to thick, i think

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu