The drawing and geometry stuff is foreign enough to me that everything I've tried has failed miserably :-(
When a user clicks and drags inside a canvas, I need to draw a rectangle that is dynamically sized vertically (fixed width) with their mouse movements, whether the movement is a positive or negative movement from the point of initiation. On mouseUp, I need to capture the x and y positions and the height of the rectangle. Anyone have some sample code or a good tutorial that can give me an idea of how to accomplish this?

