DrawingLine

Note: Most of the QA are originally done by Dave unless specified otherwise

Updated on Nov. 20, 2003

Case

No.

Inputs

Expected Outputs

Remarks

Result

  1.  

Drawing -> Line

   Place start point with left

   click.  Hold and drag to

   endpoint of line for all

   tests.

 

   Long vertical line.

Properly placed, no jaggedness.

Test various orientations throughout the Canvas Windows space.

Pass

  1.  

Drawing -> Line

   Short vertical line.

 

 

Pass

  1.  

Drawing -> Line

   Long horizontal line.

 

 

Pass

  1.  

Drawing -> Line

   Short horizontal line.

 

 

Pass

  1.  

Drawing -> Line

   Short diagonal left line.

 

 

Pass

  1.  

Drawing -> Line

   Long diagonal right line.

 

 

Pass

  1.  

Drawing -> Line

   Short diagonal right line.

 

 

Pass

  1.  

Drawing -> Line

   Crossed vertical,

   horizontal lines.

Properly placed, no distortion.

 

Pass

  1.  

Drawing -> Line

   Lines just off of the

   vertical and horizontal.

 

 

These are a bit jagged.  I don’t know if this can be improved.

  1.  

Drawing -> Line

   Line drawn of currently

   Shown canvas.

 

??? I think the canvas is supposed to grow?

 

  1.  

Drawing -> Line

   Choose Line tool, click

   on the canvas window

   once then release the

   mouse right away

Nothing happens. No crash. No layer created.

Found by Lan Phan

(ltphan@calpoly.edu)

Failed

 

One layer created for each time clicking on canvas window. Supposedly no layer should be created. Besides, the dot created cannot be manipulated by any tool, except the Reshape tool. It causes degeneration with Scale and Stretch tool.

 

Solution could be: make sure mouse is clicked twice before creating a Line object à have 2 anchor points.

 

Status: fixed by <name>

(email address)