Rect::SetTopLeft

Rect::SetTopLeft
inline void SetTopLeft(const Point<T> & pt);
Description

SetTopLeft sets the y1 and x1 components of the current rectangle to the y and x components of a passed point respectively.

Parameters
Parameters 
Description 
const Point<T> & pt 
A point whose x coordinate sets x1 and whose y coordinate sets y1.