diff options
Diffstat (limited to 'chart2/source/inc/BaseGFXHelper.hxx')
-rw-r--r-- | chart2/source/inc/BaseGFXHelper.hxx | 28 |
1 files changed, 17 insertions, 11 deletions
diff --git a/chart2/source/inc/BaseGFXHelper.hxx b/chart2/source/inc/BaseGFXHelper.hxx index b61aadc6aa4f..3544f5678462 100644 --- a/chart2/source/inc/BaseGFXHelper.hxx +++ b/chart2/source/inc/BaseGFXHelper.hxx @@ -45,55 +45,61 @@ #include <com/sun/star/drawing/Direction3D.hpp> #include <com/sun/star/drawing/Position3D.hpp> #include <com/sun/star/drawing/PolyPolygonShape3D.hpp> +#include "charttoolsdllapi.hxx" namespace chart { namespace BaseGFXHelper { -::basegfx::B3DRange getBoundVolume( const ::com::sun::star::drawing::PolyPolygonShape3D& rPolyPoly ); +OOO_DLLPUBLIC_CHARTTOOLS ::basegfx::B3DRange getBoundVolume( const ::com::sun::star::drawing::PolyPolygonShape3D& rPolyPoly ); -::basegfx::B2IRectangle makeRectangle( +OOO_DLLPUBLIC_CHARTTOOLS ::basegfx::B2IRectangle makeRectangle( const com::sun::star::awt::Point& rPosition, const com::sun::star::awt::Size& rSize ); -com::sun::star::awt::Point B2IRectangleToAWTPoint( +OOO_DLLPUBLIC_CHARTTOOLS com::sun::star::awt::Point B2IRectangleToAWTPoint( const ::basegfx::B2IRectangle& rB2IRectangle ); -com::sun::star::awt::Size B2IRectangleToAWTSize( +OOO_DLLPUBLIC_CHARTTOOLS com::sun::star::awt::Size B2IRectangleToAWTSize( const ::basegfx::B2IRectangle& rB2IRectangle ); +OOO_DLLPUBLIC_CHARTTOOLS com::sun::star::awt::Rectangle B2IRectangleToAWTRectangle( const ::basegfx::B2IRectangle& rB2IRectangle ); -::basegfx::B3DVector Direction3DToB3DVector( +OOO_DLLPUBLIC_CHARTTOOLS ::basegfx::B3DVector Direction3DToB3DVector( const com::sun::star::drawing::Direction3D& rDirection ); +OOO_DLLPUBLIC_CHARTTOOLS com::sun::star::drawing::Direction3D B3DVectorToDirection3D( const ::basegfx::B3DVector& rB3DVector ); -::basegfx::B3DVector Position3DToB3DVector( +OOO_DLLPUBLIC_CHARTTOOLS ::basegfx::B3DVector Position3DToB3DVector( const com::sun::star::drawing::Position3D& rPosition ); +OOO_DLLPUBLIC_CHARTTOOLS com::sun::star::drawing::Position3D B3DVectorToPosition3D( const ::basegfx::B3DVector& rB3DVector ); -::basegfx::B3DHomMatrix HomogenMatrixToB3DHomMatrix( +OOO_DLLPUBLIC_CHARTTOOLS ::basegfx::B3DHomMatrix HomogenMatrixToB3DHomMatrix( const ::com::sun::star::drawing::HomogenMatrix & rHomogenMatrix ); +OOO_DLLPUBLIC_CHARTTOOLS ::com::sun::star::drawing::HomogenMatrix B3DHomMatrixToHomogenMatrix( const ::basegfx::B3DHomMatrix & rB3DMatrix ); -::basegfx::B3DTuple GetRotationFromMatrix( +OOO_DLLPUBLIC_CHARTTOOLS ::basegfx::B3DTuple GetRotationFromMatrix( const ::basegfx::B3DHomMatrix & rB3DMatrix ); -::basegfx::B3DTuple GetScaleFromMatrix( +OOO_DLLPUBLIC_CHARTTOOLS ::basegfx::B3DTuple GetScaleFromMatrix( const ::basegfx::B3DHomMatrix & rB3DMatrix ); +OOO_DLLPUBLIC_CHARTTOOLS void ReduceToRotationMatrix( ::basegfx::B3DHomMatrix & rB3DMatrix ); -double Deg2Rad( double fDegrees ); -double Rad2Deg( double fRadians ); +OOO_DLLPUBLIC_CHARTTOOLS double Deg2Rad( double fDegrees ); +OOO_DLLPUBLIC_CHARTTOOLS double Rad2Deg( double fRadians ); } // namespace BaseGFXHelper } // namespace chart |