Author Topic: [SUGGESTION] Function to draw piece of one drawing surface to another  (Read 232 times)  Share 

Crimson Wizard

  • AGS Project Admins
  • not et suppotreD
    • I can help with translating
    •  
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.bigbluecup.com/yabb/index.php?topic=38863.0

Pumaman

  • Creator of AGS
  • Administrator
  • Mittens TRAITOR
  • I sense danger.
    • Lifetime Achievement Award Winner
    •  
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

  • AGS Project Admins
  • not et suppotreD
    • I can help with translating
    •  
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 :)