Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
freeBASIC (a 32-bit QB-syntax compatible compiler) preview..
#39
Man we need templates for FB.

So I would assume you can do something like this?

Code:
pixelWidth=surface.ddpfPixelFormat.dwRGBBitCount\8
offset= x*pixelWidth + y*surface.lPitch
Poke(((BYTE *)surface.lpSurface)+offset, &colour, pixelWidth)

Woot!!! DX here I come!!!!
y smiley is 24 bit.
[Image: anya2.jpg]

Genso's Junkyard:
http://rel.betterwebber.com/
Reply


Messages In This Thread
Excelent work! - by Ravyne - 10-28-2004, 11:43 AM
freeBASIC (a 32-bit QB-syntax compatible compiler) preview.. - by relsoft - 10-30-2004, 09:07 AM
First impression... - by ToohTooh - 11-01-2004, 03:30 PM
Random naive questions - by dilettante - 11-14-2004, 10:39 AM

Forum Jump:


Users browsing this thread: 2 Guest(s)