LibreOffice Module basegfx (master) 1
Public Member Functions | List of all members
basegfx::B2DSize Class Reference

#include <b2dsize.hxx>

Inheritance diagram for basegfx::B2DSize:
[legend]
Collaboration diagram for basegfx::B2DSize:
[legend]

Public Member Functions

 B2DSize ()
 
 B2DSize (double fX, double fY)
 
 B2DSize (Size2D< double > const &rSize)
 
 B2DSize (B2ISize const &rSize)
 
B2DSizeoperator*= (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
 

Detailed Description

Definition at line 30 of file b2dsize.hxx.

Constructor & Destructor Documentation

◆ B2DSize() [1/4]

basegfx::B2DSize::B2DSize ( )
inline

Definition at line 33 of file b2dsize.hxx.

◆ B2DSize() [2/4]

basegfx::B2DSize::B2DSize ( double  fX,
double  fY 
)
inline

Definition at line 38 of file b2dsize.hxx.

◆ B2DSize() [3/4]

basegfx::B2DSize::B2DSize ( Size2D< double > const &  rSize)
inline

Definition at line 43 of file b2dsize.hxx.

◆ B2DSize() [4/4]

basegfx::B2DSize::B2DSize ( B2ISize const &  rSize)
inlineexplicit

Definition at line 48 of file b2dsize.hxx.

Member Function Documentation

◆ getLength()

double basegfx::B2DSize::getLength ( ) const
inline

◆ operator*=()

B2DSize & basegfx::B2DSize::operator*= ( const B2DHomMatrix rMatrix)
inline

The documentation for this class was generated from the following file: