News:

Masm32 SDK description, downloads and other helpful links
Message to All Guests
NB: Posting URL's See here: Posted URL Change

Main Menu

GDI+ revisited

Started by NoCforMe, January 28, 2022, 06:52:00 PM

Previous topic - Next topic

NoCforMe

Thanks, but I don't know how to do that here. Let me think about it. Not sure how I mix GDI and GDI+ stuff.
Assembly language programming should be fun. That's why I do it.

hutch--

The attached zip file has 4 images scaled up from 32x32 to 128x128. All done with GDI.

The scaling is done with the following API.

HANDLE CopyImage(
    HANDLE hImage,    // handle to the image to copy
    UINT uType,   // type of image to copy
    int cxDesired,   // desired width of new image
    int cyDesired,   // desired height of new image
    UINT fuFlags   // copy flags
   );

You can thank Vortex for decyphering this one.