Draggable,sizeable object how to

 
Hi guys, I was wondering how to create a sizeable, draggable object. 
It will be a sine wave. It should be also deformed ( not only contained in a rectangular box but the box could become a translated trapeze

Thanks
 
Marco Montemari:
Hi guys, I was wondering how to create a sizeable, draggable object. 
It will be a sine wave. It should be also deformed ( not only contained in a rectangular box but the box could become a translated trapeze

Thanks

I think CAnvas could work for me.

 
Marco Montemari:

I think CAnvas could work for me.

yes


Files:
sine.mq5  11 kb
Reason: