KoSize Class Reference
A size whose coordinates are floating-point values ( "double"s ). More...
#include <koSize.h>
Public Member Functions | |
| KoSize (double w, double h) | |
| bool | isNull () const |
| bool | isEmpty () const |
| bool | isValid () const |
| double | width () const |
| double | height () const |
| void | setWidth (double w) |
| void | setHeight (double h) |
| KoSize | expandedTo (const KoSize &) const |
| KoSize | boundedTo (const KoSize &) const |
| double & | rwidth () |
| double & | rheight () |
| KoSize & | operator+= (const KoSize &) |
| KoSize & | operator-= (const KoSize &) |
| KoSize & | operator *= (int c) |
| KoSize & | operator *= (double c) |
| KoSize & | operator/= (int c) |
| KoSize & | operator/= (double c) |
| QSize | toQSize () const |
| void | transpose () |
Static Public Member Functions | |
| static KoSize | fromQSize (const QSize &size) |
Friends | |
| bool | operator== (const KoSize &, const KoSize &) |
| bool | operator!= (const KoSize &, const KoSize &) |
| const KoSize | operator+ (const KoSize &, const KoSize &) |
| const KoSize | operator- (const KoSize &, const KoSize &) |
| const KoSize | operator * (const KoSize &, int) |
| const KoSize | operator * (int, const KoSize &) |
| const KoSize | operator * (const KoSize &, double) |
| const KoSize | operator * (double, const KoSize &) |
| const KoSize | operator/ (const KoSize &, int) |
| const KoSize | operator/ (const KoSize &, double) |
Detailed Description
A size whose coordinates are floating-point values ( "double"s ).The API isn't documented, it's a perfect mirror of QSize.
Definition at line 33 of file koSize.h.
The documentation for this class was generated from the following file:
