title: Given top left and bottom right points, how can I find all points inside a rectangle?
body: <p>I am trying implement an excel-like click+drag feature where the user clicks on a cell and drags.  When the user stops dragging, I am able to calculate the top left corner and the bottom right corner of the rectangle.  I can also easily calculate the length, height and area of the rectangle, but how do I calculate the coordinates inside the rectangle?</p>