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
Type fields and default values (if defined) are described below:
Name | Type | Default | Description |
---|---|---|---|
Width | int | 1 | |
Height | int | 1 |