×

Electronic device and method for controlling zooming of displayed object

  • US 10,324,604 B2
  • Filed: 02/14/2017
  • Issued: 06/18/2019
  • Est. Priority Date: 09/29/2012
  • Status: Active Grant
First Claim
Patent Images

1. A method for controlling zooming of a displayed object, comprising:

  • receiving a slide operation from a user on the displayed object of a touch screen;

    calculating a starting point line (L1) of the slide operation, the L1 extending from a reference point to a starting point of the slide operation, the reference point having coordinates (X0, Y0), and the starting point having coordinates (X, Y);

    calculating an end point line (L2) of the slide operation, the L2 extending from the reference point to an ending point of the slide operation, and the ending point having coordinates (Xi, Yi);

    calculating a reference angle (q) according to an equation q=tan

    1
    (|Y−

    Y0|/|X−

    X0);

    calculating a current angle (p) according to an equation p=tan

    1
    (|Yi

    Y0|/|Xi

    X0));

    calculating a deflection angle (α

    ) according to an equation α

    =p−

    q;

    zooming in the displayed object when the α

    is less than zero; and

    zooming out the displayed object when the α

    is greater than or equal to zero.

View all claims
  • 3 Assignments
Timeline View
Assignment View
    ×
    ×