My Project
|
The QSize class defines the size of a two-dimensional object using integer point precision. More...
#include <ParaSize.h>
Public Member Functions | |
QSize (int w, int h) | |
bool | isNull () const |
bool | isEmpty () const |
bool | isValid () const |
int | width () const |
int | height () const |
void | setWidth (int w) |
void | setHeight (int h) |
void | transpose () |
QSize | transposed () const |
void | scale (int w, int h) |
void | scale (const QSize &s) |
QSize | scaled (int w, int h) const |
QSize | scaled (const QSize &s) const |
QSize | expandedTo (const QSize &) const |
QSize | boundedTo (const QSize &) const |
int & | rwidth () |
int & | rheight () |
QSize & | operator+= (const QSize &) |
QSize & | operator-= (const QSize &) |
QSize & | operator*= (float c) |
QSize & | operator/= (float c) |
Friends | |
bool | operator== (const QSize &, const QSize &) |
bool | operator!= (const QSize &, const QSize &) |
const QSize | operator+ (const QSize &, const QSize &) |
const QSize | operator- (const QSize &, const QSize &) |
const QSize | operator* (const QSize &, float) |
const QSize | operator* (float, const QSize &) |
const QSize | operator/ (const QSize &, float) |
The QSize class defines the size of a two-dimensional object using integer point precision.