Size
Description
Object contains integer dimensions.struct Size { int width, height; explicit Size(int width = 0, int height = 0); bool operator == (const Size& size) const; bool operator != (const Size& size) const; };
This structure is used e.g. to denote letter dimensions in Optical Character Recognition filters.
Structure fields and default values (if defined) are described below:
struct Size { int Width; int Height; explicit Size ( int Width_ = 1, int Height_ = 1 ) : Width(Width_), Height(Height_) {} int Width( void ) const { return Width; }; int Height( void ) const { return Height; }; bool operator == ( const avl::Size& rhs ) const { return Width == rhs.Width && Height == rhs.Height; } bool operator != ( const avl::Size& rhs ) const { return !(operator==(rhs)); } };