Hi coders.

Please help.

I have PImage node with drag handles. When I drag those handles, Image gets
resized. I need to implement a feature where when this image gets resized,
aspect ratio remains the same.
How would I go about doing this? I was thinking about subclassing
PBoundsHandle class and making my own MyPBoundsHandle with custom
startHandleDrag(), dragHandle() and endHandleDrag().
But how do I make my PImage use my MyPBoundsHandle and not original one?

Please help guys, this is urgent.

Thanx.

---
James La Guma

--~--~---------~--~----~------------~-------~--~----~
Piccolo2D Developers Group: http://groups.google.com/group/piccolo2d-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to