Graphics in Win32lib

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

I need to be able to display background images in my window, but as this is 
destined to be used by people other than myself, I want it to scale 
gracefully on other resolutions.

At the moment I just use loadbitmapfromfile and BLT it to the screen, but 
how would I have a single bitmap image, that I can output as a smaller size?

I know how to make a simple scaling algorithm if one does not already exist, 
but how would I get access to the 2d array that loadbitmapfromfile no doubt 
puts somewhere, and how would I save my altered array into a bitmap object?

...If that made sense, that is.
=====================================================
.______<-------------------\__
/ _____<--------------------__|===
||_    <-------------------/
\__| Mr Trick

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

Search



Quick Links

User menu

Not signed in.

Misc Menu