PDA

View Full Version : Problem with StretchBlt


Sac
06-10-2004, 05:35 AM
Hi People,


Ok, Now I'm back with one more problem ....

I am using IGRAPICS_StretchBlt to stretch one graphics to make it fit in differnt devices. The problem is in some device, the graphics looks good, In some cases, it shows the graphics , but with a currupted horizontal band in between the graphics and finally in some devices, the graphics simply doesn't appear.

What i do is I take the graphics for biggest device and try to srink it to match the other devices using StretchBlt. If i can't do this way, my file size of resource is huge.

Can anyome from Brew help me out in how to do this without the problems ?

Regards,

Sac
06-11-2004, 01:46 AM
*Bump*

I'm kinda stuck , can someone help me on this ? or else is there any other idea which comes in anyones mind to do a workabout for this, is very much apperitated ....

regards,

Buster
06-13-2004, 11:17 PM
Hi,

Try using Images of even Width and Height ie for eg 32x28 etc..
StretchBlt has some problems with odd width and Height.

Hope that works.

-- Buster--