[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[no subject]



CC: (BUG LISPM) at MIT-MC
    cwh@MIT-AI 08/04/79 09:38:14
    To: (BUG LISPM) at MIT-AI
    (TV-DRAW-LINE X0 Y0 X1 Y1 ...) should draw a line from the point X0, Y0 to
    the point X1-1, Y1-1.  
That line would not even have the right slope!  What you're trying to
say is it should stop one pixel short of the second endpoint.
I'm not sure I agree with that either.

			   This makes it easier drawing lines to edges of pieces
    of paper, etc. which work this way.  
Not true; it might still draw over the edge depending on the slope.
    
    In addition, if one sends a window a DRAW-LINE message where one of the
    x coordinates is the right margin or one of the y coordinates is the bottom
    margin, truncation does not happen correctly.  I think the DRAW-LINE method
    may be expecting TV-DRAW-LINE to behave as I mentioned above.
Well this is just a bug in the truncation code and should be fixed there.