You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openoffice.apache.org by ar...@apache.org on 2012/11/14 23:52:58 UTC
svn commit: r1409504 [3/3] - in /incubator/ooo/branches/gbuild/main:
basebmp/inc/basebmp/ basegfx/ basegfx/inc/basegfx/
basegfx/inc/basegfx/color/ basegfx/inc/basegfx/curve/
basegfx/inc/basegfx/matrix/ basegfx/inc/basegfx/numeric/
basegfx/inc/basegfx/p...
Modified: incubator/ooo/branches/gbuild/main/basegfx/inc/basegfx/raster/rasterconvert3d.hxx
URL: http://svn.apache.org/viewvc/incubator/ooo/branches/gbuild/main/basegfx/inc/basegfx/raster/rasterconvert3d.hxx?rev=1409504&r1=1409503&r2=1409504&view=diff
==============================================================================
--- incubator/ooo/branches/gbuild/main/basegfx/inc/basegfx/raster/rasterconvert3d.hxx (original)
+++ incubator/ooo/branches/gbuild/main/basegfx/inc/basegfx/raster/rasterconvert3d.hxx Wed Nov 14 22:52:53 2012
@@ -30,6 +30,7 @@
#include <basegfx/vector/b3dvector.hxx>
#include <basegfx/point/b2dpoint.hxx>
#include <basegfx/vector/b2dvector.hxx>
+#include <basegfx/basegfxdllapi.h>
//////////////////////////////////////////////////////////////////////////////
// predeclarations
@@ -45,7 +46,7 @@ namespace basegfx
namespace basegfx
{
- class ip_single
+ class BASEGFX_DLLPUBLIC ip_single
{
private:
double mfVal;
@@ -71,7 +72,7 @@ namespace basegfx
namespace basegfx
{
- class ip_double
+ class BASEGFX_DLLPUBLIC ip_double
{
private:
ip_single maX;
@@ -97,7 +98,7 @@ namespace basegfx
namespace basegfx
{
- class ip_triple
+ class BASEGFX_DLLPUBLIC ip_triple
{
private:
ip_single maX;
@@ -133,7 +134,7 @@ namespace basegfx
{
#define SCANLINE_EMPTY_INDEX (0xffffffff)
- class InterpolatorProvider3D
+ class BASEGFX_DLLPUBLIC InterpolatorProvider3D
{
private:
::std::vector< ip_triple > maColorInterpolators;
@@ -315,7 +316,7 @@ namespace basegfx
namespace basegfx
{
- class RasterConversionLineEntry3D
+ class BASEGFX_DLLPUBLIC RasterConversionLineEntry3D
{
private:
ip_single maX;
@@ -413,7 +414,7 @@ namespace basegfx
namespace basegfx
{
- class RasterConverter3D : public InterpolatorProvider3D
+ class BASEGFX_DLLPUBLIC RasterConverter3D : public InterpolatorProvider3D
{
private:
// the line entries for an area conversion run
Modified: incubator/ooo/branches/gbuild/main/basegfx/inc/basegfx/tools/b2dclipstate.hxx
URL: http://svn.apache.org/viewvc/incubator/ooo/branches/gbuild/main/basegfx/inc/basegfx/tools/b2dclipstate.hxx?rev=1409504&r1=1409503&r2=1409504&view=diff
==============================================================================
--- incubator/ooo/branches/gbuild/main/basegfx/inc/basegfx/tools/b2dclipstate.hxx (original)
+++ incubator/ooo/branches/gbuild/main/basegfx/inc/basegfx/tools/b2dclipstate.hxx Wed Nov 14 22:52:53 2012
@@ -26,6 +26,7 @@
#include <sal/types.h>
#include <o3tl/cow_wrapper.hxx>
+#include <basegfx/basegfxdllapi.h>
//////////////////////////////////////////////////////////////////////////////
@@ -50,7 +51,7 @@ namespace basegfx
a clip representation is requested, and using faster code
paths for common special cases (like all-rectangle clips)
*/
- class B2DClipState
+ class BASEGFX_DLLPUBLIC B2DClipState
{
public:
typedef o3tl::cow_wrapper< ImplB2DClipState > ImplType;
Modified: incubator/ooo/branches/gbuild/main/basegfx/inc/basegfx/tools/canvastools.hxx
URL: http://svn.apache.org/viewvc/incubator/ooo/branches/gbuild/main/basegfx/inc/basegfx/tools/canvastools.hxx?rev=1409504&r1=1409503&r2=1409504&view=diff
==============================================================================
--- incubator/ooo/branches/gbuild/main/basegfx/inc/basegfx/tools/canvastools.hxx (original)
+++ incubator/ooo/branches/gbuild/main/basegfx/inc/basegfx/tools/canvastools.hxx Wed Nov 14 22:52:53 2012
@@ -26,6 +26,7 @@
#include <com/sun/star/uno/Reference.hxx>
#include <com/sun/star/uno/Sequence.hxx>
+#include <basegfx/basegfxdllapi.h>
namespace com { namespace sun { namespace star { namespace geometry
@@ -75,118 +76,118 @@ namespace basegfx
// Polygon conversions
// ===================================================================
- ::com::sun::star::uno::Reference< ::com::sun::star::rendering::XPolyPolygon2D >
+ BASEGFX_DLLPUBLIC ::com::sun::star::uno::Reference< ::com::sun::star::rendering::XPolyPolygon2D >
xPolyPolygonFromB2DPolygon( const ::com::sun::star::uno::Reference<
::com::sun::star::rendering::XGraphicDevice >& xGraphicDevice,
const ::basegfx::B2DPolygon& rPoly );
- ::com::sun::star::uno::Reference< ::com::sun::star::rendering::XPolyPolygon2D >
+ BASEGFX_DLLPUBLIC ::com::sun::star::uno::Reference< ::com::sun::star::rendering::XPolyPolygon2D >
xPolyPolygonFromB2DPolyPolygon( const ::com::sun::star::uno::Reference<
::com::sun::star::rendering::XGraphicDevice >& xGraphicDevice,
const ::basegfx::B2DPolyPolygon& rPolyPoly );
- ::com::sun::star::uno::Sequence<
+ BASEGFX_DLLPUBLIC ::com::sun::star::uno::Sequence<
::com::sun::star::uno::Sequence<
::com::sun::star::geometry::RealBezierSegment2D > >
bezierSequenceSequenceFromB2DPolyPolygon( const ::basegfx::B2DPolyPolygon& rPolyPoly );
- ::com::sun::star::uno::Sequence<
+ BASEGFX_DLLPUBLIC ::com::sun::star::uno::Sequence<
::com::sun::star::uno::Sequence<
::com::sun::star::geometry::RealPoint2D > >
pointSequenceSequenceFromB2DPolyPolygon( const ::basegfx::B2DPolyPolygon& rPolyPoly );
- ::basegfx::B2DPolygon polygonFromPoint2DSequence(
+ BASEGFX_DLLPUBLIC ::basegfx::B2DPolygon polygonFromPoint2DSequence(
const ::com::sun::star::uno::Sequence<
::com::sun::star::geometry::RealPoint2D >& rPoints );
- ::basegfx::B2DPolyPolygon polyPolygonFromPoint2DSequenceSequence(
+ BASEGFX_DLLPUBLIC ::basegfx::B2DPolyPolygon polyPolygonFromPoint2DSequenceSequence(
const ::com::sun::star::uno::Sequence<
::com::sun::star::uno::Sequence< ::com::sun::star::geometry::RealPoint2D > >& rPoints );
- ::basegfx::B2DPolygon polygonFromBezier2DSequence(
+ BASEGFX_DLLPUBLIC ::basegfx::B2DPolygon polygonFromBezier2DSequence(
const ::com::sun::star::uno::Sequence<
::com::sun::star::geometry::RealBezierSegment2D >& rPoints );
- ::basegfx::B2DPolyPolygon polyPolygonFromBezier2DSequenceSequence(
+ BASEGFX_DLLPUBLIC ::basegfx::B2DPolyPolygon polyPolygonFromBezier2DSequenceSequence(
const ::com::sun::star::uno::Sequence<
::com::sun::star::uno::Sequence< ::com::sun::star::geometry::RealBezierSegment2D > >& rPoints );
- ::basegfx::B2DPolyPolygon b2DPolyPolygonFromXPolyPolygon2D(
+ BASEGFX_DLLPUBLIC ::basegfx::B2DPolyPolygon b2DPolyPolygonFromXPolyPolygon2D(
const ::com::sun::star::uno::Reference<
::com::sun::star::rendering::XPolyPolygon2D >& rPoly );
// Matrix conversions
// ===================================================================
- ::com::sun::star::geometry::AffineMatrix2D&
+ BASEGFX_DLLPUBLIC ::com::sun::star::geometry::AffineMatrix2D&
affineMatrixFromHomMatrix( ::com::sun::star::geometry::AffineMatrix2D& matrix,
const ::basegfx::B2DHomMatrix& transform);
- ::com::sun::star::geometry::AffineMatrix3D& affineMatrixFromHomMatrix3D(
+ BASEGFX_DLLPUBLIC ::com::sun::star::geometry::AffineMatrix3D& affineMatrixFromHomMatrix3D(
::com::sun::star::geometry::AffineMatrix3D& matrix,
const ::basegfx::B3DHomMatrix& transform);
- ::basegfx::B2DHomMatrix&
+ BASEGFX_DLLPUBLIC ::basegfx::B2DHomMatrix&
homMatrixFromAffineMatrix( ::basegfx::B2DHomMatrix& transform,
const ::com::sun::star::geometry::AffineMatrix2D& matrix );
- ::basegfx::B2DHomMatrix homMatrixFromAffineMatrix( const ::com::sun::star::geometry::AffineMatrix2D& matrix );
- ::basegfx::B3DHomMatrix homMatrixFromAffineMatrix3D( const ::com::sun::star::geometry::AffineMatrix3D& matrix );
+ BASEGFX_DLLPUBLIC ::basegfx::B2DHomMatrix homMatrixFromAffineMatrix( const ::com::sun::star::geometry::AffineMatrix2D& matrix );
+ BASEGFX_DLLPUBLIC ::basegfx::B3DHomMatrix homMatrixFromAffineMatrix3D( const ::com::sun::star::geometry::AffineMatrix3D& matrix );
- ::com::sun::star::geometry::Matrix2D&
+ BASEGFX_DLLPUBLIC ::com::sun::star::geometry::Matrix2D&
matrixFromHomMatrix( ::com::sun::star::geometry::Matrix2D& matrix,
const ::basegfx::B2DHomMatrix& transform);
- ::basegfx::B2DHomMatrix&
+ BASEGFX_DLLPUBLIC ::basegfx::B2DHomMatrix&
homMatrixFromMatrix( ::basegfx::B2DHomMatrix& transform,
const ::com::sun::star::geometry::Matrix2D& matrix );
// Geometry conversions
// ===================================================================
- ::com::sun::star::geometry::RealSize2D size2DFromB2DSize( const ::basegfx::B2DVector& );
- ::com::sun::star::geometry::RealPoint2D point2DFromB2DPoint( const ::basegfx::B2DPoint& );
- ::com::sun::star::geometry::RealRectangle2D rectangle2DFromB2DRectangle( const ::basegfx::B2DRange& );
- ::com::sun::star::geometry::RealRectangle3D rectangle3DFromB3DRectangle( const ::basegfx::B3DRange& );
-
- ::basegfx::B2DVector b2DSizeFromRealSize2D( const ::com::sun::star::geometry::RealSize2D& );
- ::basegfx::B2DPoint b2DPointFromRealPoint2D( const ::com::sun::star::geometry::RealPoint2D& );
- ::basegfx::B2DRange b2DRectangleFromRealRectangle2D( const ::com::sun::star::geometry::RealRectangle2D& );
- ::basegfx::B3DRange b3DRectangleFromRealRectangle3D( const ::com::sun::star::geometry::RealRectangle3D& );
-
- ::com::sun::star::geometry::IntegerSize2D integerSize2DFromB2ISize( const ::basegfx::B2IVector& );
- ::com::sun::star::geometry::IntegerPoint2D integerPoint2DFromB2IPoint( const ::basegfx::B2IPoint& );
- ::com::sun::star::geometry::IntegerRectangle2D integerRectangle2DFromB2IRectangle( const ::basegfx::B2IRange& );
-
- ::basegfx::B2IVector b2ISizeFromIntegerSize2D( const ::com::sun::star::geometry::IntegerSize2D& );
- ::basegfx::B2IPoint b2IPointFromIntegerPoint2D( const ::com::sun::star::geometry::IntegerPoint2D& );
- ::basegfx::B2IRange b2IRectangleFromIntegerRectangle2D( const ::com::sun::star::geometry::IntegerRectangle2D& );
+ BASEGFX_DLLPUBLIC ::com::sun::star::geometry::RealSize2D size2DFromB2DSize( const ::basegfx::B2DVector& );
+ BASEGFX_DLLPUBLIC ::com::sun::star::geometry::RealPoint2D point2DFromB2DPoint( const ::basegfx::B2DPoint& );
+ BASEGFX_DLLPUBLIC ::com::sun::star::geometry::RealRectangle2D rectangle2DFromB2DRectangle( const ::basegfx::B2DRange& );
+ BASEGFX_DLLPUBLIC ::com::sun::star::geometry::RealRectangle3D rectangle3DFromB3DRectangle( const ::basegfx::B3DRange& );
+
+ BASEGFX_DLLPUBLIC ::basegfx::B2DVector b2DSizeFromRealSize2D( const ::com::sun::star::geometry::RealSize2D& );
+ BASEGFX_DLLPUBLIC ::basegfx::B2DPoint b2DPointFromRealPoint2D( const ::com::sun::star::geometry::RealPoint2D& );
+ BASEGFX_DLLPUBLIC ::basegfx::B2DRange b2DRectangleFromRealRectangle2D( const ::com::sun::star::geometry::RealRectangle2D& );
+ BASEGFX_DLLPUBLIC ::basegfx::B3DRange b3DRectangleFromRealRectangle3D( const ::com::sun::star::geometry::RealRectangle3D& );
+
+ BASEGFX_DLLPUBLIC ::com::sun::star::geometry::IntegerSize2D integerSize2DFromB2ISize( const ::basegfx::B2IVector& );
+ BASEGFX_DLLPUBLIC ::com::sun::star::geometry::IntegerPoint2D integerPoint2DFromB2IPoint( const ::basegfx::B2IPoint& );
+ BASEGFX_DLLPUBLIC ::com::sun::star::geometry::IntegerRectangle2D integerRectangle2DFromB2IRectangle( const ::basegfx::B2IRange& );
+
+ BASEGFX_DLLPUBLIC ::basegfx::B2IVector b2ISizeFromIntegerSize2D( const ::com::sun::star::geometry::IntegerSize2D& );
+ BASEGFX_DLLPUBLIC ::basegfx::B2IPoint b2IPointFromIntegerPoint2D( const ::com::sun::star::geometry::IntegerPoint2D& );
+ BASEGFX_DLLPUBLIC ::basegfx::B2IRange b2IRectangleFromIntegerRectangle2D( const ::com::sun::star::geometry::IntegerRectangle2D& );
- ::com::sun::star::awt::Size awtSizeFromB2ISize( const ::basegfx::B2IVector& );
- ::com::sun::star::awt::Point awtPointFromB2IPoint( const ::basegfx::B2IPoint& );
- ::com::sun::star::awt::Rectangle awtRectangleFromB2IRectangle( const ::basegfx::B2IRange& );
-
- ::basegfx::B2IVector b2ISizeFromAwtSize( const ::com::sun::star::awt::Size& );
- ::basegfx::B2IPoint b2IPointFromAwtPoint( const ::com::sun::star::awt::Point& );
- ::basegfx::B2IRange b2IRectangleFromAwtRectangle( const ::com::sun::star::awt::Rectangle& );
+ BASEGFX_DLLPUBLIC ::com::sun::star::awt::Size awtSizeFromB2ISize( const ::basegfx::B2IVector& );
+ BASEGFX_DLLPUBLIC ::com::sun::star::awt::Point awtPointFromB2IPoint( const ::basegfx::B2IPoint& );
+ BASEGFX_DLLPUBLIC ::com::sun::star::awt::Rectangle awtRectangleFromB2IRectangle( const ::basegfx::B2IRange& );
+
+ BASEGFX_DLLPUBLIC ::basegfx::B2IVector b2ISizeFromAwtSize( const ::com::sun::star::awt::Size& );
+ BASEGFX_DLLPUBLIC ::basegfx::B2IPoint b2IPointFromAwtPoint( const ::com::sun::star::awt::Point& );
+ BASEGFX_DLLPUBLIC ::basegfx::B2IRange b2IRectangleFromAwtRectangle( const ::com::sun::star::awt::Rectangle& );
// Geometry comparisons
// ===================================================================
- bool RealSize2DAreEqual( const ::com::sun::star::geometry::RealSize2D& rA, const ::com::sun::star::geometry::RealSize2D& rB );
- bool RealPoint2DAreEqual( const ::com::sun::star::geometry::RealPoint2D& rA, const ::com::sun::star::geometry::RealPoint2D& rB );
- bool RealRectangle2DAreEqual( const ::com::sun::star::geometry::RealRectangle2D& rA, const ::com::sun::star::geometry::RealRectangle2D& rB );
- bool RealRectangle3DAreEqual( const ::com::sun::star::geometry::RealRectangle3D& rA, const ::com::sun::star::geometry::RealRectangle3D& rB );
- bool AffineMatrix2DAreEqual( const ::com::sun::star::geometry::AffineMatrix2D& rA, const ::com::sun::star::geometry::AffineMatrix2D& rB );
-
- bool IntegerSize2DAreEqual( const ::com::sun::star::geometry::IntegerSize2D& rA, const ::com::sun::star::geometry::IntegerSize2D& rB );
- bool IntegerPoint2DAreEqual( const ::com::sun::star::geometry::IntegerPoint2D& rA, const ::com::sun::star::geometry::IntegerPoint2D& rB );
- bool IntegerRectangle2DAreEqual( const ::com::sun::star::geometry::IntegerRectangle2D& rA, const ::com::sun::star::geometry::IntegerRectangle2D& rB );
-
- bool awtSizeAreEqual( const ::com::sun::star::awt::Size& rA, const ::com::sun::star::awt::Size& rB );
- bool awtPointAreEqual( const ::com::sun::star::awt::Point& rA, const ::com::sun::star::awt::Point& rB );
- bool awtRectangleAreEqual( const ::com::sun::star::awt::Rectangle& rA, const ::com::sun::star::awt::Rectangle& rB );
+ BASEGFX_DLLPUBLIC bool RealSize2DAreEqual( const ::com::sun::star::geometry::RealSize2D& rA, const ::com::sun::star::geometry::RealSize2D& rB );
+ BASEGFX_DLLPUBLIC bool RealPoint2DAreEqual( const ::com::sun::star::geometry::RealPoint2D& rA, const ::com::sun::star::geometry::RealPoint2D& rB );
+ BASEGFX_DLLPUBLIC bool RealRectangle2DAreEqual( const ::com::sun::star::geometry::RealRectangle2D& rA, const ::com::sun::star::geometry::RealRectangle2D& rB );
+ BASEGFX_DLLPUBLIC bool RealRectangle3DAreEqual( const ::com::sun::star::geometry::RealRectangle3D& rA, const ::com::sun::star::geometry::RealRectangle3D& rB );
+ BASEGFX_DLLPUBLIC bool AffineMatrix2DAreEqual( const ::com::sun::star::geometry::AffineMatrix2D& rA, const ::com::sun::star::geometry::AffineMatrix2D& rB );
+
+ BASEGFX_DLLPUBLIC bool IntegerSize2DAreEqual( const ::com::sun::star::geometry::IntegerSize2D& rA, const ::com::sun::star::geometry::IntegerSize2D& rB );
+ BASEGFX_DLLPUBLIC bool IntegerPoint2DAreEqual( const ::com::sun::star::geometry::IntegerPoint2D& rA, const ::com::sun::star::geometry::IntegerPoint2D& rB );
+ BASEGFX_DLLPUBLIC bool IntegerRectangle2DAreEqual( const ::com::sun::star::geometry::IntegerRectangle2D& rA, const ::com::sun::star::geometry::IntegerRectangle2D& rB );
+
+ BASEGFX_DLLPUBLIC bool awtSizeAreEqual( const ::com::sun::star::awt::Size& rA, const ::com::sun::star::awt::Size& rB );
+ BASEGFX_DLLPUBLIC bool awtPointAreEqual( const ::com::sun::star::awt::Point& rA, const ::com::sun::star::awt::Point& rB );
+ BASEGFX_DLLPUBLIC bool awtRectangleAreEqual( const ::com::sun::star::awt::Rectangle& rA, const ::com::sun::star::awt::Rectangle& rB );
/** Return smalltest integer range, which completely contains
given floating point range.
@@ -198,7 +199,7 @@ namespace basegfx
@return the closest integer range, which completely
contains rRange.
*/
- ::basegfx::B2IRange b2ISurroundingRangeFromB2DRange( const ::basegfx::B2DRange& rRange );
+ BASEGFX_DLLPUBLIC ::basegfx::B2IRange b2ISurroundingRangeFromB2DRange( const ::basegfx::B2DRange& rRange );
/** Return smalltest B2DRange with integer values, which
completely contains given floating point range.
@@ -209,7 +210,7 @@ namespace basegfx
@return the closest B2DRange with integer coordinates,
which completely contains rRange.
*/
- ::basegfx::B2DRange b2DSurroundingIntegerRangeFromB2DRange( const ::basegfx::B2DRange& rRange );
+ BASEGFX_DLLPUBLIC ::basegfx::B2DRange b2DSurroundingIntegerRangeFromB2DRange( const ::basegfx::B2DRange& rRange );
}
}
Modified: incubator/ooo/branches/gbuild/main/basegfx/inc/basegfx/tools/debugplotter.hxx
URL: http://svn.apache.org/viewvc/incubator/ooo/branches/gbuild/main/basegfx/inc/basegfx/tools/debugplotter.hxx?rev=1409504&r1=1409503&r2=1409504&view=diff
==============================================================================
--- incubator/ooo/branches/gbuild/main/basegfx/inc/basegfx/tools/debugplotter.hxx (original)
+++ incubator/ooo/branches/gbuild/main/basegfx/inc/basegfx/tools/debugplotter.hxx Wed Nov 14 22:52:53 2012
@@ -34,6 +34,7 @@
#include <vector>
#include <utility>
#include <iostream>
+#include <basegfx/basegfxdllapi.h>
namespace basegfx
@@ -50,7 +51,7 @@ namespace basegfx
To be able to generate one coherent block of output, this
class delays actual writing to its destructor
*/
- class DebugPlotter : private ::boost::noncopyable
+ class BASEGFX_DLLPUBLIC DebugPlotter : private ::boost::noncopyable
{
public:
/** Create new debug output object
Modified: incubator/ooo/branches/gbuild/main/basegfx/inc/basegfx/tools/gradienttools.hxx
URL: http://svn.apache.org/viewvc/incubator/ooo/branches/gbuild/main/basegfx/inc/basegfx/tools/gradienttools.hxx?rev=1409504&r1=1409503&r2=1409504&view=diff
==============================================================================
--- incubator/ooo/branches/gbuild/main/basegfx/inc/basegfx/tools/gradienttools.hxx (original)
+++ incubator/ooo/branches/gbuild/main/basegfx/inc/basegfx/tools/gradienttools.hxx Wed Nov 14 22:52:53 2012
@@ -29,6 +29,7 @@
#include <basegfx/vector/b2dvector.hxx>
#include <basegfx/matrix/b2dhommatrix.hxx>
#include <basegfx/numeric/ftools.hxx>
+#include <basegfx/basegfxdllapi.h>
#include <vector>
#include <algorithm>
Modified: incubator/ooo/branches/gbuild/main/basegfx/inc/basegfx/tools/keystoplerp.hxx
URL: http://svn.apache.org/viewvc/incubator/ooo/branches/gbuild/main/basegfx/inc/basegfx/tools/keystoplerp.hxx?rev=1409504&r1=1409503&r2=1409504&view=diff
==============================================================================
--- incubator/ooo/branches/gbuild/main/basegfx/inc/basegfx/tools/keystoplerp.hxx (original)
+++ incubator/ooo/branches/gbuild/main/basegfx/inc/basegfx/tools/keystoplerp.hxx Wed Nov 14 22:52:53 2012
@@ -26,6 +26,7 @@
#include <basegfx/numeric/ftools.hxx>
#include <vector>
+#include <basegfx/basegfxdllapi.h>
namespace com{ namespace sun{ namespace star{ namespace uno {
template<typename T> class Sequence;
@@ -46,7 +47,7 @@ namespace basegfx
then calculate the relative alpha between the two buckets
found.
*/
- class KeyStopLerp
+ class BASEGFX_DLLPUBLIC KeyStopLerp
{
public:
typedef std::pair<std::ptrdiff_t,double> ResultType;
Modified: incubator/ooo/branches/gbuild/main/basegfx/inc/basegfx/tools/tools.hxx
URL: http://svn.apache.org/viewvc/incubator/ooo/branches/gbuild/main/basegfx/inc/basegfx/tools/tools.hxx?rev=1409504&r1=1409503&r2=1409504&view=diff
==============================================================================
--- incubator/ooo/branches/gbuild/main/basegfx/inc/basegfx/tools/tools.hxx (original)
+++ incubator/ooo/branches/gbuild/main/basegfx/inc/basegfx/tools/tools.hxx Wed Nov 14 22:52:53 2012
@@ -25,6 +25,7 @@
#define _BGFX_TOOLS_TOOLS_HXX
#include <sal/types.h>
+#include <basegfx/basegfxdllapi.h>
namespace basegfx
{
@@ -53,7 +54,7 @@ namespace basegfx
@return true, when at least part of the line is visible
after the clip, false otherwise
*/
- bool liangBarskyClip2D( ::basegfx::B2DPoint& io_rStart,
+ BASEGFX_DLLPUBLIC bool liangBarskyClip2D( ::basegfx::B2DPoint& io_rStart,
::basegfx::B2DPoint& io_rEnd,
const ::basegfx::B2DRange& rClipRect );
@@ -115,7 +116,7 @@ namespace basegfx
@param rFitTarget
The rectangle to fit the parallelogram into.
*/
- void infiniteLineFromParallelogram( ::basegfx::B2DPoint& io_rLeftTop,
+ BASEGFX_DLLPUBLIC void infiniteLineFromParallelogram( ::basegfx::B2DPoint& io_rLeftTop,
::basegfx::B2DPoint& io_rLeftBottom,
::basegfx::B2DPoint& io_rRightTop,
::basegfx::B2DPoint& io_rRightBottom,
Modified: incubator/ooo/branches/gbuild/main/basegfx/inc/basegfx/tools/unopolypolygon.hxx
URL: http://svn.apache.org/viewvc/incubator/ooo/branches/gbuild/main/basegfx/inc/basegfx/tools/unopolypolygon.hxx?rev=1409504&r1=1409503&r2=1409504&view=diff
==============================================================================
--- incubator/ooo/branches/gbuild/main/basegfx/inc/basegfx/tools/unopolypolygon.hxx (original)
+++ incubator/ooo/branches/gbuild/main/basegfx/inc/basegfx/tools/unopolypolygon.hxx Wed Nov 14 22:52:53 2012
@@ -31,6 +31,7 @@
#include <com/sun/star/rendering/XLinePolyPolygon2D.hpp>
#include <com/sun/star/rendering/XBezierPolyPolygon2D.hpp>
#include <basegfx/polygon/b2dpolypolygon.hxx>
+#include <basegfx/basegfxdllapi.h>
namespace basegfx
@@ -42,7 +43,7 @@ namespace unotools
::com::sun::star::rendering::XBezierPolyPolygon2D,
::com::sun::star::lang::XServiceInfo > UnoPolyPolygonBase;
- class UnoPolyPolygon : private cppu::BaseMutex,
+ class BASEGFX_DLLPUBLIC UnoPolyPolygon : private cppu::BaseMutex,
public UnoPolyPolygonBase
{
public:
Modified: incubator/ooo/branches/gbuild/main/basegfx/inc/basegfx/tuple/b2dtuple.hxx
URL: http://svn.apache.org/viewvc/incubator/ooo/branches/gbuild/main/basegfx/inc/basegfx/tuple/b2dtuple.hxx?rev=1409504&r1=1409503&r2=1409504&view=diff
==============================================================================
--- incubator/ooo/branches/gbuild/main/basegfx/inc/basegfx/tuple/b2dtuple.hxx (original)
+++ incubator/ooo/branches/gbuild/main/basegfx/inc/basegfx/tuple/b2dtuple.hxx Wed Nov 14 22:52:53 2012
@@ -43,7 +43,7 @@ namespace basegfx
@derive Use this class to implement Points or Vectors
which are based on two double values
*/
- class B2DTuple
+ class BASEGFX_DLLPUBLIC B2DTuple
{
protected:
double mfX;
@@ -362,7 +362,7 @@ namespace basegfx
@return the nearest integer for this tuple
*/
- B2ITuple fround(const B2DTuple& rTup);
+ BASEGFX_DLLPUBLIC B2ITuple fround(const B2DTuple& rTup);
} // end of namespace basegfx
#endif /* _BGFX_TUPLE_B2DTUPLE_HXX */
Modified: incubator/ooo/branches/gbuild/main/basegfx/inc/basegfx/tuple/b2i64tuple.hxx
URL: http://svn.apache.org/viewvc/incubator/ooo/branches/gbuild/main/basegfx/inc/basegfx/tuple/b2i64tuple.hxx?rev=1409504&r1=1409503&r2=1409504&view=diff
==============================================================================
--- incubator/ooo/branches/gbuild/main/basegfx/inc/basegfx/tuple/b2i64tuple.hxx (original)
+++ incubator/ooo/branches/gbuild/main/basegfx/inc/basegfx/tuple/b2i64tuple.hxx Wed Nov 14 22:52:53 2012
@@ -26,6 +26,7 @@
#include <sal/types.h>
#include <basegfx/tuple/b2dtuple.hxx>
+#include <basegfx/basegfxdllapi.h>
namespace basegfx
@@ -38,7 +39,7 @@ namespace basegfx
@derive Use this class to implement Points or Vectors
which are based on two sal_Int64 values
*/
- class B2I64Tuple
+ class BASEGFX_DLLPUBLIC B2I64Tuple
{
protected:
sal_Int64 mnX;
Modified: incubator/ooo/branches/gbuild/main/basegfx/inc/basegfx/tuple/b2ituple.hxx
URL: http://svn.apache.org/viewvc/incubator/ooo/branches/gbuild/main/basegfx/inc/basegfx/tuple/b2ituple.hxx?rev=1409504&r1=1409503&r2=1409504&view=diff
==============================================================================
--- incubator/ooo/branches/gbuild/main/basegfx/inc/basegfx/tuple/b2ituple.hxx (original)
+++ incubator/ooo/branches/gbuild/main/basegfx/inc/basegfx/tuple/b2ituple.hxx Wed Nov 14 22:52:53 2012
@@ -40,7 +40,7 @@ namespace basegfx
@derive Use this class to implement Points or Vectors
which are based on two sal_Int32 values
*/
- class B2ITuple
+ class BASEGFX_DLLPUBLIC B2ITuple
{
protected:
sal_Int32 mnX;
Modified: incubator/ooo/branches/gbuild/main/basegfx/inc/basegfx/tuple/b3dtuple.hxx
URL: http://svn.apache.org/viewvc/incubator/ooo/branches/gbuild/main/basegfx/inc/basegfx/tuple/b3dtuple.hxx?rev=1409504&r1=1409503&r2=1409504&view=diff
==============================================================================
--- incubator/ooo/branches/gbuild/main/basegfx/inc/basegfx/tuple/b3dtuple.hxx (original)
+++ incubator/ooo/branches/gbuild/main/basegfx/inc/basegfx/tuple/b3dtuple.hxx Wed Nov 14 22:52:53 2012
@@ -43,7 +43,7 @@ namespace basegfx
@derive Use this class to implement Points or Vectors
which are based on three double values
*/
- class B3DTuple
+ class BASEGFX_DLLPUBLIC B3DTuple
{
protected:
double mfX;
@@ -436,7 +436,7 @@ namespace basegfx
@return the nearest integer for this tuple
*/
- B3ITuple fround(const B3DTuple& rTup);
+ BASEGFX_DLLPUBLIC B3ITuple fround(const B3DTuple& rTup);
} // end of namespace basegfx
#endif /* _BGFX_TUPLE_B3DTUPLE_HXX */
Modified: incubator/ooo/branches/gbuild/main/basegfx/inc/basegfx/tuple/b3i64tuple.hxx
URL: http://svn.apache.org/viewvc/incubator/ooo/branches/gbuild/main/basegfx/inc/basegfx/tuple/b3i64tuple.hxx?rev=1409504&r1=1409503&r2=1409504&view=diff
==============================================================================
--- incubator/ooo/branches/gbuild/main/basegfx/inc/basegfx/tuple/b3i64tuple.hxx (original)
+++ incubator/ooo/branches/gbuild/main/basegfx/inc/basegfx/tuple/b3i64tuple.hxx Wed Nov 14 22:52:53 2012
@@ -26,6 +26,7 @@
#include <sal/types.h>
#include <basegfx/tuple/b3dtuple.hxx>
+#include <basegfx/basegfxdllapi.h>
namespace basegfx
@@ -38,7 +39,7 @@ namespace basegfx
@derive Use this class to implement Points or Vectors
which are based on three sal_Int64 values
*/
- class B3I64Tuple
+ class BASEGFX_DLLPUBLIC B3I64Tuple
{
protected:
sal_Int64 mnX;
Modified: incubator/ooo/branches/gbuild/main/basegfx/inc/basegfx/tuple/b3ituple.hxx
URL: http://svn.apache.org/viewvc/incubator/ooo/branches/gbuild/main/basegfx/inc/basegfx/tuple/b3ituple.hxx?rev=1409504&r1=1409503&r2=1409504&view=diff
==============================================================================
--- incubator/ooo/branches/gbuild/main/basegfx/inc/basegfx/tuple/b3ituple.hxx (original)
+++ incubator/ooo/branches/gbuild/main/basegfx/inc/basegfx/tuple/b3ituple.hxx Wed Nov 14 22:52:53 2012
@@ -26,7 +26,7 @@
#include <sal/types.h>
#include <basegfx/tuple/b3dtuple.hxx>
-
+#include <basegfx/basegfxdllapi.h>
namespace basegfx
{
@@ -38,7 +38,7 @@ namespace basegfx
@derive Use this class to implement Points or Vectors
which are based on three sal_Int32 values
*/
- class B3ITuple
+ class BASEGFX_DLLPUBLIC B3ITuple
{
protected:
sal_Int32 mnX;
Modified: incubator/ooo/branches/gbuild/main/basegfx/inc/basegfx/vector/b2dvector.hxx
URL: http://svn.apache.org/viewvc/incubator/ooo/branches/gbuild/main/basegfx/inc/basegfx/vector/b2dvector.hxx?rev=1409504&r1=1409503&r2=1409504&view=diff
==============================================================================
--- incubator/ooo/branches/gbuild/main/basegfx/inc/basegfx/vector/b2dvector.hxx (original)
+++ incubator/ooo/branches/gbuild/main/basegfx/inc/basegfx/vector/b2dvector.hxx Wed Nov 14 22:52:53 2012
@@ -27,6 +27,7 @@
#include <basegfx/tuple/b2dtuple.hxx>
#include <basegfx/vector/b2ivector.hxx>
#include <basegfx/vector/b2enums.hxx>
+#include <basegfx/basegfxdllapi.h>
namespace basegfx
{
@@ -41,7 +42,7 @@ namespace basegfx
@see B2DTuple
*/
- class B2DVector : public ::basegfx::B2DTuple
+ class BASEGFX_DLLPUBLIC B2DVector : public ::basegfx::B2DTuple
{
public:
/** Create a 2D Vector
@@ -205,7 +206,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
@@ -217,7 +218,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
@@ -228,7 +229,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
@@ -242,21 +243,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
Modified: incubator/ooo/branches/gbuild/main/basegfx/inc/basegfx/vector/b2ivector.hxx
URL: http://svn.apache.org/viewvc/incubator/ooo/branches/gbuild/main/basegfx/inc/basegfx/vector/b2ivector.hxx?rev=1409504&r1=1409503&r2=1409504&view=diff
==============================================================================
--- incubator/ooo/branches/gbuild/main/basegfx/inc/basegfx/vector/b2ivector.hxx (original)
+++ incubator/ooo/branches/gbuild/main/basegfx/inc/basegfx/vector/b2ivector.hxx Wed Nov 14 22:52:53 2012
@@ -26,6 +26,7 @@
#include <basegfx/tuple/b2ituple.hxx>
#include <basegfx/vector/b2enums.hxx>
+#include <basegfx/basegfxdllapi.h>
namespace basegfx
{
@@ -40,7 +41,7 @@ namespace basegfx
@see B2ITuple
*/
- class B2IVector : public ::basegfx::B2ITuple
+ class BASEGFX_DLLPUBLIC B2IVector : public ::basegfx::B2ITuple
{
public:
/** Create a 2D Vector
@@ -181,7 +182,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
@@ -191,7 +192,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
@@ -205,21 +206,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
Modified: incubator/ooo/branches/gbuild/main/basegfx/inc/basegfx/vector/b3dvector.hxx
URL: http://svn.apache.org/viewvc/incubator/ooo/branches/gbuild/main/basegfx/inc/basegfx/vector/b3dvector.hxx?rev=1409504&r1=1409503&r2=1409504&view=diff
==============================================================================
--- incubator/ooo/branches/gbuild/main/basegfx/inc/basegfx/vector/b3dvector.hxx (original)
+++ incubator/ooo/branches/gbuild/main/basegfx/inc/basegfx/vector/b3dvector.hxx Wed Nov 14 22:52:53 2012
@@ -25,6 +25,7 @@
#define _BGFX_VECTOR_B3DVECTOR_HXX
#include <basegfx/tuple/b3dtuple.hxx>
+#include <basegfx/basegfxdllapi.h>
//////////////////////////////////////////////////////////////////////////////
@@ -41,7 +42,7 @@ namespace basegfx
@see B3DTuple
*/
- class B3DVector : public ::basegfx::B3DTuple
+ class BASEGFX_DLLPUBLIC B3DVector : public ::basegfx::B3DTuple
{
public:
/** Create a 3D Vector
@@ -301,14 +302,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
Modified: incubator/ooo/branches/gbuild/main/basegfx/inc/basegfx/vector/b3ivector.hxx
URL: http://svn.apache.org/viewvc/incubator/ooo/branches/gbuild/main/basegfx/inc/basegfx/vector/b3ivector.hxx?rev=1409504&r1=1409503&r2=1409504&view=diff
==============================================================================
--- incubator/ooo/branches/gbuild/main/basegfx/inc/basegfx/vector/b3ivector.hxx (original)
+++ incubator/ooo/branches/gbuild/main/basegfx/inc/basegfx/vector/b3ivector.hxx Wed Nov 14 22:52:53 2012
@@ -25,6 +25,7 @@
#define _BGFX_VECTOR_B3IVECTOR_HXX
#include <basegfx/tuple/b3ituple.hxx>
+#include <basegfx/basegfxdllapi.h>
namespace basegfx
{
@@ -39,7 +40,7 @@ namespace basegfx
@see B3ITuple
*/
- class B3IVector : public ::basegfx::B3ITuple
+ class BASEGFX_DLLPUBLIC B3IVector : public ::basegfx::B3ITuple
{
public:
/** Create a 3D Vector
@@ -229,7 +230,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