Rect::FromRectPS

Rect::FromRectPS
inline Rect<T>& FromRectPS(const Rect<T> * prc);
Description

FromRectPS sets the local rectangle to a passed rectangle in point/size form. In point size form, the rectangle holds a point (its x1 and y1 components) and a width and height (its x2 and y2 components).

Parameters
Parameters 
Description 
const Rect<T> * prc 
A pointer to a rectangle in point/size form that will set the local rectangle. 
Return Value

A Rect reference to a new string whose components are set by the passed rectangle previously in point/size form.