摘要 |
A method of zooming in a graphical user interface of an electronic device (1) having a touch screen (2) for receiving input from a user via touch interactions is disclosed. The method comprises detecting a first touch event, which is the result of a first touch interaction at a first coordinate (c1) of said touch screen (2). The method further comprises detecting a second touch event, which is the result of a second touch interaction, subsequent to the first touch interaction, at a second coordinate (c2) of said touch screen (2). Furthermore, the method comprises detecting a third touch event, which is the result of a third touch interaction, subsequent to the second touch interaction, at a third coordinate (c3a, c3b) of said touch screen (2). Moreover, the method comprises controlling the touch screen to perform a zoom operation on an image displayed on the graphical user interface. The zoom operation is representative of a first distance L 1 between the first coordinate (c1) and the second coordinate (c2) and a second distance L 2 between the first coordinate (c1) and the third coordinate (c3a, c3b). A corresponding electronic device, a corresponding computer program product, and a corresponding computer readable medium are also disclosed. |