Graphics...

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

If I want to draw a rectangle with vertices
{0,0},{640,0},{640,480},{0,480}, would I need to translate that into
{0,0},{1280,0},{1280,480},{0,480} while using a 65k mode? 24-bit?
32-bit? 15-bit?

How do I change colors in these bits per pixel modes:
15?
16?
24?
32?

How many bits are there to a byte? Isn't it 8?  So in 16-bit modes it
would be 2 bytes per pixel, 24-bit would be 3, and 32 would be 4,
correct?  So to correct the problem from above, I could set a
'difference' variable to multiply the lengths of lines by...right?

Thank you all,
Mike Hurley
===
::dozes off::
zzzzzzzzputerzzzzzzs kxhaaaaaaaaahshoooooooooooo comzzzzzp
_________________________________________________________
Do You Yahoo!?
Free instant messaging and more at http://messenger.yahoo.com

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

Search



Quick Links

User menu

Not signed in.

Misc Menu