Filled polygons, arcs

Are there any plans to include fillable polygons in a future release? It would be great to be able to draw arbitrary points with the vector drawing function and have the spaces fill in. I found some examples that use some pretty complex logic to fill things in, but it seems a built-in drawing function would be best.

Also, is there a way to draw arcs easily, without resorting to a ton of points and math.sin or math.cos?

Thanks! [import]uid: 107768 topic_id: 30242 reply_id: 330242[/import]

There is a way to reduce the quantity of points by using curve fitting. Maybe it will help:

The video demo: http://www.coronalabs.com/blog/2010/12/29/corona-sdk-tutorial-polygon-point-reduction-with-curve-fitting/

The code: http://developer.coronalabs.com/code/point-reduction-code-0 [import]uid: 65163 topic_id: 30242 reply_id: 121185[/import]

Thanks for the info, I’ll definitely check it out!
[import]uid: 107768 topic_id: 30242 reply_id: 121189[/import]

Bazinga! [import]uid: 8271 topic_id: 30242 reply_id: 121217[/import]

There is a way to reduce the quantity of points by using curve fitting. Maybe it will help:

The video demo: http://www.coronalabs.com/blog/2010/12/29/corona-sdk-tutorial-polygon-point-reduction-with-curve-fitting/

The code: http://developer.coronalabs.com/code/point-reduction-code-0 [import]uid: 65163 topic_id: 30242 reply_id: 121185[/import]

Thanks for the info, I’ll definitely check it out!
[import]uid: 107768 topic_id: 30242 reply_id: 121189[/import]

Bazinga! [import]uid: 8271 topic_id: 30242 reply_id: 121217[/import]