A class to represent sizes of two dimensional objects like images.
More...
#include <Base.h>
List of all members.
Public Member Functions |
| Size () |
| Construct a size with width and height of zero.
|
| Size (int w, int h) |
| Construct a size of the given width and height.
|
bool | operator== (const Size &other) const |
| Compare two sizes for equality.
|
bool | operator!= (const Size &other) const |
| Compare two sizes for equality.
|
| Size () |
| Construct a size with width and height of zero.
|
| Size (int w, int h) |
| Construct a size of the given width and height.
|
bool | operator== (const Size &other) const |
| Compare two sizes for equality.
|
bool | operator!= (const Size &other) const |
| Compare two sizes for equality.
|
Public Attributes |
int | width |
| The width as an int.
|
int | height |
| The height as an int.
|
Detailed Description
A class to represent sizes of two dimensional objects like images.
Definition at line 63 of file Base.h.
Constructor & Destructor Documentation
FCam::Size::Size |
( |
|
) |
[inline] |
Construct a size with width and height of zero.
Definition at line 65 of file Base.h.
FCam::Size::Size |
( |
int |
w, |
|
|
int |
h | |
|
) |
| | [inline] |
Construct a size of the given width and height.
Definition at line 68 of file Base.h.
FCam::Size::Size |
( |
|
) |
[inline] |
Construct a size with width and height of zero.
Definition at line 64 of file Base.h.
FCam::Size::Size |
( |
int |
w, |
|
|
int |
h | |
|
) |
| | [inline] |
Construct a size of the given width and height.
Definition at line 67 of file Base.h.
Member Data Documentation
The width as an int.
Definition at line 76 of file Base.h.
The height as an int.
Definition at line 77 of file Base.h.
The documentation for this struct was generated from the following files: