×

Method and device for selecting entity in drawing

  • US 10,466,877 B2
  • Filed: 09/30/2014
  • Issued: 11/05/2019
  • Est. Priority Date: 10/18/2013
  • Status: Active Grant
First Claim
Patent Images

1. A method for selecting an entity in a drawing, which is executed by a mobile phone, comprising:

  • receiving, from a touch screen of the mobile phone, an input data indicating a movement of a user'"'"'s finger on the touch screen;

    invoking a hooked preview program corresponding to a functional instruction after the functional instruction is inputted into a Computer Aided Design (CAD) system;

    selecting a first pickup point in a drawing based on the input data;

    filtering an entity in a predetermined range around the first pickup point to obtain a preselected entity;

    processing the preselected entity via the hooked preview program to display a preview of a result of processing the preselected entity by the functional instruction;

    obtaining a predetermined zooming-in factor;

    performing calculation according to the predetermined zooming-in factor and pixels of the touch screen to obtain a size of a zoomed-in display area;

    creating the zoomed-in display area at a predetermined position of the touch screen according to the first pickup point and the size of the touch screen, wherein the zoomed-in area is not shielded by the finger;

    displaying, in the zoomed-in display area, the preselected entity or the preselected entity processed by the hooked preview program; and

    after displaying the preview of the result of processing the preselected entity;

    receiving a user selection associated with the result of processing the preselected entity, wherein the user selection comprises movement of the user'"'"'s finger on the touch screen;

    in response to the user selection indicating to select the result of processing the preselected entity, returning entity information of the preselected entity to a control instruction to which the preview program is hooked, to enable the control instruction to process the preselected entity; and

    in response to the user selection indicating to not select the result of processing the preselected entity, recovering the preselected entity to a state before the preselected entity has been processed by the preview program by deleting the result of processing the preselected entity in a background, and storing the state before the preselected entity was processed by the hooked preview program.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×