KoSize Class Reference
#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) |
| TQSize | toTQSize () const |
| void | transpose () |
Static Public Member Functions | |
| static KoSize | fromTQSize (const TQSize &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 TQSize.
Constructor & Destructor Documentation
◆ KoSize() [1/2]
◆ KoSize() [2/2]
Member Function Documentation
◆ boundedTo()
◆ expandedTo()
◆ fromTQSize()
|
inlinestatic |
◆ height()
◆ isEmpty()
◆ isNull()
◆ isValid()
◆ operator*=() [1/2]
◆ operator*=() [2/2]
◆ operator+=()
◆ operator-=()
◆ operator/=() [1/2]
◆ operator/=() [2/2]
◆ rheight()
◆ rwidth()
◆ setHeight()
◆ setWidth()
◆ toTQSize()
◆ transpose()
◆ width()
Friends And Related Symbol Documentation
◆ operator!=
◆ operator* [1/4]
◆ operator* [2/4]
◆ operator* [3/4]
◆ operator* [4/4]
◆ operator+
◆ operator-
◆ operator/ [1/2]
◆ operator/ [2/2]
◆ operator==
The documentation for this class was generated from the following file:
