DrawClippedImage()

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
atomo
User
User
Posts: 65
Joined: Thu May 22, 2008 10:32 pm

DrawClippedImage()

Post by atomo »

I would like to have the possibility to draw a section of an image like this :

Code: Select all

DrawClippedImage(ImageID, x1, y1, w1, h1, x2, y2, w2, h2[, Alpha])
x1, y1, w1, h1 are the coordinates and dimensions of source image.
x2, y2, w2, h2 are the coordinates and dimensions of destination image.
Zach
Addict
Addict
Posts: 1675
Joined: Sun Dec 12, 2010 12:36 am
Location: Somewhere in the midwest
Contact:

Re: DrawClippedImage()

Post by Zach »

Could be useful 8)
Polo
Addict
Addict
Posts: 2422
Joined: Tue May 06, 2003 5:07 pm
Location: UK

Re: DrawClippedImage()

Post by Polo »

Would be very useful indeed! :)
Post Reply