|
LibreOffice Module basegfx (master) 1
|
#include <b2dsize.hxx>
Public Member Functions | |
| B2DSize () | |
| B2DSize (double fX, double fY) | |
| B2DSize (Size2D< double > const &rSize) | |
| B2DSize (B2ISize const &rSize) | |
| B2DSize & | operator*= (const B2DHomMatrix &rMatrix) |
| Transform size by given transformation matrix. More... | |
| double | getLength () const |
Public Member Functions inherited from basegfx::Size2D< double > | |
| Size2D (double width, double height) | |
| Size2D (Tuple2D< double > const &rTuple) | |
| double | getWidth () const |
| double | getHeight () const |
| void | setWidth (double const &rWidth) |
| void | setHeight (double const &rHeight) |
| bool | operator== (Size2D< double > const &rSize) const |
| bool | operator!= (Size2D< double > const &rSize) const |
| Size2D< double > & | operator-= (Size2D< double > const &rSize) |
| Size2D< double > & | operator+= (Size2D< double > const &rSize) |
| Size2D< double > & | operator/= (Size2D< double > const &rSize) |
| Size2D< double > & | operator/= (double value) |
| Size2D< double > & | operator*= (Size2D< double > const &rSize) |
| Size2D< double > & | operator*= (double value) |
| Size2D< double > | operator- (void) const |
Additional Inherited Members | |
Protected Member Functions inherited from basegfx::Tuple2D< double > | |
| Tuple2D (double x, double y) | |
| Create a 2D Tuple. More... | |
| double | get (Axis2D eAxis) |
| void | set (Axis2D eAxis, double fValue) |
| double | getX () const |
| Get X-Coordinate of 2D Tuple. More... | |
| double | getY () const |
| Get Y-Coordinate of 2D Tuple. More... | |
| void | setX (double fX) |
| Set X-Coordinate of 2D Tuple. More... | |
| void | setY (double fY) |
| Set Y-Coordinate of 2D Tuple. More... | |
| void | adjustX (double fX) |
| Adjust X-Coordinate of 2D Tuple. More... | |
| void | adjustY (double fY) |
| Adjust Y-Coordinate of 2D Tuple. More... | |
| bool | equal (const Tuple2D< double > &rTup) const |
| bool | equal (const Tuple2D< double > &rTup) const |
| bool | equalZero () const |
| bool | equalZero () const |
| Tuple2D< double > & | operator+= (const Tuple2D< double > &rTup) |
| Tuple2D< double > & | operator-= (const Tuple2D< double > &rTup) |
| Tuple2D< double > & | operator/= (const Tuple2D< double > &rTup) |
| Tuple2D< double > & | operator/= (double t) |
| Tuple2D< double > & | operator*= (const Tuple2D< double > &rTup) |
| Tuple2D< double > & | operator*= (double t) |
| Tuple2D< double > | operator- (void) const |
| bool | operator== (const Tuple2D< double > &rTup) const |
| bool | operator!= (const Tuple2D< double > &rTup) const |
Protected Attributes inherited from basegfx::Tuple2D< double > | |
| union { | |
| struct { | |
| TYPE mnX | |
| TYPE mnY | |
| } | |
| struct { | |
| TYPE mfX | |
| TYPE mfY | |
| } | |
| }; | |
| double | mnX |
| double | mnY |
| double | mfX |
| double | mfY |
Definition at line 30 of file b2dsize.hxx.
|
inline |
Definition at line 33 of file b2dsize.hxx.
|
inline |
Definition at line 38 of file b2dsize.hxx.
|
inline |
Definition at line 43 of file b2dsize.hxx.
|
inlineexplicit |
Definition at line 48 of file b2dsize.hxx.
|
inline |
Definition at line 69 of file b2dsize.hxx.
References basegfx::fTools::equalZero(), basegfx::Size2D< double >::getHeight(), and basegfx::Size2D< double >::getWidth().
|
inline |
Transform size by given transformation matrix.
Definition at line 54 of file b2dsize.hxx.
References basegfx::B2DHomMatrix::get(), basegfx::Size2D< double >::getHeight(), basegfx::Size2D< double >::getWidth(), basegfx::Size2D< double >::setHeight(), and basegfx::Size2D< double >::setWidth().