|
LibreOffice Module basegfx (master) 1
|
#include <Size2D.hxx>
Public Member Functions | |
| Size2D (TYPE width, TYPE height) | |
| Size2D (Tuple2D< TYPE > const &rTuple) | |
| TYPE | getWidth () const |
| TYPE | getHeight () const |
| void | setWidth (TYPE const &rWidth) |
| void | setHeight (TYPE const &rHeight) |
| bool | operator== (Size2D< TYPE > const &rSize) const |
| bool | operator!= (Size2D< TYPE > const &rSize) const |
| Size2D< TYPE > & | operator-= (Size2D< TYPE > const &rSize) |
| Size2D< TYPE > & | operator+= (Size2D< TYPE > const &rSize) |
| Size2D< TYPE > & | operator/= (Size2D< TYPE > const &rSize) |
| Size2D< TYPE > & | operator*= (Size2D< TYPE > const &rSize) |
| Size2D< TYPE > & | operator*= (TYPE value) |
| Size2D< TYPE > & | operator/= (TYPE value) |
| Size2D< TYPE > | operator- (void) const |
Additional Inherited Members | |
Protected Member Functions inherited from basegfx::Tuple2D< TYPE > | |
| Tuple2D (TYPE x, TYPE y) | |
| Create a 2D Tuple. More... | |
| double | get (Axis2D eAxis) |
| void | set (Axis2D eAxis, TYPE fValue) |
| TYPE | getX () const |
| Get X-Coordinate of 2D Tuple. More... | |
| TYPE | getY () const |
| Get Y-Coordinate of 2D Tuple. More... | |
| void | setX (TYPE fX) |
| Set X-Coordinate of 2D Tuple. More... | |
| void | setY (TYPE fY) |
| Set Y-Coordinate of 2D Tuple. More... | |
| void | adjustX (TYPE fX) |
| Adjust X-Coordinate of 2D Tuple. More... | |
| void | adjustY (TYPE fY) |
| Adjust Y-Coordinate of 2D Tuple. More... | |
| template<typename T = TYPE, std::enable_if_t< std::is_integral_v< T >, int > = 0> | |
| bool | equal (const Tuple2D< TYPE > &rTup) const |
| template<typename T = TYPE, std::enable_if_t< std::is_floating_point_v< T >, int > = 0> | |
| bool | equal (const Tuple2D< TYPE > &rTup) const |
| template<typename T = TYPE, std::enable_if_t< std::is_integral_v< T >, int > = 0> | |
| bool | equalZero () const |
| template<typename T = TYPE, std::enable_if_t< std::is_floating_point_v< T >, int > = 0> | |
| bool | equalZero () const |
| Tuple2D< TYPE > & | operator+= (const Tuple2D< TYPE > &rTup) |
| Tuple2D< TYPE > & | operator-= (const Tuple2D< TYPE > &rTup) |
| Tuple2D< TYPE > & | operator/= (const Tuple2D< TYPE > &rTup) |
| Tuple2D< TYPE > & | operator*= (const Tuple2D< TYPE > &rTup) |
| Tuple2D< TYPE > & | operator*= (TYPE t) |
| Tuple2D< TYPE > & | operator/= (TYPE t) |
| Tuple2D< TYPE > | operator- (void) const |
| bool | operator== (const Tuple2D< TYPE > &rTup) const |
| bool | operator!= (const Tuple2D< TYPE > &rTup) const |
Protected Attributes inherited from basegfx::Tuple2D< TYPE > | |
| union { | |
| struct { | |
| TYPE mnX | |
| TYPE mnY | |
| } | |
| struct { | |
| TYPE mfX | |
| TYPE mfY | |
| } | |
| }; | |
Definition at line 17 of file Size2D.hxx.
|
inline |
Definition at line 20 of file Size2D.hxx.
References TYPE.
|
inline |
Definition at line 25 of file Size2D.hxx.
References TYPE.
|
inline |
Definition at line 32 of file Size2D.hxx.
References basegfx::Tuple2D< TYPE >::getY(), and TYPE.
|
inline |
Definition at line 30 of file Size2D.hxx.
References basegfx::Tuple2D< TYPE >::getX(), and TYPE.
|
inline |
Definition at line 40 of file Size2D.hxx.
References basegfx::Tuple2D< TYPE >::operator!=().
|
inline |
Definition at line 60 of file Size2D.hxx.
References basegfx::Tuple2D< TYPE >::operator*=().
|
inline |
Definition at line 66 of file Size2D.hxx.
References basegfx::Tuple2D< TYPE >::operator*=(), and value.
|
inline |
Definition at line 48 of file Size2D.hxx.
References basegfx::Tuple2D< TYPE >::operator+=().
|
inline |
Definition at line 78 of file Size2D.hxx.
References basegfx::Tuple2D< TYPE >::operator-().
|
inline |
Definition at line 42 of file Size2D.hxx.
References basegfx::Tuple2D< TYPE >::operator-=().
|
inline |
Definition at line 54 of file Size2D.hxx.
References basegfx::Tuple2D< TYPE >::operator/=().
|
inline |
Definition at line 72 of file Size2D.hxx.
References basegfx::Tuple2D< TYPE >::operator/=(), and value.
|
inline |
Definition at line 38 of file Size2D.hxx.
References basegfx::Tuple2D< TYPE >::operator==().
|
inline |
Definition at line 36 of file Size2D.hxx.
References basegfx::Tuple2D< TYPE >::setY().
|
inline |
Definition at line 34 of file Size2D.hxx.
References basegfx::Tuple2D< TYPE >::setX().