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

#include <b2isize.hxx>

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

Public Member Functions

 B2ISize ()
 
 B2ISize (sal_Int32 nX, sal_Int32 nY)
 
 B2ISize (Size2D< sal_Int32 > const &rSize)
 
- Public Member Functions inherited from basegfx::Size2D< sal_Int32 >
 Size2D (sal_Int32 width, sal_Int32 height)
 
 Size2D (Tuple2D< sal_Int32 > const &rTuple)
 
sal_Int32 getWidth () const
 
sal_Int32 getHeight () const
 
void setWidth (sal_Int32 const &rWidth)
 
void setHeight (sal_Int32 const &rHeight)
 
bool operator== (Size2D< sal_Int32 > const &rSize) const
 
bool operator!= (Size2D< sal_Int32 > const &rSize) const
 
Size2D< sal_Int32 > & operator-= (Size2D< sal_Int32 > const &rSize)
 
Size2D< sal_Int32 > & operator+= (Size2D< sal_Int32 > const &rSize)
 
Size2D< sal_Int32 > & operator/= (Size2D< sal_Int32 > const &rSize)
 
Size2D< sal_Int32 > & operator/= (sal_Int32 value)
 
Size2D< sal_Int32 > & operator*= (Size2D< sal_Int32 > const &rSize)
 
Size2D< sal_Int32 > & operator*= (sal_Int32 value)
 
Size2D< sal_Int32 > operator- (void) const
 

Additional Inherited Members

- Protected Member Functions inherited from basegfx::Tuple2D< sal_Int32 >
 Tuple2D (sal_Int32 x, sal_Int32 y)
 Create a 2D Tuple. More...
 
double get (Axis2D eAxis)
 
void set (Axis2D eAxis, sal_Int32 fValue)
 
sal_Int32 getX () const
 Get X-Coordinate of 2D Tuple. More...
 
sal_Int32 getY () const
 Get Y-Coordinate of 2D Tuple. More...
 
void setX (sal_Int32 fX)
 Set X-Coordinate of 2D Tuple. More...
 
void setY (sal_Int32 fY)
 Set Y-Coordinate of 2D Tuple. More...
 
void adjustX (sal_Int32 fX)
 Adjust X-Coordinate of 2D Tuple. More...
 
void adjustY (sal_Int32 fY)
 Adjust Y-Coordinate of 2D Tuple. More...
 
bool equal (const Tuple2D< sal_Int32 > &rTup) const
 
bool equal (const Tuple2D< sal_Int32 > &rTup) const
 
bool equalZero () const
 
bool equalZero () const
 
Tuple2D< sal_Int32 > & operator+= (const Tuple2D< sal_Int32 > &rTup)
 
Tuple2D< sal_Int32 > & operator-= (const Tuple2D< sal_Int32 > &rTup)
 
Tuple2D< sal_Int32 > & operator/= (const Tuple2D< sal_Int32 > &rTup)
 
Tuple2D< sal_Int32 > & operator/= (sal_Int32 t)
 
Tuple2D< sal_Int32 > & operator*= (const Tuple2D< sal_Int32 > &rTup)
 
Tuple2D< sal_Int32 > & operator*= (sal_Int32 t)
 
Tuple2D< sal_Int32 > operator- (void) const
 
bool operator== (const Tuple2D< sal_Int32 > &rTup) const
 
bool operator!= (const Tuple2D< sal_Int32 > &rTup) const
 
- Protected Attributes inherited from basegfx::Tuple2D< sal_Int32 >
union {
   struct {
      TYPE   mnX
 
      TYPE   mnY
 
   } 
 
   struct {
      TYPE   mfX
 
      TYPE   mfY
 
   } 
 
}; 
 
sal_Int32 mnX
 
sal_Int32 mnY
 
sal_Int32 mfX
 
sal_Int32 mfY
 

Detailed Description

Definition at line 27 of file b2isize.hxx.

Constructor & Destructor Documentation

◆ B2ISize() [1/3]

basegfx::B2ISize::B2ISize ( )
inline

Definition at line 30 of file b2isize.hxx.

◆ B2ISize() [2/3]

basegfx::B2ISize::B2ISize ( sal_Int32  nX,
sal_Int32  nY 
)
inline

Definition at line 35 of file b2isize.hxx.

◆ B2ISize() [3/3]

basegfx::B2ISize::B2ISize ( Size2D< sal_Int32 > const &  rSize)
inline

Definition at line 40 of file b2isize.hxx.


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