언어 설정

Menu
Sites
Language
How to do Zoom in and Zoom out by multitouch?

I want to implement Zoom in and Zoom out in my OpenGL application.

Currently I only find from the document that I need to implement call back function for below events:

EVAS_CALLBACK_MULTI_DOWN

EVAS_CALLBACK_MULTI_UP

EVAS_CALLBACK_MULTI_MOVE

But who can help to describe detail how to use these events to realize Zoom in/out like already done in photocam.

How can I recogonize the zoom in/out gesture from multitouch events?

 

 

Responses

3 댓글
colin Rao

Hi,

Possilbe you can get help from the IDE help doc by search "gesture layer".

I am used the new SDK version, 2.4b.

Alex Dem

Hi,
Afaik in common case you could try to use gesture layer, there is also implemented zoom  gesture and there you could find api to configure your zoom preferences, also:
https://developer.tizen.org/dev-guide/2.4b/org.tizen.native.mobile.apireference/group__Elm__Gesture__Layer.html

Here is tutorial how to implement touch gestures (but for 2.3.0):
https://developer.tizen.org/development/tutorials/native-application/ui/event-and-effect/gesture-detector-0
Alexey.