Definition at line 92 of file qwt_double_rect.h.
Public Member Functions | |
QwtDoubleSize () | |
QwtDoubleSize (double width, double height) | |
QwtDoubleSize (const QSize &) | |
bool | isNull () const |
bool | isEmpty () const |
bool | isValid () const |
double | width () const |
double | height () const |
void | setWidth (double w) |
void | setHeight (double h) |
void | transpose () |
QwtDoubleSize | expandedTo (const QwtDoubleSize &) const |
QwtDoubleSize | boundedTo (const QwtDoubleSize &) const |
bool | operator== (const QwtDoubleSize &) const |
bool | operator!= (const QwtDoubleSize &) const |
const QwtDoubleSize | operator+ (const QwtDoubleSize &) const |
const QwtDoubleSize | operator- (const QwtDoubleSize &) const |
const QwtDoubleSize | operator * (double) const |
const QwtDoubleSize | operator/ (double) const |
QwtDoubleSize & | operator+= (const QwtDoubleSize &) |
QwtDoubleSize & | operator-= (const QwtDoubleSize &) |
QwtDoubleSize & | operator *= (double c) |
QwtDoubleSize & | operator/= (double c) |
|
Constructs an invalid size.
Definition at line 163 of file qwt_double_rect.cpp. Referenced by boundedTo(), expandedTo(), operator *(), operator+(), operator-(), and operator/(). |
|
Constructs a size with width width and height height.
Definition at line 170 of file qwt_double_rect.cpp. |
|
Constructs a size with floating point accuracy from the given size.
Definition at line 177 of file qwt_double_rect.cpp. |
|
Returns a size with the minimum width and height of this size and other. Definition at line 207 of file qwt_double_rect.cpp. References QwtDoubleSize(). |
|
Returns a size with the maximum width and height of this size and other. Definition at line 195 of file qwt_double_rect.cpp. References QwtDoubleSize(). Referenced by QwtPlotZoomer::end(). |
|
Returns the height.
Definition at line 291 of file qwt_double_rect.h. Referenced by QwtPlotZoomer::begin(), and QwtDoubleRect::setSize(). |
|
Returns true if the width is <= 0.0 or the height is <= 0.0, otherwise false. Definition at line 270 of file qwt_double_rect.h. |
|
Returns true if the width is 0 and the height is 0; otherwise returns false. Definition at line 261 of file qwt_double_rect.h. |
|
Returns true if the width is equal to or greater than 0.0 and the height is equal to or greater than 0.0; otherwise returns false. Definition at line 279 of file qwt_double_rect.h. Referenced by QwtPlotZoomer::begin(). |
|
Returns the size formed by multiplying both components by c.
Definition at line 251 of file qwt_double_rect.cpp. References QwtDoubleSize(). |
|
Returns true if s1 and s2 are different; otherwise returns false.
Definition at line 223 of file qwt_double_rect.cpp. References operator==(). |
|
Returns the size formed by adding both components by the components of other. Each component is added separately. Definition at line 232 of file qwt_double_rect.cpp. References QwtDoubleSize(). |
|
Adds size other to this size and returns a reference to this size.
Definition at line 263 of file qwt_double_rect.cpp. |
|
Returns the size formed by subtracting both components by the components of other. Each component is subtracted separately. Definition at line 243 of file qwt_double_rect.cpp. References QwtDoubleSize(). |
|
Subtracts size other from this size and returns a reference to this size.
Definition at line 271 of file qwt_double_rect.cpp. |
|
Returns the size formed by dividing both components by c.
Definition at line 257 of file qwt_double_rect.cpp. References QwtDoubleSize(). |
|
Returns true if s1 and s2 are equal; otherwise returns false.
Definition at line 217 of file qwt_double_rect.cpp. References d_height, and d_width. Referenced by operator!=(). |
|
Sets the height to height.
Definition at line 303 of file qwt_double_rect.h. |
|
Sets the width to width.
Definition at line 297 of file qwt_double_rect.h. |
|
Swaps the width and height values.
Definition at line 184 of file qwt_double_rect.cpp. |
|
Returns the width.
Definition at line 285 of file qwt_double_rect.h. Referenced by QwtPlotZoomer::begin(), and QwtDoubleRect::setSize(). |