主权项 |
1. A computer-implemented method of displaying free-form drawing on a contact-sensitive display, comprising:
detecting, by the computer, a new contact on the contact-sensitive display; determining, by the computer, whether a width of the new contact is less than a maximum width threshold; when the width of the new contact is less than the maximum width threshold, comparing, by the computer, the width of the new contact to a width of other current contacts; when the width of the new contact is less than widths of all other current contacts, tracking, by the computer, the new contact using a first data structure; detecting, by the computer, a release of the new contact from the contact-sensitive display; and transferring, by the computer, data associated with the new contact from the first data structure to the second data structure when the computer detects that the new contact has been released, wherein contact data stored in the first data structure and the second data structure are used to visualize drawing on the contact-sensitive display. |