Flipping Image/Canvas

Hi there

I am trying to pull off a flip effect for an image/canvas whenever the user touches a corner of an image. Does anyone have any ideas on how to do this?

Many Thanks
Dece

glRotatef() or glScalef() will do the trick