Freehand drawing containing invisible lines
First Claim
1. In a computer based graphic editor, a method of recognizing as a single graphic object a plurality of unconnected freehand strokes comprising the steps of:
- detecting and storing with a visible attribute a first point at a beginning of a displayable stroke which is a first stroke of said plurality of unconnected strokes;
storing each successive point of said first stroke with said visible at tribute;
detecting a last point of said first stroke and storing said last point with an invisible attribute;
repeating each of the preceding steps for each succeeding stroke of said plurality of unconnected strokes;
each time a first point and a last point of a succeeding stroke are detected, comparing a last point of a previous stroke with first and last points of a current stroke and if said first and last points of the current stroke are within a predetermined tolerance range and there exist no other points between said first and last points of the current stroke and if the first point of the current stroke and the last point of the previous stroke are within said predetermined tolerance range, detecting an end of said plurality of unconnected strokes; and
recognizing said plurality of unconnected strokes as a single graphic object in said graphic editor by storing said strokes connected by invisible lines connecting successive invisible and visible attributes, whereby in formatting a document, said graphic editor will display said single graphic object without fragmentation.
1 Assignment
0 Petitions
Accused Products
Abstract
A computer based graphic editor has the capability of recognizing as a single graphic object a plurality of unconnected freehand strokes such as a signature. This makes possible editing a document with a signature, for example, without the various parts of the signature becoming separated and no longer being a viable entity. A cursor pointing device, such as a mouse with a button, is used to enter the plurality of unconnected strokes. Initially, the first point p1 at the beginning of a stroke which is the first stroke of a plurality of unconnected strokes is read and stored with the visible attribute. As long as the button is pressed, the position of the cursor is monitored and lines drawn from each successive point to the next point p2 with each point p2 being stored with the visible attribute. When the mouse button is released, the last read point position p2 is stored with the invisible attribute. When the mouse button is pressed again, the first point p1 of the next stroke is read and stored with the visible attribute, and the process repeated. When the mouse button is again pressed and released, the ending position of the previous stroke p.sub..0., the starting position of the current stroke p1 and the ending position of the current stroke p2 are compared and, if p1 and p2 are within a tolerance range and there exist no other points between p1 and p2 and if p1 and p.sub..0. are within the tolerance range, then the termination of the signature is detected.
-
Citations
4 Claims
-
1. In a computer based graphic editor, a method of recognizing as a single graphic object a plurality of unconnected freehand strokes comprising the steps of:
-
detecting and storing with a visible attribute a first point at a beginning of a displayable stroke which is a first stroke of said plurality of unconnected strokes; storing each successive point of said first stroke with said visible at tribute; detecting a last point of said first stroke and storing said last point with an invisible attribute; repeating each of the preceding steps for each succeeding stroke of said plurality of unconnected strokes; each time a first point and a last point of a succeeding stroke are detected, comparing a last point of a previous stroke with first and last points of a current stroke and if said first and last points of the current stroke are within a predetermined tolerance range and there exist no other points between said first and last points of the current stroke and if the first point of the current stroke and the last point of the previous stroke are within said predetermined tolerance range, detecting an end of said plurality of unconnected strokes; and recognizing said plurality of unconnected strokes as a single graphic object in said graphic editor by storing said strokes connected by invisible lines connecting successive invisible and visible attributes, whereby in formatting a document, said graphic editor will display said single graphic object without fragmentation. - View Dependent Claims (2)
-
-
3. A method of writing a signature in a mixed object editor which supports text objects and graphic objects in a single document comprising the steps of:
-
entering a plurality of unconnected strokes in a freehand graphics mode of said mixed object editor, said plurality of unconnected strokes constituting said signature; at the beginning of each of said unconnected stroke, storing a visible attribute indicating the beginning of a displayable stroke; at the end of each of said unconnected stroke, storing an invisible attribute indicating the end of a displayable stroke; and recognizing said plurality of unconnected strokes as a single graphic object in said mixed object editor by storing said strokes connected by invisible lines connecting successive invisible and visible attributes, whereby in formatting a document, said mixed object editor will display said signature as a single freehand graphic object without fragmentation. - View Dependent Claims (4)
-
Specification