How to "zoom in" on a screen

How would I scale a display group with the center of the display (e.g. 512,300 on a kindle) as the point of reference? Would I change the reference point? If so, do I need to switch it back after scaling? I clearly don’t full understand the coordinate systems of Corona… [import]uid: 62193 topic_id: 20586 reply_id: 320586[/import]

Nevermind, I figured it out in a moment of clarity (which took quite a long time to achieve)

Here is the code if anyone is interested:

--Zooming in, i.e. group:scale(1.1, 1.1) group.x = group.x + (group.x - 512)\*(0.1) group.y = group.y + (group.y - 300)\*(0.1) --Zooming out, i.e. group:scale(1/1.1, 1/1.1) group.x = group.x - (group.x - 512)\*(0.1) group.y = group.y - (group.y - 300)\*(0.1) [import]uid: 62193 topic_id: 20586 reply_id: 80756[/import]

there’s a project called : “PinchZoomGesture” … in Corona SampleCode …at the ‘Interface’ directory
… it makes you zoom in and out through multitouch…like angryBirds wise [import]uid: 96659 topic_id: 20586 reply_id: 80880[/import]