+ float scale = std::max( gesture.scale, MIN_SCALE / mScale );
+ scale = std::min( MAX_SCALE / mScale, scale );
+
+ for( unsigned int i = 0; i < NUM_IMAGES_DISPLAYED; i++ )
+ {
+ mSvgActor[i].SetProperty( Actor::Property::SCALE, scale );
+ }
+ break;
+ }
+
+ case Gesture::Finished:
+ {
+ // Resize the image when pinching is complete, this will rasterize the SVG to the new size
+
+ mScale = mScale * gesture.scale;
+ mScale = mScale > MAX_SCALE ? MAX_SCALE : mScale;
+ mScale = mScale < MIN_SCALE ? MIN_SCALE : mScale;
+ for( unsigned int i = 0; i < NUM_IMAGES_DISPLAYED; i++ )
+ {
+ mSvgActor[i].SetProperty( Actor::Property::SIZE, mActorSize * mScale );
+ mSvgActor[i].SetProperty( Actor::Property::SCALE, 1.0f );
+ }
+ break;