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 [1/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...
Author: arist
Date: Wed Nov 14 22:52:53 2012
New Revision: 1409504
URL: http://svn.apache.org/viewvc?rev=1409504&view=rev
Log:
gnumake4_017_e8f9d107b59a.patch
# HG changeset patch
# User mba
# Date 1298825065 -3600
# Node ID e8f9d107b59a9af0c1d6641c8597da72c0e167b4
# Parent a0f3dc4a5f5ae4e7fe33511ea3f91d306714c6a4
CWS gnumake4: convert basegfx to new build system
Added:
incubator/ooo/branches/gbuild/main/basegfx/CppunitTest_basegfx.mk
incubator/ooo/branches/gbuild/main/basegfx/Library_basegfx.mk
incubator/ooo/branches/gbuild/main/basegfx/Makefile
incubator/ooo/branches/gbuild/main/basegfx/Module_basegfx.mk
incubator/ooo/branches/gbuild/main/basegfx/Package_inc.mk
incubator/ooo/branches/gbuild/main/basegfx/inc/basegfx/basegfxdllapi.h
Modified:
incubator/ooo/branches/gbuild/main/basebmp/inc/basebmp/bitmapdevice.hxx
incubator/ooo/branches/gbuild/main/basegfx/inc/basegfx/color/bcolor.hxx
incubator/ooo/branches/gbuild/main/basegfx/inc/basegfx/color/bcolormodifier.hxx
incubator/ooo/branches/gbuild/main/basegfx/inc/basegfx/color/bcolortools.hxx
incubator/ooo/branches/gbuild/main/basegfx/inc/basegfx/curve/b2dbeziertools.hxx
incubator/ooo/branches/gbuild/main/basegfx/inc/basegfx/curve/b2dcubicbezier.hxx
incubator/ooo/branches/gbuild/main/basegfx/inc/basegfx/curve/b2dquadraticbezier.hxx
incubator/ooo/branches/gbuild/main/basegfx/inc/basegfx/matrix/b2dhommatrix.hxx
incubator/ooo/branches/gbuild/main/basegfx/inc/basegfx/matrix/b2dhommatrixtools.hxx
incubator/ooo/branches/gbuild/main/basegfx/inc/basegfx/matrix/b3dhommatrix.hxx
incubator/ooo/branches/gbuild/main/basegfx/inc/basegfx/numeric/ftools.hxx
incubator/ooo/branches/gbuild/main/basegfx/inc/basegfx/pixel/bpixel.hxx
incubator/ooo/branches/gbuild/main/basegfx/inc/basegfx/point/b2dhompoint.hxx
incubator/ooo/branches/gbuild/main/basegfx/inc/basegfx/point/b2dpoint.hxx
incubator/ooo/branches/gbuild/main/basegfx/inc/basegfx/point/b2ipoint.hxx
incubator/ooo/branches/gbuild/main/basegfx/inc/basegfx/point/b3dhompoint.hxx
incubator/ooo/branches/gbuild/main/basegfx/inc/basegfx/point/b3dpoint.hxx
incubator/ooo/branches/gbuild/main/basegfx/inc/basegfx/point/b3ipoint.hxx
incubator/ooo/branches/gbuild/main/basegfx/inc/basegfx/polygon/b2dlinegeometry.hxx
incubator/ooo/branches/gbuild/main/basegfx/inc/basegfx/polygon/b2dpolygon.hxx
incubator/ooo/branches/gbuild/main/basegfx/inc/basegfx/polygon/b2dpolygonclipper.hxx
incubator/ooo/branches/gbuild/main/basegfx/inc/basegfx/polygon/b2dpolygoncutandtouch.hxx
incubator/ooo/branches/gbuild/main/basegfx/inc/basegfx/polygon/b2dpolygontools.hxx
incubator/ooo/branches/gbuild/main/basegfx/inc/basegfx/polygon/b2dpolygontriangulator.hxx
incubator/ooo/branches/gbuild/main/basegfx/inc/basegfx/polygon/b2dpolypolygon.hxx
incubator/ooo/branches/gbuild/main/basegfx/inc/basegfx/polygon/b2dpolypolygoncutter.hxx
incubator/ooo/branches/gbuild/main/basegfx/inc/basegfx/polygon/b2dpolypolygonrasterconverter.hxx
incubator/ooo/branches/gbuild/main/basegfx/inc/basegfx/polygon/b2dpolypolygontools.hxx
incubator/ooo/branches/gbuild/main/basegfx/inc/basegfx/polygon/b2dtrapezoid.hxx
incubator/ooo/branches/gbuild/main/basegfx/inc/basegfx/polygon/b3dpolygon.hxx
incubator/ooo/branches/gbuild/main/basegfx/inc/basegfx/polygon/b3dpolygonclipper.hxx
incubator/ooo/branches/gbuild/main/basegfx/inc/basegfx/polygon/b3dpolygontools.hxx
incubator/ooo/branches/gbuild/main/basegfx/inc/basegfx/polygon/b3dpolypolygon.hxx
incubator/ooo/branches/gbuild/main/basegfx/inc/basegfx/polygon/b3dpolypolygontools.hxx
incubator/ooo/branches/gbuild/main/basegfx/inc/basegfx/range/b1drange.hxx
incubator/ooo/branches/gbuild/main/basegfx/inc/basegfx/range/b1ibox.hxx
incubator/ooo/branches/gbuild/main/basegfx/inc/basegfx/range/b1irange.hxx
incubator/ooo/branches/gbuild/main/basegfx/inc/basegfx/range/b2dpolyrange.hxx
incubator/ooo/branches/gbuild/main/basegfx/inc/basegfx/range/b2drange.hxx
incubator/ooo/branches/gbuild/main/basegfx/inc/basegfx/range/b2drangeclipper.hxx
incubator/ooo/branches/gbuild/main/basegfx/inc/basegfx/range/b2ibox.hxx
incubator/ooo/branches/gbuild/main/basegfx/inc/basegfx/range/b2irange.hxx
incubator/ooo/branches/gbuild/main/basegfx/inc/basegfx/range/b3drange.hxx
incubator/ooo/branches/gbuild/main/basegfx/inc/basegfx/range/b3ibox.hxx
incubator/ooo/branches/gbuild/main/basegfx/inc/basegfx/range/b3irange.hxx
incubator/ooo/branches/gbuild/main/basegfx/inc/basegfx/range/basicbox.hxx
incubator/ooo/branches/gbuild/main/basegfx/inc/basegfx/raster/bpixelraster.hxx
incubator/ooo/branches/gbuild/main/basegfx/inc/basegfx/raster/bzpixelraster.hxx
incubator/ooo/branches/gbuild/main/basegfx/inc/basegfx/raster/rasterconvert3d.hxx
incubator/ooo/branches/gbuild/main/basegfx/inc/basegfx/tools/b2dclipstate.hxx
incubator/ooo/branches/gbuild/main/basegfx/inc/basegfx/tools/canvastools.hxx
incubator/ooo/branches/gbuild/main/basegfx/inc/basegfx/tools/debugplotter.hxx
incubator/ooo/branches/gbuild/main/basegfx/inc/basegfx/tools/gradienttools.hxx
incubator/ooo/branches/gbuild/main/basegfx/inc/basegfx/tools/keystoplerp.hxx
incubator/ooo/branches/gbuild/main/basegfx/inc/basegfx/tools/tools.hxx
incubator/ooo/branches/gbuild/main/basegfx/inc/basegfx/tools/unopolypolygon.hxx
incubator/ooo/branches/gbuild/main/basegfx/inc/basegfx/tuple/b2dtuple.hxx
incubator/ooo/branches/gbuild/main/basegfx/inc/basegfx/tuple/b2i64tuple.hxx
incubator/ooo/branches/gbuild/main/basegfx/inc/basegfx/tuple/b2ituple.hxx
incubator/ooo/branches/gbuild/main/basegfx/inc/basegfx/tuple/b3dtuple.hxx
incubator/ooo/branches/gbuild/main/basegfx/inc/basegfx/tuple/b3i64tuple.hxx
incubator/ooo/branches/gbuild/main/basegfx/inc/basegfx/tuple/b3ituple.hxx
incubator/ooo/branches/gbuild/main/basegfx/inc/basegfx/vector/b2dvector.hxx
incubator/ooo/branches/gbuild/main/basegfx/inc/basegfx/vector/b2ivector.hxx
incubator/ooo/branches/gbuild/main/basegfx/inc/basegfx/vector/b3dvector.hxx
incubator/ooo/branches/gbuild/main/basegfx/inc/basegfx/vector/b3ivector.hxx
Modified: incubator/ooo/branches/gbuild/main/basebmp/inc/basebmp/bitmapdevice.hxx
URL: http://svn.apache.org/viewvc/incubator/ooo/branches/gbuild/main/basebmp/inc/basebmp/bitmapdevice.hxx?rev=1409504&r1=1409503&r2=1409504&view=diff
==============================================================================
--- incubator/ooo/branches/gbuild/main/basebmp/inc/basebmp/bitmapdevice.hxx (original)
+++ incubator/ooo/branches/gbuild/main/basebmp/inc/basebmp/bitmapdevice.hxx Wed Nov 14 22:52:53 2012
@@ -641,7 +641,7 @@ private:
/** Factory method to create a BitmapDevice for given scanline format
*/
-BitmapDeviceSharedPtr createBitmapDevice( const basegfx::B2IVector& rSize,
+BASEBMP_DLLPUBLIC BitmapDeviceSharedPtr createBitmapDevice( const basegfx::B2IVector& rSize,
bool bTopDown,
sal_Int32 nScanlineFormat );
@@ -652,7 +652,7 @@ BitmapDeviceSharedPtr createBitmapDevice
lookups for the whole range of pixel values from the specified
format.
*/
-BitmapDeviceSharedPtr createBitmapDevice( const basegfx::B2IVector& rSize,
+BASEBMP_DLLPUBLIC BitmapDeviceSharedPtr createBitmapDevice( const basegfx::B2IVector& rSize,
bool bTopDown,
sal_Int32 nScanlineFormat,
const PaletteMemorySharedVector& rPalette );
@@ -663,7 +663,7 @@ BitmapDeviceSharedPtr createBitmapDevice
Note: the provided memory must have sufficient size, to store the
image of the specified area and format.
*/
-BitmapDeviceSharedPtr createBitmapDevice( const basegfx::B2IVector& rSize,
+BASEBMP_DLLPUBLIC BitmapDeviceSharedPtr createBitmapDevice( const basegfx::B2IVector& rSize,
bool bTopDown,
sal_Int32 nScanlineFormat,
const RawMemorySharedArray& rMem,
@@ -678,7 +678,7 @@ BitmapDeviceSharedPtr createBitmapDevice
area. Useful to implement rectangular clips (usually faster than
setting up a 1bpp clip mask).
*/
-BitmapDeviceSharedPtr subsetBitmapDevice( const BitmapDeviceSharedPtr& rProto,
+BASEBMP_DLLPUBLIC BitmapDeviceSharedPtr subsetBitmapDevice( const BitmapDeviceSharedPtr& rProto,
const basegfx::B2IRange& rSubset );
/** Factory method to clone a BitmapDevice from a given prototype.
@@ -687,7 +687,7 @@ BitmapDeviceSharedPtr subsetBitmapDevice
copied, only the size can be varied. Note that the prototype's
bitmap content is <em>not</em> copied, only a palette (if any).
*/
-BitmapDeviceSharedPtr cloneBitmapDevice( const basegfx::B2IVector& rSize,
+BASEBMP_DLLPUBLIC BitmapDeviceSharedPtr cloneBitmapDevice( const basegfx::B2IVector& rSize,
const BitmapDeviceSharedPtr& rProto );
}
Added: incubator/ooo/branches/gbuild/main/basegfx/CppunitTest_basegfx.mk
URL: http://svn.apache.org/viewvc/incubator/ooo/branches/gbuild/main/basegfx/CppunitTest_basegfx.mk?rev=1409504&view=auto
==============================================================================
--- incubator/ooo/branches/gbuild/main/basegfx/CppunitTest_basegfx.mk (added)
+++ incubator/ooo/branches/gbuild/main/basegfx/CppunitTest_basegfx.mk Wed Nov 14 22:52:53 2012
@@ -0,0 +1,41 @@
+#*************************************************************************
+#
+# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+#
+# Copyright 2000, 2011 Oracle and/or its affiliates.
+#
+# OpenOffice.org - a multi-platform office productivity suite
+#
+# This file is part of OpenOffice.org.
+#
+# OpenOffice.org is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Lesser General Public License version 3
+# only, as published by the Free Software Foundation.
+#
+# OpenOffice.org is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU Lesser General Public License version 3 for more details
+# (a copy is included in the LICENSE file that accompanied this code).
+#
+# You should have received a copy of the GNU Lesser General Public License
+# version 3 along with OpenOffice.org. If not, see
+# <http://www.openoffice.org/license.html>
+# for a copy of the LGPLv3 License.
+#
+#*************************************************************************
+
+$(eval $(call gb_CppunitTest_CppunitTest,MODULE_NAME))
+
+$(eval $(call gb_CppunitTest_add_exception_objects,MODULE_NAME, \
+))
+
+$(eval $(call gb_CppunitTest_add_linked_libs,MODULE_NAME, \
+ $(gb_STDLIBS) \
+))
+
+$(eval $(call gb_CppunitTest_set_include,MODULE_NAME,\
+ $$(INCLUDE) \
+))
+
+# vim: set noet sw=4 ts=4:
Added: incubator/ooo/branches/gbuild/main/basegfx/Library_basegfx.mk
URL: http://svn.apache.org/viewvc/incubator/ooo/branches/gbuild/main/basegfx/Library_basegfx.mk?rev=1409504&view=auto
==============================================================================
--- incubator/ooo/branches/gbuild/main/basegfx/Library_basegfx.mk (added)
+++ incubator/ooo/branches/gbuild/main/basegfx/Library_basegfx.mk Wed Nov 14 22:52:53 2012
@@ -0,0 +1,122 @@
+#*************************************************************************
+#
+# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+#
+# Copyright 2000, 2011 Oracle and/or its affiliates.
+#
+# OpenOffice.org - a multi-platform office productivity suite
+#
+# This file is part of OpenOffice.org.
+#
+# OpenOffice.org is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Lesser General Public License version 3
+# only, as published by the Free Software Foundation.
+#
+# OpenOffice.org is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU Lesser General Public License version 3 for more details
+# (a copy is included in the LICENSE file that accompanied this code).
+#
+# You should have received a copy of the GNU Lesser General Public License
+# version 3 along with OpenOffice.org. If not, see
+# <http://www.openoffice.org/license.html>
+# for a copy of the LGPLv3 License.
+#
+#*************************************************************************
+
+$(eval $(call gb_Library_Library,basegfx))
+
+$(eval $(call gb_Library_add_package_headers,basegfx,basegfx_inc))
+
+$(eval $(call gb_Library_add_precompiled_header,basegfx,$(SRCDIR)/basegfx/inc/pch/precompiled_basegfx))
+
+$(eval $(call gb_Library_add_api,basegfx,\
+ udkapi \
+ offapi \
+))
+
+$(eval $(call gb_Library_set_include,basegfx,\
+ -I$(SRCDIR)/basegfx/inc \
+ -I$(SRCDIR)/basegfx/source/inc \
+ -I$(SRCDIR)/basegfx/inc/pch \
+ $$(INCLUDE) \
+))
+
+$(eval $(call gb_Library_set_defs,basegfx,\
+ $$(DEFS) \
+ -DBASEGFX_DLLIMPLEMENTATION \
+))
+
+$(eval $(call gb_Library_add_linked_libs,basegfx,\
+ sal \
+ cppu \
+ cppuhelper \
+ $(gb_STDLIBS) \
+))
+
+$(eval $(call gb_Library_add_exception_objects,basegfx,\
+ basegfx/source/tools/liangbarsky \
+ basegfx/source/tools/debugplotter \
+ basegfx/source/tools/canvastools \
+ basegfx/source/tools/gradienttools \
+ basegfx/source/tools/keystoplerp \
+ basegfx/source/tools/unopolypolygon \
+ basegfx/source/tools/tools \
+ basegfx/source/tools/b2dclipstate \
+ basegfx/source/numeric/ftools \
+ basegfx/source/tuple/b3ituple \
+ basegfx/source/tuple/b3dtuple \
+ basegfx/source/tuple/b2ituple \
+ basegfx/source/tuple/b2dtuple \
+ basegfx/source/tuple/b3i64tuple \
+ basegfx/source/tuple/b2i64tuple \
+ basegfx/source/range/b1drange \
+ basegfx/source/range/b2dpolyrange \
+ basegfx/source/range/b2xrange \
+ basegfx/source/range/b3drange \
+ basegfx/source/range/b2drangeclipper \
+ basegfx/source/range/b2drange \
+ basegfx/source/vector/b3ivector \
+ basegfx/source/vector/b2ivector \
+ basegfx/source/vector/b2dvector \
+ basegfx/source/vector/b3dvector \
+ basegfx/source/polygon/b3dpolygon \
+ basegfx/source/polygon/b2dtrapezoid \
+ basegfx/source/polygon/b3dpolygontools \
+ basegfx/source/polygon/b2dlinegeometry \
+ basegfx/source/polygon/b3dpolypolygontools \
+ basegfx/source/polygon/b3dpolygonclipper \
+ basegfx/source/polygon/b2dpolygonclipper \
+ basegfx/source/polygon/b2dpolypolygoncutter \
+ basegfx/source/polygon/b2dpolypolygonrasterconverter \
+ basegfx/source/polygon/b2dpolygon \
+ basegfx/source/polygon/b2dpolygontriangulator \
+ basegfx/source/polygon/b2dpolypolygon \
+ basegfx/source/polygon/b3dpolypolygon \
+ basegfx/source/polygon/b2dsvgpolypolygon \
+ basegfx/source/polygon/b2dpolygoncutandtouch \
+ basegfx/source/polygon/b2dpolypolygontools \
+ basegfx/source/polygon/b2dpolygontools \
+ basegfx/source/pixel/bpixel \
+ basegfx/source/matrix/b2dhommatrixtools \
+ basegfx/source/matrix/b3dhommatrix \
+ basegfx/source/matrix/b2dhommatrix \
+ basegfx/source/point/b3ipoint \
+ basegfx/source/point/b3dhompoint \
+ basegfx/source/point/b2dpoint \
+ basegfx/source/point/b3dpoint \
+ basegfx/source/point/b2dhompoint \
+ basegfx/source/point/b2ipoint \
+ basegfx/source/curve/b2dbeziertools \
+ basegfx/source/curve/b2dcubicbezier \
+ basegfx/source/curve/b2dquadraticbezier \
+ basegfx/source/color/bcolormodifier \
+ basegfx/source/color/bcolor \
+ basegfx/source/color/bcolortools \
+ basegfx/source/raster/bpixelraster \
+ basegfx/source/raster/bzpixelraster \
+ basegfx/source/raster/rasterconvert3d \
+))
+
+# vim: set noet sw=4 ts=4:
Added: incubator/ooo/branches/gbuild/main/basegfx/Makefile
URL: http://svn.apache.org/viewvc/incubator/ooo/branches/gbuild/main/basegfx/Makefile?rev=1409504&view=auto
==============================================================================
--- incubator/ooo/branches/gbuild/main/basegfx/Makefile (added)
+++ incubator/ooo/branches/gbuild/main/basegfx/Makefile Wed Nov 14 22:52:53 2012
@@ -0,0 +1,38 @@
+#*************************************************************************
+#
+# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+#
+# Copyright 2000, 2011 Oracle and/or its affiliates.
+#
+# OpenOffice.org - a multi-platform office productivity suite
+#
+# This file is part of OpenOffice.org.
+#
+# OpenOffice.org is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Lesser General Public License version 3
+# only, as published by the Free Software Foundation.
+#
+# OpenOffice.org is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU Lesser General Public License version 3 for more details
+# (a copy is included in the LICENSE file that accompanied this code).
+#
+# You should have received a copy of the GNU Lesser General Public License
+# version 3 along with OpenOffice.org. If not, see
+# <http://www.openoffice.org/license.html>
+# for a copy of the LGPLv3 License.
+#
+#*************************************************************************
+
+ifeq ($(strip $(SOLARENV)),)
+$(error No environment set!)
+endif
+
+gb_PARTIALBUILD := T
+GBUILDDIR := $(SOLARENV)/gbuild
+include $(GBUILDDIR)/gbuild.mk
+
+$(eval $(call gb_Module_make_global_targets,$(shell ls $(dir $(realpath $(firstword $(MAKEFILE_LIST))))/Module*.mk)))
+
+# vim: set noet sw=4 ts=4:
Added: incubator/ooo/branches/gbuild/main/basegfx/Module_basegfx.mk
URL: http://svn.apache.org/viewvc/incubator/ooo/branches/gbuild/main/basegfx/Module_basegfx.mk?rev=1409504&view=auto
==============================================================================
--- incubator/ooo/branches/gbuild/main/basegfx/Module_basegfx.mk (added)
+++ incubator/ooo/branches/gbuild/main/basegfx/Module_basegfx.mk Wed Nov 14 22:52:53 2012
@@ -0,0 +1,38 @@
+#*************************************************************************
+#
+# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+#
+# Copyright 2000, 2011 Oracle and/or its affiliates.
+#
+# OpenOffice.org - a multi-platform office productivity suite
+#
+# This file is part of OpenOffice.org.
+#
+# OpenOffice.org is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Lesser General Public License version 3
+# only, as published by the Free Software Foundation.
+#
+# OpenOffice.org is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU Lesser General Public License version 3 for more details
+# (a copy is included in the LICENSE file that accompanied this code).
+#
+# You should have received a copy of the GNU Lesser General Public License
+# version 3 along with OpenOffice.org. If not, see
+# <http://www.openoffice.org/license.html>
+# for a copy of the LGPLv3 License.
+#
+#*************************************************************************
+
+$(eval $(call gb_Module_Module,basegfx))
+
+$(eval $(call gb_Module_add_targets,basegfx,\
+ Library_basegfx \
+ Package_inc \
+))
+
+$(eval $(call gb_Module_add_check_targets,basegfx,\
+))
+
+# vim: set noet sw=4 ts=4:
Added: incubator/ooo/branches/gbuild/main/basegfx/Package_inc.mk
URL: http://svn.apache.org/viewvc/incubator/ooo/branches/gbuild/main/basegfx/Package_inc.mk?rev=1409504&view=auto
==============================================================================
--- incubator/ooo/branches/gbuild/main/basegfx/Package_inc.mk (added)
+++ incubator/ooo/branches/gbuild/main/basegfx/Package_inc.mk Wed Nov 14 22:52:53 2012
@@ -0,0 +1,112 @@
+#*************************************************************************
+#
+# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+#
+# Copyright 2000, 2011 Oracle and/or its affiliates.
+#
+# OpenOffice.org - a multi-platform office productivity suite
+#
+# This file is part of OpenOffice.org.
+#
+# OpenOffice.org is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Lesser General Public License version 3
+# only, as published by the Free Software Foundation.
+#
+# OpenOffice.org is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU Lesser General Public License version 3 for more details
+# (a copy is included in the LICENSE file that accompanied this code).
+#
+# You should have received a copy of the GNU Lesser General Public License
+# version 3 along with OpenOffice.org. If not, see
+# <http://www.openoffice.org/license.html>
+# for a copy of the LGPLv3 License.
+#
+#*************************************************************************
+
+$(eval $(call gb_Package_Package,basegfx_inc,$(SRCDIR)/basegfx/inc))
+
+$(eval $(call gb_Package_add_file,basegfx_inc,inc/basegfx/tools/lerp.hxx,basegfx/tools/lerp.hxx))
+$(eval $(call gb_Package_add_file,basegfx_inc,inc/basegfx/tools/keystoplerp.hxx,basegfx/tools/keystoplerp.hxx))
+$(eval $(call gb_Package_add_file,basegfx_inc,inc/basegfx/tools/debugplotter.hxx,basegfx/tools/debugplotter.hxx))
+$(eval $(call gb_Package_add_file,basegfx_inc,inc/basegfx/tools/canvastools.hxx,basegfx/tools/canvastools.hxx))
+$(eval $(call gb_Package_add_file,basegfx_inc,inc/basegfx/tools/rectcliptools.hxx,basegfx/tools/rectcliptools.hxx))
+$(eval $(call gb_Package_add_file,basegfx_inc,inc/basegfx/tools/b2dclipstate.hxx,basegfx/tools/b2dclipstate.hxx))
+$(eval $(call gb_Package_add_file,basegfx_inc,inc/basegfx/tools/unopolypolygon.hxx,basegfx/tools/unopolypolygon.hxx))
+$(eval $(call gb_Package_add_file,basegfx_inc,inc/basegfx/tools/tools.hxx,basegfx/tools/tools.hxx))
+$(eval $(call gb_Package_add_file,basegfx_inc,inc/basegfx/tools/gradienttools.hxx,basegfx/tools/gradienttools.hxx))
+$(eval $(call gb_Package_add_file,basegfx_inc,inc/basegfx/numeric/ftools.hxx,basegfx/numeric/ftools.hxx))
+$(eval $(call gb_Package_add_file,basegfx_inc,inc/basegfx/tuple/b3i64tuple.hxx,basegfx/tuple/b3i64tuple.hxx))
+$(eval $(call gb_Package_add_file,basegfx_inc,inc/basegfx/tuple/b3dtuple.hxx,basegfx/tuple/b3dtuple.hxx))
+$(eval $(call gb_Package_add_file,basegfx_inc,inc/basegfx/tuple/b3ituple.hxx,basegfx/tuple/b3ituple.hxx))
+$(eval $(call gb_Package_add_file,basegfx_inc,inc/basegfx/tuple/b2i64tuple.hxx,basegfx/tuple/b2i64tuple.hxx))
+$(eval $(call gb_Package_add_file,basegfx_inc,inc/basegfx/tuple/b2ituple.hxx,basegfx/tuple/b2ituple.hxx))
+$(eval $(call gb_Package_add_file,basegfx_inc,inc/basegfx/tuple/b2dtuple.hxx,basegfx/tuple/b2dtuple.hxx))
+$(eval $(call gb_Package_add_file,basegfx_inc,inc/basegfx/range/b2drangeclipper.hxx,basegfx/range/b2drangeclipper.hxx))
+$(eval $(call gb_Package_add_file,basegfx_inc,inc/basegfx/range/b3irange.hxx,basegfx/range/b3irange.hxx))
+$(eval $(call gb_Package_add_file,basegfx_inc,inc/basegfx/range/b3dvolume.hxx,basegfx/range/b3dvolume.hxx))
+$(eval $(call gb_Package_add_file,basegfx_inc,inc/basegfx/range/basicbox.hxx,basegfx/range/basicbox.hxx))
+$(eval $(call gb_Package_add_file,basegfx_inc,inc/basegfx/range/b2dconnectedranges.hxx,basegfx/range/b2dconnectedranges.hxx))
+$(eval $(call gb_Package_add_file,basegfx_inc,inc/basegfx/range/b3drange.hxx,basegfx/range/b3drange.hxx))
+$(eval $(call gb_Package_add_file,basegfx_inc,inc/basegfx/range/b2drange.hxx,basegfx/range/b2drange.hxx))
+$(eval $(call gb_Package_add_file,basegfx_inc,inc/basegfx/range/rangeexpander.hxx,basegfx/range/rangeexpander.hxx))
+$(eval $(call gb_Package_add_file,basegfx_inc,inc/basegfx/range/b2irange.hxx,basegfx/range/b2irange.hxx))
+$(eval $(call gb_Package_add_file,basegfx_inc,inc/basegfx/range/b1ibox.hxx,basegfx/range/b1ibox.hxx))
+$(eval $(call gb_Package_add_file,basegfx_inc,inc/basegfx/range/b2dpolyrange.hxx,basegfx/range/b2dpolyrange.hxx))
+$(eval $(call gb_Package_add_file,basegfx_inc,inc/basegfx/range/b3ivolume.hxx,basegfx/range/b3ivolume.hxx))
+$(eval $(call gb_Package_add_file,basegfx_inc,inc/basegfx/range/b1irange.hxx,basegfx/range/b1irange.hxx))
+$(eval $(call gb_Package_add_file,basegfx_inc,inc/basegfx/range/b2drectangle.hxx,basegfx/range/b2drectangle.hxx))
+$(eval $(call gb_Package_add_file,basegfx_inc,inc/basegfx/range/b2irectangle.hxx,basegfx/range/b2irectangle.hxx))
+$(eval $(call gb_Package_add_file,basegfx_inc,inc/basegfx/range/b1drange.hxx,basegfx/range/b1drange.hxx))
+$(eval $(call gb_Package_add_file,basegfx_inc,inc/basegfx/range/b2ibox.hxx,basegfx/range/b2ibox.hxx))
+$(eval $(call gb_Package_add_file,basegfx_inc,inc/basegfx/range/b3ibox.hxx,basegfx/range/b3ibox.hxx))
+$(eval $(call gb_Package_add_file,basegfx_inc,inc/basegfx/range/basicrange.hxx,basegfx/range/basicrange.hxx))
+$(eval $(call gb_Package_add_file,basegfx_inc,inc/basegfx/vector/b3dsize.hxx,basegfx/vector/b3dsize.hxx))
+$(eval $(call gb_Package_add_file,basegfx_inc,inc/basegfx/vector/b2ivector.hxx,basegfx/vector/b2ivector.hxx))
+$(eval $(call gb_Package_add_file,basegfx_inc,inc/basegfx/vector/b2dvector.hxx,basegfx/vector/b2dvector.hxx))
+$(eval $(call gb_Package_add_file,basegfx_inc,inc/basegfx/vector/b3dvector.hxx,basegfx/vector/b3dvector.hxx))
+$(eval $(call gb_Package_add_file,basegfx_inc,inc/basegfx/vector/b2dsize.hxx,basegfx/vector/b2dsize.hxx))
+$(eval $(call gb_Package_add_file,basegfx_inc,inc/basegfx/vector/b2isize.hxx,basegfx/vector/b2isize.hxx))
+$(eval $(call gb_Package_add_file,basegfx_inc,inc/basegfx/vector/b2enums.hxx,basegfx/vector/b2enums.hxx))
+$(eval $(call gb_Package_add_file,basegfx_inc,inc/basegfx/vector/b3ivector.hxx,basegfx/vector/b3ivector.hxx))
+$(eval $(call gb_Package_add_file,basegfx_inc,inc/basegfx/vector/b3isize.hxx,basegfx/vector/b3isize.hxx))
+$(eval $(call gb_Package_add_file,basegfx_inc,inc/basegfx/polygon/b2dtrapezoid.hxx,basegfx/polygon/b2dtrapezoid.hxx))
+$(eval $(call gb_Package_add_file,basegfx_inc,inc/basegfx/polygon/b2dpolypolygoncutter.hxx,basegfx/polygon/b2dpolypolygoncutter.hxx))
+$(eval $(call gb_Package_add_file,basegfx_inc,inc/basegfx/polygon/b2dpolypolygon.hxx,basegfx/polygon/b2dpolypolygon.hxx))
+$(eval $(call gb_Package_add_file,basegfx_inc,inc/basegfx/polygon/b2dpolypolygontools.hxx,basegfx/polygon/b2dpolypolygontools.hxx))
+$(eval $(call gb_Package_add_file,basegfx_inc,inc/basegfx/polygon/b2dpolygon.hxx,basegfx/polygon/b2dpolygon.hxx))
+$(eval $(call gb_Package_add_file,basegfx_inc,inc/basegfx/polygon/b2dpolygonclipper.hxx,basegfx/polygon/b2dpolygonclipper.hxx))
+$(eval $(call gb_Package_add_file,basegfx_inc,inc/basegfx/polygon/b2dpolypolygonfillrule.hxx,basegfx/polygon/b2dpolypolygonfillrule.hxx))
+$(eval $(call gb_Package_add_file,basegfx_inc,inc/basegfx/polygon/b2dpolygontriangulator.hxx,basegfx/polygon/b2dpolygontriangulator.hxx))
+$(eval $(call gb_Package_add_file,basegfx_inc,inc/basegfx/polygon/b3dpolygontools.hxx,basegfx/polygon/b3dpolygontools.hxx))
+$(eval $(call gb_Package_add_file,basegfx_inc,inc/basegfx/polygon/b2dpolygontools.hxx,basegfx/polygon/b2dpolygontools.hxx))
+$(eval $(call gb_Package_add_file,basegfx_inc,inc/basegfx/polygon/b3dpolypolygon.hxx,basegfx/polygon/b3dpolypolygon.hxx))
+$(eval $(call gb_Package_add_file,basegfx_inc,inc/basegfx/polygon/b2dpolygoncutandtouch.hxx,basegfx/polygon/b2dpolygoncutandtouch.hxx))
+$(eval $(call gb_Package_add_file,basegfx_inc,inc/basegfx/polygon/b2dlinegeometry.hxx,basegfx/polygon/b2dlinegeometry.hxx))
+$(eval $(call gb_Package_add_file,basegfx_inc,inc/basegfx/polygon/b3dpolypolygontools.hxx,basegfx/polygon/b3dpolypolygontools.hxx))
+$(eval $(call gb_Package_add_file,basegfx_inc,inc/basegfx/polygon/b2dpolypolygonrasterconverter.hxx,basegfx/polygon/b2dpolypolygonrasterconverter.hxx))
+$(eval $(call gb_Package_add_file,basegfx_inc,inc/basegfx/polygon/b3dpolygon.hxx,basegfx/polygon/b3dpolygon.hxx))
+$(eval $(call gb_Package_add_file,basegfx_inc,inc/basegfx/polygon/b3dpolygonclipper.hxx,basegfx/polygon/b3dpolygonclipper.hxx))
+$(eval $(call gb_Package_add_file,basegfx_inc,inc/basegfx/pixel/bpixel.hxx,basegfx/pixel/bpixel.hxx))
+$(eval $(call gb_Package_add_file,basegfx_inc,inc/basegfx/matrix/b2dhommatrix.hxx,basegfx/matrix/b2dhommatrix.hxx))
+$(eval $(call gb_Package_add_file,basegfx_inc,inc/basegfx/matrix/b3dhommatrix.hxx,basegfx/matrix/b3dhommatrix.hxx))
+$(eval $(call gb_Package_add_file,basegfx_inc,inc/basegfx/matrix/b2dhommatrixtools.hxx,basegfx/matrix/b2dhommatrixtools.hxx))
+$(eval $(call gb_Package_add_file,basegfx_inc,inc/basegfx/point/b3dhompoint.hxx,basegfx/point/b3dhompoint.hxx))
+$(eval $(call gb_Package_add_file,basegfx_inc,inc/basegfx/point/b3ipoint.hxx,basegfx/point/b3ipoint.hxx))
+$(eval $(call gb_Package_add_file,basegfx_inc,inc/basegfx/point/b3dpoint.hxx,basegfx/point/b3dpoint.hxx))
+$(eval $(call gb_Package_add_file,basegfx_inc,inc/basegfx/point/b2dpoint.hxx,basegfx/point/b2dpoint.hxx))
+$(eval $(call gb_Package_add_file,basegfx_inc,inc/basegfx/point/b2dhompoint.hxx,basegfx/point/b2dhompoint.hxx))
+$(eval $(call gb_Package_add_file,basegfx_inc,inc/basegfx/point/b2ipoint.hxx,basegfx/point/b2ipoint.hxx))
+$(eval $(call gb_Package_add_file,basegfx_inc,inc/basegfx/curve/b2dcubicbezier.hxx,basegfx/curve/b2dcubicbezier.hxx))
+$(eval $(call gb_Package_add_file,basegfx_inc,inc/basegfx/curve/b2dquadraticbezier.hxx,basegfx/curve/b2dquadraticbezier.hxx))
+$(eval $(call gb_Package_add_file,basegfx_inc,inc/basegfx/curve/b2dbeziertools.hxx,basegfx/curve/b2dbeziertools.hxx))
+$(eval $(call gb_Package_add_file,basegfx_inc,inc/basegfx/color/bcolor.hxx,basegfx/color/bcolor.hxx))
+$(eval $(call gb_Package_add_file,basegfx_inc,inc/basegfx/color/bcolortools.hxx,basegfx/color/bcolortools.hxx))
+$(eval $(call gb_Package_add_file,basegfx_inc,inc/basegfx/color/bcolormodifier.hxx,basegfx/color/bcolormodifier.hxx))
+$(eval $(call gb_Package_add_file,basegfx_inc,inc/basegfx/raster/bpixelraster.hxx,basegfx/raster/bpixelraster.hxx))
+$(eval $(call gb_Package_add_file,basegfx_inc,inc/basegfx/raster/rasterconvert3d.hxx,basegfx/raster/rasterconvert3d.hxx))
+$(eval $(call gb_Package_add_file,basegfx_inc,inc/basegfx/raster/bzpixelraster.hxx,basegfx/raster/bzpixelraster.hxx))
+$(eval $(call gb_Package_add_file,basegfx_inc,inc/basegfx/basegfxdllapi.h,basegfx/basegfxdllapi.h))
+
+# vim: set noet sw=4 ts=4:
Added: incubator/ooo/branches/gbuild/main/basegfx/inc/basegfx/basegfxdllapi.h
URL: http://svn.apache.org/viewvc/incubator/ooo/branches/gbuild/main/basegfx/inc/basegfx/basegfxdllapi.h?rev=1409504&view=auto
==============================================================================
--- incubator/ooo/branches/gbuild/main/basegfx/inc/basegfx/basegfxdllapi.h (added)
+++ incubator/ooo/branches/gbuild/main/basegfx/inc/basegfx/basegfxdllapi.h Wed Nov 14 22:52:53 2012
@@ -0,0 +1,37 @@
+/*************************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************/
+#ifndef INCLUDED_BASEGFXDLLAPI_H
+#define INCLUDED_BASEGFXDLLAPI_H
+
+#if defined BASEGFX_DLLIMPLEMENTATION
+#define BASEGFX_DLLPUBLIC SAL_DLLPUBLIC_EXPORT
+#else
+#define BASEGFX_DLLPUBLIC SAL_DLLPUBLIC_IMPORT
+#endif
+#define BASEGFX_DLLPRIVATE SAL_DLLPRIVATE
+
+#endif
Modified: incubator/ooo/branches/gbuild/main/basegfx/inc/basegfx/color/bcolor.hxx
URL: http://svn.apache.org/viewvc/incubator/ooo/branches/gbuild/main/basegfx/inc/basegfx/color/bcolor.hxx?rev=1409504&r1=1409503&r2=1409504&view=diff
==============================================================================
--- incubator/ooo/branches/gbuild/main/basegfx/inc/basegfx/color/bcolor.hxx (original)
+++ incubator/ooo/branches/gbuild/main/basegfx/inc/basegfx/color/bcolor.hxx Wed Nov 14 22:52:53 2012
@@ -28,6 +28,7 @@
#include <com/sun/star/uno/Reference.hxx>
#include <com/sun/star/uno/Sequence.hxx>
#include <vector>
+#include <basegfx/basegfxdllapi.h>
//////////////////////////////////////////////////////////////////////////////
// predeclarations
@@ -48,7 +49,7 @@ namespace basegfx
@see B3DTuple
*/
- class BColor : public B3DTuple
+ class BASEGFX_DLLPUBLIC BColor : public B3DTuple
{
public:
/** Create a Color with red, green and blue components from [0.0 to 1.0]
Modified: incubator/ooo/branches/gbuild/main/basegfx/inc/basegfx/color/bcolormodifier.hxx
URL: http://svn.apache.org/viewvc/incubator/ooo/branches/gbuild/main/basegfx/inc/basegfx/color/bcolormodifier.hxx?rev=1409504&r1=1409503&r2=1409504&view=diff
==============================================================================
--- incubator/ooo/branches/gbuild/main/basegfx/inc/basegfx/color/bcolormodifier.hxx (original)
+++ incubator/ooo/branches/gbuild/main/basegfx/inc/basegfx/color/bcolormodifier.hxx Wed Nov 14 22:52:53 2012
@@ -26,6 +26,7 @@
#include <basegfx/color/bcolor.hxx>
#include <vector>
+#include <basegfx/basegfxdllapi.h>
//////////////////////////////////////////////////////////////////////////////
@@ -46,7 +47,7 @@ namespace basegfx
/** Class to hold a color, value and mode for a color modification. Color modification is
done calling the getModifiedColor() method
*/
- class BColorModifier
+ class BASEGFX_DLLPUBLIC BColorModifier
{
protected:
::basegfx::BColor maBColor;
@@ -86,7 +87,7 @@ namespace basegfx
/** Class to hold a stack of BColorModifiers and to get the modified color with
applying all existing entry changes
*/
- class BColorModifierStack
+ class BASEGFX_DLLPUBLIC BColorModifierStack
{
protected:
::std::vector< BColorModifier > maBColorModifiers;
Modified: incubator/ooo/branches/gbuild/main/basegfx/inc/basegfx/color/bcolortools.hxx
URL: http://svn.apache.org/viewvc/incubator/ooo/branches/gbuild/main/basegfx/inc/basegfx/color/bcolortools.hxx?rev=1409504&r1=1409503&r2=1409504&view=diff
==============================================================================
--- incubator/ooo/branches/gbuild/main/basegfx/inc/basegfx/color/bcolortools.hxx (original)
+++ incubator/ooo/branches/gbuild/main/basegfx/inc/basegfx/color/bcolortools.hxx Wed Nov 14 22:52:53 2012
@@ -25,6 +25,7 @@
#define _BGFX_COLOR_BCOLORTOOLS_HXX
#include <sal/types.h>
+#include <basegfx/basegfxdllapi.h>
//////////////////////////////////////////////////////////////////////////////
@@ -35,29 +36,29 @@ namespace basegfx
namespace tools
{
/// Transform from RGB to HSL
- BColor rgb2hsl(const BColor& rRGBColor);
+ BASEGFX_DLLPUBLIC BColor rgb2hsl(const BColor& rRGBColor);
/// Transform from HSL to RGB
- BColor hsl2rgb(const BColor& rHSLColor);
+ BASEGFX_DLLPUBLIC BColor hsl2rgb(const BColor& rHSLColor);
/// Transform from RGB to HSV
- BColor rgb2hsv(const BColor& rRGBColor);
+ BASEGFX_DLLPUBLIC BColor rgb2hsv(const BColor& rRGBColor);
/// Transform from HSV to RGB
- BColor hsv2rgb(const BColor& rHSVColor);
+ BASEGFX_DLLPUBLIC BColor hsv2rgb(const BColor& rHSVColor);
/// Transform from R'G'B' to YIQ (NTSC color model - Y is used in monochrome mode)
- BColor rgb2yiq(const BColor& rRGBColor);
+ BASEGFX_DLLPUBLIC BColor rgb2yiq(const BColor& rRGBColor);
/// Transform from YIQ to R'G'B' (NTSC color model - Y is used in monochrome mode)
- BColor yiq2rgb(const BColor& rYIQColor);
+ BASEGFX_DLLPUBLIC BColor yiq2rgb(const BColor& rYIQColor);
/// Transform from R'G'B' to Y'PbPr (the [0,1]x[-.5,.5]x[-.5,.5] equivalent of Y'CbCr (which is scaled into 8bit))
- BColor rgb2ypbpr(const BColor& rRGBColor);
+ BASEGFX_DLLPUBLIC BColor rgb2ypbpr(const BColor& rRGBColor);
/// Transform from Y'PbPr (the [0,1]x[-.5,.5]x[-.5,.5] equivalent of Y'CbCr (which is scaled into 8bit)) into R'G'B'
- BColor ypbpr2rgb(const BColor& rYPbPrColor);
+ BASEGFX_DLLPUBLIC BColor ypbpr2rgb(const BColor& rYPbPrColor);
/// Transform from CIE XYZ into Rec. 709 RGB (D65 white point)
- BColor ciexyz2rgb( const BColor& rXYZColor );
+ BASEGFX_DLLPUBLIC BColor ciexyz2rgb( const BColor& rXYZColor );
/// Transform from Rec. 709 RGB (D65 white point) into CIE XYZ
- BColor rgb2ciexyz( const BColor& rRGBColor );
+ BASEGFX_DLLPUBLIC BColor rgb2ciexyz( const BColor& rRGBColor );
}
} // end of namespace basegfx
Modified: incubator/ooo/branches/gbuild/main/basegfx/inc/basegfx/curve/b2dbeziertools.hxx
URL: http://svn.apache.org/viewvc/incubator/ooo/branches/gbuild/main/basegfx/inc/basegfx/curve/b2dbeziertools.hxx?rev=1409504&r1=1409503&r2=1409504&view=diff
==============================================================================
--- incubator/ooo/branches/gbuild/main/basegfx/inc/basegfx/curve/b2dbeziertools.hxx (original)
+++ incubator/ooo/branches/gbuild/main/basegfx/inc/basegfx/curve/b2dbeziertools.hxx Wed Nov 14 22:52:53 2012
@@ -26,6 +26,7 @@
#include <sal/types.h>
#include <vector>
+#include <basegfx/basegfxdllapi.h>
//////////////////////////////////////////////////////////////////////////////
// predefines
@@ -39,7 +40,7 @@ namespace basegfx
namespace basegfx
{
- class B2DCubicBezierHelper
+ class BASEGFX_DLLPUBLIC B2DCubicBezierHelper
{
private:
::std::vector< double > maLengthArray;
Modified: incubator/ooo/branches/gbuild/main/basegfx/inc/basegfx/curve/b2dcubicbezier.hxx
URL: http://svn.apache.org/viewvc/incubator/ooo/branches/gbuild/main/basegfx/inc/basegfx/curve/b2dcubicbezier.hxx?rev=1409504&r1=1409503&r2=1409504&view=diff
==============================================================================
--- incubator/ooo/branches/gbuild/main/basegfx/inc/basegfx/curve/b2dcubicbezier.hxx (original)
+++ incubator/ooo/branches/gbuild/main/basegfx/inc/basegfx/curve/b2dcubicbezier.hxx Wed Nov 14 22:52:53 2012
@@ -26,6 +26,7 @@
#include <basegfx/point/b2dpoint.hxx>
#include <basegfx/range/b2drange.hxx>
+#include <basegfx/basegfxdllapi.h>
//////////////////////////////////////////////////////////////////////////////
// predeclarations
@@ -39,7 +40,7 @@ namespace basegfx
namespace basegfx
{
- class B2DCubicBezier
+ class BASEGFX_DLLPUBLIC B2DCubicBezier
{
B2DPoint maStartPoint;
B2DPoint maEndPoint;
Modified: incubator/ooo/branches/gbuild/main/basegfx/inc/basegfx/curve/b2dquadraticbezier.hxx
URL: http://svn.apache.org/viewvc/incubator/ooo/branches/gbuild/main/basegfx/inc/basegfx/curve/b2dquadraticbezier.hxx?rev=1409504&r1=1409503&r2=1409504&view=diff
==============================================================================
--- incubator/ooo/branches/gbuild/main/basegfx/inc/basegfx/curve/b2dquadraticbezier.hxx (original)
+++ incubator/ooo/branches/gbuild/main/basegfx/inc/basegfx/curve/b2dquadraticbezier.hxx Wed Nov 14 22:52:53 2012
@@ -25,12 +25,13 @@
#define _BGFX_CURVE_B2DQUADRATICBEZIER_HXX
#include <basegfx/point/b2dpoint.hxx>
+#include <basegfx/basegfxdllapi.h>
//////////////////////////////////////////////////////////////////////////////
namespace basegfx
{
- class B2DQuadraticBezier
+ class BASEGFX_DLLPUBLIC B2DQuadraticBezier
{
::basegfx::B2DPoint maStartPoint;
::basegfx::B2DPoint maEndPoint;
Modified: incubator/ooo/branches/gbuild/main/basegfx/inc/basegfx/matrix/b2dhommatrix.hxx
URL: http://svn.apache.org/viewvc/incubator/ooo/branches/gbuild/main/basegfx/inc/basegfx/matrix/b2dhommatrix.hxx?rev=1409504&r1=1409503&r2=1409504&view=diff
==============================================================================
--- incubator/ooo/branches/gbuild/main/basegfx/inc/basegfx/matrix/b2dhommatrix.hxx (original)
+++ incubator/ooo/branches/gbuild/main/basegfx/inc/basegfx/matrix/b2dhommatrix.hxx Wed Nov 14 22:52:53 2012
@@ -26,13 +26,14 @@
#include <sal/types.h>
#include <o3tl/cow_wrapper.hxx>
+#include <basegfx/basegfxdllapi.h>
namespace basegfx
{
class B2DTuple;
class Impl2DHomMatrix;
- class B2DHomMatrix
+ class BASEGFX_DLLPUBLIC B2DHomMatrix
{
public:
typedef o3tl::cow_wrapper< Impl2DHomMatrix > ImplType;
Modified: incubator/ooo/branches/gbuild/main/basegfx/inc/basegfx/matrix/b2dhommatrixtools.hxx
URL: http://svn.apache.org/viewvc/incubator/ooo/branches/gbuild/main/basegfx/inc/basegfx/matrix/b2dhommatrixtools.hxx?rev=1409504&r1=1409503&r2=1409504&view=diff
==============================================================================
--- incubator/ooo/branches/gbuild/main/basegfx/inc/basegfx/matrix/b2dhommatrixtools.hxx (original)
+++ incubator/ooo/branches/gbuild/main/basegfx/inc/basegfx/matrix/b2dhommatrixtools.hxx Wed Nov 14 22:52:53 2012
@@ -27,6 +27,7 @@
#include <sal/types.h>
#include <basegfx/matrix/b2dhommatrix.hxx>
#include <basegfx/vector/b2dvector.hxx>
+#include <basegfx/basegfxdllapi.h>
namespace rtl { class OUString; }
@@ -44,16 +45,16 @@ namespace basegfx
would introduce slight roundoff errors, instead of exactly
mirroring the coordinate system)
*/
- void createSinCosOrthogonal(double& o_rSin, double& rCos, double fRadiant);
+ BASEGFX_DLLPUBLIC void createSinCosOrthogonal(double& o_rSin, double& rCos, double fRadiant);
/** Tooling methods for on-the-fly matrix generation e.g. for inline
multiplications
*/
- B2DHomMatrix createScaleB2DHomMatrix(double fScaleX, double fScaleY);
- B2DHomMatrix createShearXB2DHomMatrix(double fShearX);
- B2DHomMatrix createShearYB2DHomMatrix(double fShearY);
- B2DHomMatrix createRotateB2DHomMatrix(double fRadiant);
- B2DHomMatrix createTranslateB2DHomMatrix(double fTranslateX, double fTranslateY);
+ BASEGFX_DLLPUBLIC B2DHomMatrix createScaleB2DHomMatrix(double fScaleX, double fScaleY);
+ BASEGFX_DLLPUBLIC B2DHomMatrix createShearXB2DHomMatrix(double fShearX);
+ BASEGFX_DLLPUBLIC B2DHomMatrix createShearYB2DHomMatrix(double fShearY);
+ BASEGFX_DLLPUBLIC B2DHomMatrix createRotateB2DHomMatrix(double fRadiant);
+ BASEGFX_DLLPUBLIC B2DHomMatrix createTranslateB2DHomMatrix(double fTranslateX, double fTranslateY);
/// inline versions for parameters as tuples
inline B2DHomMatrix createScaleB2DHomMatrix(const B2DTuple& rScale)
@@ -73,7 +74,7 @@ namespace basegfx
matrix multiplications.
Inline versions for parameters as tuples added, too.
*/
- B2DHomMatrix createScaleShearXRotateTranslateB2DHomMatrix(
+ BASEGFX_DLLPUBLIC B2DHomMatrix createScaleShearXRotateTranslateB2DHomMatrix(
double fScaleX, double fScaleY,
double fShearX,
double fRadiant,
@@ -91,7 +92,7 @@ namespace basegfx
rTranslate.getX(), rTranslate.getY());
}
- B2DHomMatrix createShearXRotateTranslateB2DHomMatrix(
+ BASEGFX_DLLPUBLIC B2DHomMatrix createShearXRotateTranslateB2DHomMatrix(
double fShearX,
double fRadiant,
double fTranslateX, double fTranslateY);
@@ -106,7 +107,7 @@ namespace basegfx
rTranslate.getX(), rTranslate.getY());
}
- B2DHomMatrix createScaleTranslateB2DHomMatrix(
+ BASEGFX_DLLPUBLIC B2DHomMatrix createScaleTranslateB2DHomMatrix(
double fScaleX, double fScaleY,
double fTranslateX, double fTranslateY);
inline B2DHomMatrix createScaleTranslateB2DHomMatrix(
@@ -119,7 +120,7 @@ namespace basegfx
}
/// special for the often used case of rotation around a point
- B2DHomMatrix createRotateAroundPoint(
+ BASEGFX_DLLPUBLIC B2DHomMatrix createRotateAroundPoint(
double fPointX, double fPointY,
double fRadiant);
inline B2DHomMatrix createRotateAroundPoint(
@@ -140,7 +141,7 @@ namespace basegfx
{
namespace tools
{
- class B2DHomMatrixBufferedDecompose
+ class BASEGFX_DLLPUBLIC B2DHomMatrixBufferedDecompose
{
private:
B2DVector maScale;
@@ -179,7 +180,7 @@ namespace basegfx
{
namespace tools
{
- class B2DHomMatrixBufferedOnDemandDecompose
+ class BASEGFX_DLLPUBLIC B2DHomMatrixBufferedOnDemandDecompose
{
private:
B2DHomMatrix maB2DHomMatrix;
Modified: incubator/ooo/branches/gbuild/main/basegfx/inc/basegfx/matrix/b3dhommatrix.hxx
URL: http://svn.apache.org/viewvc/incubator/ooo/branches/gbuild/main/basegfx/inc/basegfx/matrix/b3dhommatrix.hxx?rev=1409504&r1=1409503&r2=1409504&view=diff
==============================================================================
--- incubator/ooo/branches/gbuild/main/basegfx/inc/basegfx/matrix/b3dhommatrix.hxx (original)
+++ incubator/ooo/branches/gbuild/main/basegfx/inc/basegfx/matrix/b3dhommatrix.hxx Wed Nov 14 22:52:53 2012
@@ -28,13 +28,14 @@
#include <basegfx/point/b3dpoint.hxx>
#include <basegfx/vector/b3dvector.hxx>
#include <o3tl/cow_wrapper.hxx>
+#include <basegfx/basegfxdllapi.h>
namespace basegfx
{
class B3DTuple;
class Impl3DHomMatrix;
- class B3DHomMatrix
+ class BASEGFX_DLLPUBLIC B3DHomMatrix
{
public:
typedef o3tl::cow_wrapper< Impl3DHomMatrix > ImplType;
Modified: incubator/ooo/branches/gbuild/main/basegfx/inc/basegfx/numeric/ftools.hxx
URL: http://svn.apache.org/viewvc/incubator/ooo/branches/gbuild/main/basegfx/inc/basegfx/numeric/ftools.hxx?rev=1409504&r1=1409503&r2=1409504&view=diff
==============================================================================
--- incubator/ooo/branches/gbuild/main/basegfx/inc/basegfx/numeric/ftools.hxx (original)
+++ incubator/ooo/branches/gbuild/main/basegfx/inc/basegfx/numeric/ftools.hxx Wed Nov 14 22:52:53 2012
@@ -25,6 +25,7 @@
#define _BGFX_NUMERIC_FTOOLS_HXX
#include <rtl/math.hxx>
+#include <basegfx/basegfxdllapi.h>
//////////////////////////////////////////////////////////////////////////////
// standard PI defines from solar.h, but we do not want to link against tools
@@ -170,7 +171,7 @@ namespace basegfx
#endif
}
- class fTools
+ class BASEGFX_DLLPUBLIC fTools
{
/// Threshold value for equalZero()
static double mfSmallValue;
Modified: incubator/ooo/branches/gbuild/main/basegfx/inc/basegfx/pixel/bpixel.hxx
URL: http://svn.apache.org/viewvc/incubator/ooo/branches/gbuild/main/basegfx/inc/basegfx/pixel/bpixel.hxx?rev=1409504&r1=1409503&r2=1409504&view=diff
==============================================================================
--- incubator/ooo/branches/gbuild/main/basegfx/inc/basegfx/pixel/bpixel.hxx (original)
+++ incubator/ooo/branches/gbuild/main/basegfx/inc/basegfx/pixel/bpixel.hxx Wed Nov 14 22:52:53 2012
@@ -27,6 +27,7 @@
#include <sal/types.h>
#include <basegfx/numeric/ftools.hxx>
#include <basegfx/color/bcolor.hxx>
+#include <basegfx/basegfxdllapi.h>
//////////////////////////////////////////////////////////////////////////////
// predeclarations
@@ -35,7 +36,7 @@
namespace basegfx
{
- class BPixel
+ class BASEGFX_DLLPUBLIC BPixel
{
protected:
union
Modified: incubator/ooo/branches/gbuild/main/basegfx/inc/basegfx/point/b2dhompoint.hxx
URL: http://svn.apache.org/viewvc/incubator/ooo/branches/gbuild/main/basegfx/inc/basegfx/point/b2dhompoint.hxx?rev=1409504&r1=1409503&r2=1409504&view=diff
==============================================================================
--- incubator/ooo/branches/gbuild/main/basegfx/inc/basegfx/point/b2dhompoint.hxx (original)
+++ incubator/ooo/branches/gbuild/main/basegfx/inc/basegfx/point/b2dhompoint.hxx Wed Nov 14 22:52:53 2012
@@ -25,6 +25,7 @@
#define _BGFX_POINT_B2DHOMPOINT_HXX
#include <basegfx/point/b2dpoint.hxx>
+#include <basegfx/basegfxdllapi.h>
namespace basegfx
{
@@ -41,7 +42,7 @@ namespace basegfx
@see B2DTuple
*/
- class B2DHomPoint
+ class BASEGFX_DLLPUBLIC B2DHomPoint
{
protected:
/// This member contains the coordinate part of the point
Modified: incubator/ooo/branches/gbuild/main/basegfx/inc/basegfx/point/b2dpoint.hxx
URL: http://svn.apache.org/viewvc/incubator/ooo/branches/gbuild/main/basegfx/inc/basegfx/point/b2dpoint.hxx?rev=1409504&r1=1409503&r2=1409504&view=diff
==============================================================================
--- incubator/ooo/branches/gbuild/main/basegfx/inc/basegfx/point/b2dpoint.hxx (original)
+++ incubator/ooo/branches/gbuild/main/basegfx/inc/basegfx/point/b2dpoint.hxx Wed Nov 14 22:52:53 2012
@@ -26,6 +26,7 @@
#include <basegfx/tuple/b2dtuple.hxx>
#include <basegfx/point/b2ipoint.hxx>
+#include <basegfx/basegfxdllapi.h>
//////////////////////////////////////////////////////////////////////////////
@@ -42,7 +43,7 @@ namespace basegfx
@see B2DTuple
*/
- class B2DPoint : public ::basegfx::B2DTuple
+ class BASEGFX_DLLPUBLIC B2DPoint : public ::basegfx::B2DTuple
{
public:
/** Create a 2D Point
@@ -139,7 +140,7 @@ namespace basegfx
Since this is a Point, translational components of the
matrix are used.
*/
- B2DPoint operator*( const B2DHomMatrix& rMat, const B2DPoint& rPoint );
+ BASEGFX_DLLPUBLIC B2DPoint operator*( const B2DHomMatrix& rMat, const B2DPoint& rPoint );
} // end of namespace basegfx
//////////////////////////////////////////////////////////////////////////////
Modified: incubator/ooo/branches/gbuild/main/basegfx/inc/basegfx/point/b2ipoint.hxx
URL: http://svn.apache.org/viewvc/incubator/ooo/branches/gbuild/main/basegfx/inc/basegfx/point/b2ipoint.hxx?rev=1409504&r1=1409503&r2=1409504&view=diff
==============================================================================
--- incubator/ooo/branches/gbuild/main/basegfx/inc/basegfx/point/b2ipoint.hxx (original)
+++ incubator/ooo/branches/gbuild/main/basegfx/inc/basegfx/point/b2ipoint.hxx Wed Nov 14 22:52:53 2012
@@ -25,6 +25,7 @@
#define _BGFX_POINT_B2IPOINT_HXX
#include <basegfx/tuple/b2ituple.hxx>
+#include <basegfx/basegfxdllapi.h>
namespace basegfx
{
@@ -39,7 +40,7 @@ namespace basegfx
@see B2ITuple
*/
- class B2IPoint : public ::basegfx::B2ITuple
+ class BASEGFX_DLLPUBLIC B2IPoint : public ::basegfx::B2ITuple
{
public:
/** Create a 2D Point
Modified: incubator/ooo/branches/gbuild/main/basegfx/inc/basegfx/point/b3dhompoint.hxx
URL: http://svn.apache.org/viewvc/incubator/ooo/branches/gbuild/main/basegfx/inc/basegfx/point/b3dhompoint.hxx?rev=1409504&r1=1409503&r2=1409504&view=diff
==============================================================================
--- incubator/ooo/branches/gbuild/main/basegfx/inc/basegfx/point/b3dhompoint.hxx (original)
+++ incubator/ooo/branches/gbuild/main/basegfx/inc/basegfx/point/b3dhompoint.hxx Wed Nov 14 22:52:53 2012
@@ -25,6 +25,7 @@
#define _BGFX_POINT_B3DHOMPOINT_HXX
#include <basegfx/point/b3dpoint.hxx>
+#include <basegfx/basegfxdllapi.h>
namespace basegfx
{
@@ -41,7 +42,7 @@ namespace basegfx
@see B3DTuple
*/
- class B3DHomPoint
+ class BASEGFX_DLLPUBLIC B3DHomPoint
{
protected:
/// This member contains the coordinate part of the point
Modified: incubator/ooo/branches/gbuild/main/basegfx/inc/basegfx/point/b3dpoint.hxx
URL: http://svn.apache.org/viewvc/incubator/ooo/branches/gbuild/main/basegfx/inc/basegfx/point/b3dpoint.hxx?rev=1409504&r1=1409503&r2=1409504&view=diff
==============================================================================
--- incubator/ooo/branches/gbuild/main/basegfx/inc/basegfx/point/b3dpoint.hxx (original)
+++ incubator/ooo/branches/gbuild/main/basegfx/inc/basegfx/point/b3dpoint.hxx Wed Nov 14 22:52:53 2012
@@ -25,6 +25,7 @@
#define _BGFX_POINT_B3DPOINT_HXX
#include <basegfx/tuple/b3dtuple.hxx>
+#include <basegfx/basegfxdllapi.h>
namespace basegfx
{
@@ -39,7 +40,7 @@ namespace basegfx
@see B3DTuple
*/
- class B3DPoint : public ::basegfx::B3DTuple
+ class BASEGFX_DLLPUBLIC B3DPoint : public ::basegfx::B3DTuple
{
public:
/** Create a 3D Point
@@ -139,7 +140,7 @@ namespace basegfx
Since this is a Point, translational components of the
matrix are used.
*/
- B3DPoint operator*( const B3DHomMatrix& rMat, const B3DPoint& rPoint );
+ BASEGFX_DLLPUBLIC B3DPoint operator*( const B3DHomMatrix& rMat, const B3DPoint& rPoint );
} // end of namespace basegfx
Modified: incubator/ooo/branches/gbuild/main/basegfx/inc/basegfx/point/b3ipoint.hxx
URL: http://svn.apache.org/viewvc/incubator/ooo/branches/gbuild/main/basegfx/inc/basegfx/point/b3ipoint.hxx?rev=1409504&r1=1409503&r2=1409504&view=diff
==============================================================================
--- incubator/ooo/branches/gbuild/main/basegfx/inc/basegfx/point/b3ipoint.hxx (original)
+++ incubator/ooo/branches/gbuild/main/basegfx/inc/basegfx/point/b3ipoint.hxx Wed Nov 14 22:52:53 2012
@@ -25,6 +25,7 @@
#define _BGFX_POINT_B3IPOINT_HXX
#include <basegfx/tuple/b3ituple.hxx>
+#include <basegfx/basegfxdllapi.h>
namespace basegfx
{
@@ -39,7 +40,7 @@ namespace basegfx
@see B3ITuple
*/
- class B3IPoint : public ::basegfx::B3ITuple
+ class BASEGFX_DLLPUBLIC B3IPoint : public ::basegfx::B3ITuple
{
public:
/** Create a 3D Point
Modified: incubator/ooo/branches/gbuild/main/basegfx/inc/basegfx/polygon/b2dlinegeometry.hxx
URL: http://svn.apache.org/viewvc/incubator/ooo/branches/gbuild/main/basegfx/inc/basegfx/polygon/b2dlinegeometry.hxx?rev=1409504&r1=1409503&r2=1409504&view=diff
==============================================================================
--- incubator/ooo/branches/gbuild/main/basegfx/inc/basegfx/polygon/b2dlinegeometry.hxx (original)
+++ incubator/ooo/branches/gbuild/main/basegfx/inc/basegfx/polygon/b2dlinegeometry.hxx Wed Nov 14 22:52:53 2012
@@ -29,6 +29,7 @@
#include <basegfx/polygon/b2dpolypolygon.hxx>
#include <basegfx/polygon/b2dpolygon.hxx>
#include <com/sun/star/drawing/LineCap.hpp>
+#include <basegfx/basegfxdllapi.h>
//////////////////////////////////////////////////////////////////////////////
@@ -69,7 +70,7 @@ namespace basegfx
@return
The Line start and end polygon, correctly rotated and scaled
*/
- B2DPolyPolygon createAreaGeometryForLineStartEnd(
+ BASEGFX_DLLPUBLIC B2DPolyPolygon createAreaGeometryForLineStartEnd(
const B2DPolygon& rCandidate,
const B2DPolyPolygon& rArrow,
bool bStart,
@@ -128,7 +129,7 @@ namespace basegfx
it's line width. Contains bezier segments and edge roundings as
needed and defined.
*/
- B2DPolyPolygon createAreaGeometry(
+ BASEGFX_DLLPUBLIC B2DPolyPolygon createAreaGeometry(
const B2DPolygon& rCandidate,
double fHalfLineWidth,
B2DLineJoin eJoin = B2DLINEJOIN_ROUND,
Modified: incubator/ooo/branches/gbuild/main/basegfx/inc/basegfx/polygon/b2dpolygon.hxx
URL: http://svn.apache.org/viewvc/incubator/ooo/branches/gbuild/main/basegfx/inc/basegfx/polygon/b2dpolygon.hxx?rev=1409504&r1=1409503&r2=1409504&view=diff
==============================================================================
--- incubator/ooo/branches/gbuild/main/basegfx/inc/basegfx/polygon/b2dpolygon.hxx (original)
+++ incubator/ooo/branches/gbuild/main/basegfx/inc/basegfx/polygon/b2dpolygon.hxx Wed Nov 14 22:52:53 2012
@@ -28,6 +28,7 @@
#include <o3tl/cow_wrapper.hxx>
#include <basegfx/vector/b2enums.hxx>
#include <basegfx/range/b2drange.hxx>
+#include <basegfx/basegfxdllapi.h>
//////////////////////////////////////////////////////////////////////////////
// predeclarations
@@ -46,7 +47,7 @@ namespace basegfx
namespace basegfx
{
- class B2DPolygon
+ class BASEGFX_DLLPUBLIC B2DPolygon
{
public:
typedef o3tl::cow_wrapper< ImplB2DPolygon > ImplType;
Modified: incubator/ooo/branches/gbuild/main/basegfx/inc/basegfx/polygon/b2dpolygonclipper.hxx
URL: http://svn.apache.org/viewvc/incubator/ooo/branches/gbuild/main/basegfx/inc/basegfx/polygon/b2dpolygonclipper.hxx?rev=1409504&r1=1409503&r2=1409504&view=diff
==============================================================================
--- incubator/ooo/branches/gbuild/main/basegfx/inc/basegfx/polygon/b2dpolygonclipper.hxx (original)
+++ incubator/ooo/branches/gbuild/main/basegfx/inc/basegfx/polygon/b2dpolygonclipper.hxx Wed Nov 14 22:52:53 2012
@@ -26,6 +26,7 @@
#include <basegfx/polygon/b2dpolypolygon.hxx>
#include <basegfx/polygon/b2dpolygon.hxx>
+#include <basegfx/basegfxdllapi.h>
//////////////////////////////////////////////////////////////////////////////
@@ -42,21 +43,21 @@ namespace basegfx
// a clip axis parallel to X.Axis and 100 above it, use bParallelToXAxis = true and fValueOnOtherAxis = 100.
// The value bAboveAxis defines on which side the return value will be (true -> above X, right of Y).
// The switch bStroke decides if the polygon is interpreted as area (false) or strokes (true).
- B2DPolyPolygon clipPolyPolygonOnParallelAxis(const B2DPolyPolygon& rCandidate, bool bParallelToXAxis, bool bAboveAxis, double fValueOnOtherAxis, bool bStroke);
- B2DPolyPolygon clipPolygonOnParallelAxis(const B2DPolygon& rCandidate, bool bParallelToXAxis, bool bAboveAxis, double fValueOnOtherAxis, bool bStroke);
+ BASEGFX_DLLPUBLIC B2DPolyPolygon clipPolyPolygonOnParallelAxis(const B2DPolyPolygon& rCandidate, bool bParallelToXAxis, bool bAboveAxis, double fValueOnOtherAxis, bool bStroke);
+ BASEGFX_DLLPUBLIC B2DPolyPolygon clipPolygonOnParallelAxis(const B2DPolygon& rCandidate, bool bParallelToXAxis, bool bAboveAxis, double fValueOnOtherAxis, bool bStroke);
// Clip the given PolyPolygon against the given range. bInside defines if the result will contain the
// parts which are contained in the range or vice versa.
// The switch bStroke decides if the polygon is interpreted as area (false) or strokes (true).
- B2DPolyPolygon clipPolyPolygonOnRange(const B2DPolyPolygon& rCandidate, const B2DRange& rRange, bool bInside, bool bStroke);
- B2DPolyPolygon clipPolygonOnRange(const B2DPolygon& rCandidate, const B2DRange& rRange, bool bInside, bool bStroke);
+ BASEGFX_DLLPUBLIC B2DPolyPolygon clipPolyPolygonOnRange(const B2DPolyPolygon& rCandidate, const B2DRange& rRange, bool bInside, bool bStroke);
+ BASEGFX_DLLPUBLIC B2DPolyPolygon clipPolygonOnRange(const B2DPolygon& rCandidate, const B2DRange& rRange, bool bInside, bool bStroke);
// Clip given PolyPolygon against the endless edge (ray) defined by the given two points. bAbove defines on which side
// of the edge the result will be together with the definition of the edge. If the edge is seen as a vector
// from A to B and bAbove is true, the result will contain the geometry left of the vector.
// The switch bStroke decides if the polygon is interpreted as area (false) or strokes (true).
- B2DPolyPolygon clipPolyPolygonOnEdge(const B2DPolyPolygon& rCandidate, const B2DPoint& rPointA, const B2DPoint& rPointB, bool bAbove, bool bStroke);
- B2DPolyPolygon clipPolygonOnEdge(const B2DPolygon& rCandidate, const B2DPoint& rPointA, const B2DPoint& rPointB, bool bAbove, bool bStroke);
+ BASEGFX_DLLPUBLIC B2DPolyPolygon clipPolyPolygonOnEdge(const B2DPolyPolygon& rCandidate, const B2DPoint& rPointA, const B2DPoint& rPointB, bool bAbove, bool bStroke);
+ BASEGFX_DLLPUBLIC B2DPolyPolygon clipPolygonOnEdge(const B2DPolygon& rCandidate, const B2DPoint& rPointA, const B2DPoint& rPointB, bool bAbove, bool bStroke);
// Clip given PolyPolygon against given clipping polygon.
// The switch bStroke decides if the polygon is interpreted as area (false) or strokes (true).
@@ -64,13 +65,13 @@ namespace basegfx
// With filled polygons, You get all PolyPolygon parts which were inside rClip.
// The switch bInside decides if the parts inside the clip polygon or outside shall be created.
// The clip polygon is always assumed closed, even when it's isClosed() is false.
- B2DPolyPolygon clipPolyPolygonOnPolyPolygon(const B2DPolyPolygon& rCandidate, const B2DPolyPolygon& rClip, bool bInside, bool bStroke);
- B2DPolyPolygon clipPolygonOnPolyPolygon(const B2DPolygon& rCandidate, const B2DPolyPolygon& rClip, bool bInside, bool bStroke);
+ BASEGFX_DLLPUBLIC B2DPolyPolygon clipPolyPolygonOnPolyPolygon(const B2DPolyPolygon& rCandidate, const B2DPolyPolygon& rClip, bool bInside, bool bStroke);
+ BASEGFX_DLLPUBLIC B2DPolyPolygon clipPolygonOnPolyPolygon(const B2DPolygon& rCandidate, const B2DPolyPolygon& rClip, bool bInside, bool bStroke);
// clip the given polygon against the given range. the resulting polygon will always contain
// the inside parts which will always be interpreted as areas. the incoming polygon is expected
// to be a simple triangle list. the result is also a simple triangle list.
- B2DPolygon clipTriangleListOnRange( const B2DPolygon& rCandidate, const B2DRange& rRange );
+ BASEGFX_DLLPUBLIC B2DPolygon clipTriangleListOnRange( const B2DPolygon& rCandidate, const B2DRange& rRange );
} // end of namespace tools
} // end of namespace basegfx
Modified: incubator/ooo/branches/gbuild/main/basegfx/inc/basegfx/polygon/b2dpolygoncutandtouch.hxx
URL: http://svn.apache.org/viewvc/incubator/ooo/branches/gbuild/main/basegfx/inc/basegfx/polygon/b2dpolygoncutandtouch.hxx?rev=1409504&r1=1409503&r2=1409504&view=diff
==============================================================================
--- incubator/ooo/branches/gbuild/main/basegfx/inc/basegfx/polygon/b2dpolygoncutandtouch.hxx (original)
+++ incubator/ooo/branches/gbuild/main/basegfx/inc/basegfx/polygon/b2dpolygoncutandtouch.hxx Wed Nov 14 22:52:53 2012
@@ -26,6 +26,7 @@
#include <basegfx/polygon/b2dpolygon.hxx>
#include <basegfx/polygon/b2dpolypolygon.hxx>
+#include <basegfx/basegfxdllapi.h>
//////////////////////////////////////////////////////////////////////////////
@@ -35,39 +36,39 @@ namespace basegfx
{
// look for self-intersections and self-touches (points on an edge) in given polygon and add
// extra points there. Result will have no touches or intersections on an edge, only on points
- B2DPolygon addPointsAtCutsAndTouches(const B2DPolygon& rCandidate);
+ BASEGFX_DLLPUBLIC B2DPolygon addPointsAtCutsAndTouches(const B2DPolygon& rCandidate);
// look for polypolygon-intersections and polypolygon-touches (point of poly A on an edge of poly B) in given PolyPolygon and add
// extra points there. Result will have no touches or intersections between contained polygons on an edge, only on points. For
// convenience, the correction for self-intersections for each member polygon will be used, too.
// Changed: Self intersections are searched by default, but may be switched off by 2nd parameter.
- B2DPolyPolygon addPointsAtCutsAndTouches(const B2DPolyPolygon& rCandidate, bool bSelfIntersections = true);
+ BASEGFX_DLLPUBLIC B2DPolyPolygon addPointsAtCutsAndTouches(const B2DPolyPolygon& rCandidate, bool bSelfIntersections = true);
// look for intersections of rCandidate with all polygons from rMask and add extra points there. Do
// not change or add points to rMask.
- B2DPolygon addPointsAtCutsAndTouches(const B2DPolyPolygon& rMask, const B2DPolygon& rCandidate);
+ BASEGFX_DLLPUBLIC B2DPolygon addPointsAtCutsAndTouches(const B2DPolyPolygon& rMask, const B2DPolygon& rCandidate);
// look for intersections of rCandidate with all polygons from rMask and add extra points there. Do
// not change or add points to rMask.
- B2DPolyPolygon addPointsAtCutsAndTouches(const B2DPolyPolygon& rMask, const B2DPolyPolygon& rCandidate);
+ BASEGFX_DLLPUBLIC B2DPolyPolygon addPointsAtCutsAndTouches(const B2DPolyPolygon& rMask, const B2DPolyPolygon& rCandidate);
// look for intersections of rCandidate with the edge from rStart to rEnd and add extra points there.
// Points are only added in the range of the edge, not on the endless vector.
- B2DPolygon addPointsAtCuts(const B2DPolygon& rCandidate, const B2DPoint& rStart, const B2DPoint& rEnd);
- B2DPolyPolygon addPointsAtCuts(const B2DPolyPolygon& rCandidate, const B2DPoint& rStart, const B2DPoint& rEnd);
+ BASEGFX_DLLPUBLIC B2DPolygon addPointsAtCuts(const B2DPolygon& rCandidate, const B2DPoint& rStart, const B2DPoint& rEnd);
+ BASEGFX_DLLPUBLIC B2DPolyPolygon addPointsAtCuts(const B2DPolyPolygon& rCandidate, const B2DPoint& rStart, const B2DPoint& rEnd);
// look for intersections of rCandidate with the mask Polygon and add extra points there.
// The mask polygon is assumed to be closed, even when it's not explicitely.
- B2DPolygon addPointsAtCuts(const B2DPolygon& rCandidate, const B2DPolyPolygon& rMask);
- B2DPolyPolygon addPointsAtCuts(const B2DPolyPolygon& rCandidate, const B2DPolyPolygon& rMask);
+ BASEGFX_DLLPUBLIC B2DPolygon addPointsAtCuts(const B2DPolygon& rCandidate, const B2DPolyPolygon& rMask);
+ BASEGFX_DLLPUBLIC B2DPolyPolygon addPointsAtCuts(const B2DPolyPolygon& rCandidate, const B2DPolyPolygon& rMask);
// look for self-intersections in given polygon and add extra points there. Result will have no
// intersections on an edge
- B2DPolygon addPointsAtCuts(const B2DPolygon& rCandidate);
+ BASEGFX_DLLPUBLIC B2DPolygon addPointsAtCuts(const B2DPolygon& rCandidate);
// add points at all self-intersections of single polygons (depends on bSelfIntersections)
// and at polygon-polygon intersections
- B2DPolyPolygon addPointsAtCuts(const B2DPolyPolygon& rCandidate, bool bSelfIntersections = true);
+ BASEGFX_DLLPUBLIC B2DPolyPolygon addPointsAtCuts(const B2DPolyPolygon& rCandidate, bool bSelfIntersections = true);
} // end of namespace tools
} // end of namespace basegfx