bitmap color fill

Bare metal programming in PureBasic, for experienced users
Olli
Addict
Addict
Posts: 1071
Joined: Wed May 27, 2020 12:26 pm

Re: bitmap color fill

Post by Olli »

I apologize Mijikaï : I used

Code: Select all

REPZ
STOSB
to write directly to a screen on a CGA Video card (what it does the laugh of the AMIGA coders)ImageHere the memory you will use with Box() is the one that the native drawing code library needs.

The device context is volatile. Without talking about the default color argument in a CreateImage(i, w, h, defaultColor )...
Post Reply