Rectangle output questions.


R. Clayton (rclayton@clayton.cs.monmouth.edu)
Wed, 17 Jan 2001 19:01:09 -0500 (EST)


  If the input is 5 4 x 2 6 and this rectangle is not moved, can it be
  output as 2 4 x 5 6?

Yes; as long as it specifies a rectangle of the same size in the same position
using the correct "x1 y1 x x2 y2" format, you can output what you like.

  Or do you want us to output it as exactly as it was input?

Not necessary.

  If the rectangle 2 4 x 5 6 is moved by 3, 3, the resulting rectangle is 5 7 x
  8 9. Should the output be 2 4 x 5 6

No, because the output rectangle's got the right size and format, but wrong
position.

  or 5 7 x 8 9

Yes, because it's correct in size, location and format.



This archive was generated by hypermail 2.0b3 on Thu May 17 2001 - 12:00:05 EDT