Browse Prior Art Database

Drawing and Aligning a Horizontal Line Using a Mouse

IP.com Disclosure Number: IPCOM000038418D
Original Publication Date: 1987-Jan-01
Included in the Prior Art Database: 2005-Jan-31
Document File: 1 page(s) / 12K

IBM

Related People

Cross, MR: AUTHOR

Abstract

A method is described that allows the user to use a mouse to create a horizontal line, maximizing flexibility and minimizing operator distraction. Suppose the first click ends at time t1 and the second click begins at time t2. Further, suppose at time t1 the mouse occupies coordinates (x1,y1) and by time t2 the user has moved the mouse to (x2, y2). When the first click ends at time t1, the horizontal line H has been chosen. Simultaneously, the first endpoint is selected. But until the second click, the second endpoint (and thus the line segment appearing on the screen) is entirely redefineable. By assumption, the final definition of the second endpoint will occur at time t2.

This text was extracted from a PDF file.
This is the abbreviated version, containing approximately 66% of the total text.

Page 1 of 1

Drawing and Aligning a Horizontal Line Using a Mouse

A method is described that allows the user to use a mouse to create a horizontal line, maximizing flexibility and minimizing operator distraction. Suppose the first click ends at time t1 and the second click begins at time t2. Further, suppose at time t1 the mouse occupies coordinates (x1,y1) and by time t2 the user has moved the mouse to (x2, y2). When the first click ends at time t1, the horizontal line H has been chosen. Simultaneously, the first endpoint is selected. But until the second click, the second endpoint (and thus the line segment appearing on the screen) is entirely redefineable. By assumption, the final definition of the second endpoint will occur at time t2. Meanwhile, as the user moves the mouse around the screen, the second endpoint is constantly being redefined and used to redraw the line segment (connect the endpoints). The line H chosen at time t1 is the line each of whose points has y1 as its ordinate. At each instant t between t1 and t2, a candidate for the second endpoint (and therefore the line segment itself) may be determined from the current mouse point (xt,yt) as follows. The candidate endpoint lies at the intersection of H and a line containing the mouse (xt,yt) and which is perpendicular to H.

This point has coordinates (xt,y1). So at instant t, the candidate segment consists of the points of H whose x coordinates are between x and xt inclusive. Of course, the x coordinate xt cha...