summaryrefslogtreecommitdiff
path: root/basegfx/inc/basegfx/vector
diff options
context:
space:
mode:
Diffstat (limited to 'basegfx/inc/basegfx/vector')
-rw-r--r--basegfx/inc/basegfx/vector/b2dvector.hxx15
-rw-r--r--basegfx/inc/basegfx/vector/b2ivector.hxx13
-rw-r--r--basegfx/inc/basegfx/vector/b3dvector.hxx7
-rw-r--r--basegfx/inc/basegfx/vector/b3ivector.hxx5
4 files changed, 22 insertions, 18 deletions
diff --git a/basegfx/inc/basegfx/vector/b2dvector.hxx b/basegfx/inc/basegfx/vector/b2dvector.hxx
index e4cd8f3f179a..60c600d3f9f5 100644
--- a/basegfx/inc/basegfx/vector/b2dvector.hxx
+++ b/basegfx/inc/basegfx/vector/b2dvector.hxx
@@ -31,6 +31,7 @@
#include <basegfx/tuple/b2dtuple.hxx>
#include <basegfx/vector/b2ivector.hxx>
#include <basegfx/vector/b2enums.hxx>
+#include <basegfx/basegfxdllapi.h>
namespace basegfx
{
@@ -45,7 +46,7 @@ namespace basegfx
@see B2DTuple
*/
- class B2DVector : public ::basegfx::B2DTuple
+ class BASEGFX_DLLPUBLIC B2DVector : public ::basegfx::B2DTuple
{
public:
/** Create a 2D Vector
@@ -209,7 +210,7 @@ namespace basegfx
@return
The mathematical Orientation of the two involved 2D Vectors
*/
- B2VectorOrientation getOrientation( const B2DVector& rVecA, const B2DVector& rVecB );
+ BASEGFX_DLLPUBLIC B2VectorOrientation getOrientation( const B2DVector& rVecA, const B2DVector& rVecB );
/** Calculate a perpendicular 2D Vector to the given one
@@ -221,7 +222,7 @@ namespace basegfx
@return
A 2D Vector perpendicular to the one given in parameter rVec
*/
- B2DVector getPerpendicular( const B2DVector& rNormalizedVec );
+ BASEGFX_DLLPUBLIC B2DVector getPerpendicular( const B2DVector& rNormalizedVec );
/** Calculate a perpendicular 2D Vector to the given one,
normalize the given one as preparation
@@ -232,7 +233,7 @@ namespace basegfx
@return
A normalized 2D Vector perpendicular to the one given in parameter rVec
*/
- B2DVector getNormalizedPerpendicular( const B2DVector& rVec );
+ BASEGFX_DLLPUBLIC B2DVector getNormalizedPerpendicular( const B2DVector& rVec );
/** Test two vectors which need not to be normalized for parallelism
@@ -246,21 +247,21 @@ namespace basegfx
bool if the two values are parallel. Also true if
one of the vectors is empty.
*/
- bool areParallel( const B2DVector& rVecA, const B2DVector& rVecB );
+ BASEGFX_DLLPUBLIC bool areParallel( const B2DVector& rVecA, const B2DVector& rVecB );
/** Transform vector by given transformation matrix.
Since this is a vector, translational components of the
matrix are disregarded.
*/
- B2DVector operator*( const B2DHomMatrix& rMat, const B2DVector& rVec );
+ BASEGFX_DLLPUBLIC B2DVector operator*( const B2DHomMatrix& rMat, const B2DVector& rVec );
/** Test continuity between given vectors.
The two given vectors are assumed to describe control points on a
common point. Calculate if there is a continuity between them.
*/
- B2VectorContinuity getContinuity( const B2DVector& rBackVector, const B2DVector& rForwardVector );
+ BASEGFX_DLLPUBLIC B2VectorContinuity getContinuity( const B2DVector& rBackVector, const B2DVector& rForwardVector );
} // end of namespace basegfx
diff --git a/basegfx/inc/basegfx/vector/b2ivector.hxx b/basegfx/inc/basegfx/vector/b2ivector.hxx
index 9e2fe1009841..ebc81f83b51a 100644
--- a/basegfx/inc/basegfx/vector/b2ivector.hxx
+++ b/basegfx/inc/basegfx/vector/b2ivector.hxx
@@ -30,6 +30,7 @@
#include <basegfx/tuple/b2ituple.hxx>
#include <basegfx/vector/b2enums.hxx>
+#include <basegfx/basegfxdllapi.h>
namespace basegfx
{
@@ -44,7 +45,7 @@ namespace basegfx
@see B2ITuple
*/
- class B2IVector : public ::basegfx::B2ITuple
+ class BASEGFX_DLLPUBLIC B2IVector : public ::basegfx::B2ITuple
{
public:
/** Create a 2D Vector
@@ -185,7 +186,7 @@ namespace basegfx
@return
The mathematical Orientation of the two involved 2D Vectors
*/
- B2VectorOrientation getOrientation( const B2IVector& rVecA, const B2IVector& rVecB );
+ BASEGFX_DLLPUBLIC B2VectorOrientation getOrientation( const B2IVector& rVecA, const B2IVector& rVecB );
/** Calculate a perpendicular 2D Vector to the given one
@@ -195,7 +196,7 @@ namespace basegfx
@return
A 2D Vector perpendicular to the one given in parameter rVec
*/
- B2IVector getPerpendicular( const B2IVector& rVec );
+ BASEGFX_DLLPUBLIC B2IVector getPerpendicular( const B2IVector& rVec );
/** Test two vectors which need not to be normalized for parallelism
@@ -209,21 +210,21 @@ namespace basegfx
bool if the two values are parallel. Also true if
one of the vectors is empty.
*/
- bool areParallel( const B2IVector& rVecA, const B2IVector& rVecB );
+ BASEGFX_DLLPUBLIC bool areParallel( const B2IVector& rVecA, const B2IVector& rVecB );
/** Transform vector by given transformation matrix.
Since this is a vector, translational components of the
matrix are disregarded.
*/
- B2IVector operator*( const B2DHomMatrix& rMat, const B2IVector& rVec );
+ BASEGFX_DLLPUBLIC B2IVector operator*( const B2DHomMatrix& rMat, const B2IVector& rVec );
/** Test continuity between given vectors.
The two given vectors are assumed to describe control points on a
common point. Calculate if there is a continuity between them.
*/
- B2VectorContinuity getContinuity( const B2IVector& rBackVector, const B2IVector& rForwardVector );
+ BASEGFX_DLLPUBLIC B2VectorContinuity getContinuity( const B2IVector& rBackVector, const B2IVector& rForwardVector );
} // end of namespace basegfx
diff --git a/basegfx/inc/basegfx/vector/b3dvector.hxx b/basegfx/inc/basegfx/vector/b3dvector.hxx
index c4c329881170..790343c14032 100644
--- a/basegfx/inc/basegfx/vector/b3dvector.hxx
+++ b/basegfx/inc/basegfx/vector/b3dvector.hxx
@@ -29,6 +29,7 @@
#define _BGFX_VECTOR_B3DVECTOR_HXX
#include <basegfx/tuple/b3dtuple.hxx>
+#include <basegfx/basegfxdllapi.h>
//////////////////////////////////////////////////////////////////////////////
@@ -45,7 +46,7 @@ namespace basegfx
@see B3DTuple
*/
- class B3DVector : public ::basegfx::B3DTuple
+ class BASEGFX_DLLPUBLIC B3DVector : public ::basegfx::B3DTuple
{
public:
/** Create a 3D Vector
@@ -305,14 +306,14 @@ namespace basegfx
bool if the two values are parallel. Also true if
one of the vectors is empty.
*/
- bool areParallel( const B3DVector& rVecA, const B3DVector& rVecB );
+ BASEGFX_DLLPUBLIC bool areParallel( const B3DVector& rVecA, const B3DVector& rVecB );
/** Transform vector by given transformation matrix.
Since this is a vector, translational components of the
matrix are disregarded.
*/
- B3DVector operator*( const B3DHomMatrix& rMat, const B3DVector& rVec );
+ BASEGFX_DLLPUBLIC B3DVector operator*( const B3DHomMatrix& rMat, const B3DVector& rVec );
/** Calculate the Cross Product of two 3D Vectors
diff --git a/basegfx/inc/basegfx/vector/b3ivector.hxx b/basegfx/inc/basegfx/vector/b3ivector.hxx
index b4900989cc06..367da44ac3e9 100644
--- a/basegfx/inc/basegfx/vector/b3ivector.hxx
+++ b/basegfx/inc/basegfx/vector/b3ivector.hxx
@@ -29,6 +29,7 @@
#define _BGFX_VECTOR_B3IVECTOR_HXX
#include <basegfx/tuple/b3ituple.hxx>
+#include <basegfx/basegfxdllapi.h>
namespace basegfx
{
@@ -43,7 +44,7 @@ namespace basegfx
@see B3ITuple
*/
- class B3IVector : public ::basegfx::B3ITuple
+ class BASEGFX_DLLPUBLIC B3IVector : public ::basegfx::B3ITuple
{
public:
/** Create a 3D Vector
@@ -233,7 +234,7 @@ namespace basegfx
Since this is a vector, translational components of the
matrix are disregarded.
*/
- B3IVector operator*( const B3DHomMatrix& rMat, const B3IVector& rVec );
+ BASEGFX_DLLPUBLIC B3IVector operator*( const B3DHomMatrix& rMat, const B3IVector& rVec );
/** Calculate the Cross Product of two 3D Vectors