Page 1 of 1

DrawImage with source area

Posted: Sat Oct 06, 2012 12:04 pm
by grabiller
Hi,

Not sure if this has been already asked for, but it would be nice for PureBasic to have a DrawImage() version with which you can specify the source x,y,width,height (like the StretchBlt in Windows API).

This would avoid the need to split images in 3 or 9 for widget drawing for instance, and I'm sure there would be a lot of other uses.

Cheers,
Guy.