[SUGGESTION] Function to draw piece of one drawing surface to another

Started by Crimson Wizard, Wed 16/09/2009 15:09:39

Previous topic - Next topic

Crimson Wizard

It looks like there's no way to do this except for creating Dynamic Sprite first, as at cut from source drawing surface.
I explained why this could be needed here:
http://www.adventuregamestudio.co.uk/yabb/index.php?topic=38863.0

Pumaman

I suppose an extra two optional parameters to the exisitng DynamicSprite.DrawImage allowing you to specify the X and Y co-ordinates in the source image would resolve this?

Crimson Wizard

Quote from: Pumaman on Wed 16/09/2009 20:32:28
I suppose an extra two optional parameters to the exisitng DynamicSprite.DrawImage allowing you to specify the X and Y co-ordinates in the source image would resolve this?
Full rectangle coordinates (srcX1, srcY1, srcX2, srcY2) - to make it precise - yes, it would be nice :)

SMF spam blocked by CleanTalk