Drawing Clipped Images

Got an idea for enhancing SpiderBasic? New command(s) you'd like to see?
Foz
Posts: 20
Joined: Mon Feb 24, 2014 11:25 pm

Drawing Clipped Images

Post by Foz »

I'd like to do some image manipulation from spritesheets, so it would be quite useful to have something like a DrawClippedImage(), i.e.

Code: Select all

DrawClippedImage(SourceImage, SourceX, SourceY, SourceWidth, SourceHeight, DestinationX, DestinationY)
Fred
Site Admin
Posts: 1506
Joined: Mon Feb 24, 2014 10:51 am

Re: Drawing Clipped Images

Post by Fred »

You can probably use GrabImage() and DrawImage() for this
Post Reply