Reputation: 3731
I'm trying to develop a simple real-time graphical editor into my web-based (flash) app. And I'm having two questions:
MouseEvent.MOUSE_DOWN
event, I'm going to draw curve on MouseEvent.MOUSE_MOVE
. After MouseEvent.MOUSE_UP
event is dispatched drawing of a curve is stopped and I need to inform other active clients what exactly was drawn. Hence, I need to vectorize drawn curve. After that I'll replace drawn curve with vectorized. So, I'm having an array of points, and need to draw a natural curve passing through them. How can that be done?Thank you in advance!
Upvotes: 0
Views: 194
Reputation: 446
Upvotes: 1