draw to displayGroup, & cache

it would be good if we could have some graphics drawing routines to a single display object

eg .lineTo, .curveTo

once the drawing is done it would be good if this was then cached as a single display object (like cacheAsBitmap in AS3)

this should solve issues like the “many many circles” issue

presumably there’s some kind of drawing api in place within corona for the newLine, newCircle, newRect functions, but for creating a static set graphics these are not ideal for optimization

thanks
j

[import]uid: 6645 topic_id: 3462 reply_id: 303462[/import]

sorry, already noted by Ansca here:

http://developer.anscamobile.com/forum/2009/12/02/support-polygon-display-objects
http://developer.anscamobile.com/forum/2010/05/01/image-manipulation [import]uid: 6645 topic_id: 3462 reply_id: 10400[/import]