LibreOffice Module basegfx (master) 1
|
Base class for all Points/Vectors with two sal_Int32 values. More...
#include <b2ituple.hxx>
Public Member Functions | |
B2ITuple () | |
Create a 2D Tuple. More... | |
B2ITuple (sal_Int32 nX, sal_Int32 nY) | |
Create a 2D Tuple. More... | |
B2ITuple | operator- (void) const |
Public 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 |
Additional Inherited Members | |
Public Attributes inherited from basegfx::Tuple2D< sal_Int32 > | |
sal_Int32 | mnX |
sal_Int32 | mnY |
sal_Int32 | mfX |
sal_Int32 | mfY |
Protected Attributes inherited from basegfx::Tuple2D< sal_Int32 > | |
union { | |
struct { | |
TYPE mnX | |
TYPE mnY | |
} | |
struct { | |
TYPE mfX | |
TYPE mfY | |
} | |
}; | |
Base class for all Points/Vectors with two sal_Int32 values.
This class provides all methods common to Point and Vector classes which are derived from here.
Definition at line 36 of file b2ituple.hxx.
|
inline |
|
inline |
Create a 2D Tuple.
nX | This parameter is used to initialize the X-coordinate of the 2D Tuple. |
nY | This parameter is used to initialize the Y-coordinate of the 2D Tuple. |
Definition at line 57 of file b2ituple.hxx.
|
inline |
Definition at line 63 of file b2ituple.hxx.