Size::Div

Size::Div
inline Size<T>& Div(const Size<T> & sz);
inline Size<T>& Div(T value);
inline Size<T>& Div(T w, T h);
Description

Div divides the current size by a fixed value; both of its individual components are divided by a value. The following expression may be used to represent the result:

   (Width, Height) = (Width / [sz.Width, value, w], Height / [sz.Height, value, h])
Parameters
Parameters 
Description 
const Size<T> & sz 
A size whose components divide those of a current size. 
T value 
A value that divides both components of a current size. 
T w 
A value that divides Width
T h 
A value that divides Height
Return Value

A Size reference to the current string whose components are determined by dividing its original components by alternate values.