diff options
author | Vladimir Glazounov <vg@openoffice.org> | 2005-03-10 12:39:00 +0000 |
---|---|---|
committer | Vladimir Glazounov <vg@openoffice.org> | 2005-03-10 12:39:00 +0000 |
commit | 4dda69abbfef2ec2906b08df734acf02a50566cd (patch) | |
tree | 8760fa7aa5766a80fa266c9043c7a18756e6fe8a /basegfx | |
parent | 4ee5a8dba06056ea99e79e279da991e94314a162 (diff) |
INTEGRATION: CWS presfixes01 (1.2.8); FILE MERGED
2005/02/16 11:05:13 fs 1.2.8.1: #i42558# drafts.com.sun.star.drawing/rendering/geometry moved to com.sun.star.*
Diffstat (limited to 'basegfx')
-rwxr-xr-x | basegfx/inc/basegfx/tools/canvastools.hxx | 58 | ||||
-rwxr-xr-x | basegfx/source/tools/canvastools.cxx | 45 |
2 files changed, 51 insertions, 52 deletions
diff --git a/basegfx/inc/basegfx/tools/canvastools.hxx b/basegfx/inc/basegfx/tools/canvastools.hxx index 362994f5d723..903b1ea0e051 100755 --- a/basegfx/inc/basegfx/tools/canvastools.hxx +++ b/basegfx/inc/basegfx/tools/canvastools.hxx @@ -2,9 +2,9 @@ * * $RCSfile: canvastools.hxx,v $ * - * $Revision: 1.2 $ + * $Revision: 1.3 $ * - * last change: $Author: rt $ $Date: 2004-11-26 18:36:22 $ + * last change: $Author: vg $ $Date: 2005-03-10 13:37:32 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -70,7 +70,7 @@ #endif -namespace drafts { namespace com { namespace sun { namespace star { namespace geometry +namespace com { namespace sun { namespace star { namespace geometry { struct AffineMatrix2D; struct RealPoint2D; @@ -80,13 +80,13 @@ namespace drafts { namespace com { namespace sun { namespace star { namespace ge struct IntegerSize2D; struct IntegerRectangle2D; struct RealBezierSegment2D; -} } } } } +} } } } -namespace drafts { namespace com { namespace sun { namespace star { namespace rendering +namespace com { namespace sun { namespace star { namespace rendering { class XGraphicDevice; class XPolyPolygon2D; -} } } } } +} } } } namespace com { namespace sun { namespace star { namespace awt { @@ -112,64 +112,64 @@ namespace basegfx // Polygon conversions // =================================================================== - ::com::sun::star::uno::Reference< ::drafts::com::sun::star::rendering::XPolyPolygon2D > + ::com::sun::star::uno::Reference< ::com::sun::star::rendering::XPolyPolygon2D > xPolyPolygonFromB2DPolygon( const ::com::sun::star::uno::Reference< - ::drafts::com::sun::star::rendering::XGraphicDevice >& xGraphicDevice, + ::com::sun::star::rendering::XGraphicDevice >& xGraphicDevice, const ::basegfx::B2DPolygon& rPoly ); - ::com::sun::star::uno::Reference< ::drafts::com::sun::star::rendering::XPolyPolygon2D > + ::com::sun::star::uno::Reference< ::com::sun::star::rendering::XPolyPolygon2D > xPolyPolygonFromB2DPolyPolygon( const ::com::sun::star::uno::Reference< - ::drafts::com::sun::star::rendering::XGraphicDevice >& xGraphicDevice, + ::com::sun::star::rendering::XGraphicDevice >& xGraphicDevice, const ::basegfx::B2DPolyPolygon& rPolyPoly ); ::basegfx::B2DPolygon polygonFromPoint2DSequence( const ::com::sun::star::uno::Sequence< - ::drafts::com::sun::star::geometry::RealPoint2D >& rPoints ); + ::com::sun::star::geometry::RealPoint2D >& rPoints ); ::basegfx::B2DPolyPolygon polyPolygonFromPoint2DSequenceSequence( const ::com::sun::star::uno::Sequence< - ::com::sun::star::uno::Sequence< ::drafts::com::sun::star::geometry::RealPoint2D > >& rPoints ); + ::com::sun::star::uno::Sequence< ::com::sun::star::geometry::RealPoint2D > >& rPoints ); ::basegfx::B2DPolygon polygonFromBezier2DSequence( const ::com::sun::star::uno::Sequence< - ::drafts::com::sun::star::geometry::RealBezierSegment2D >& rPoints ); + ::com::sun::star::geometry::RealBezierSegment2D >& rPoints ); ::basegfx::B2DPolyPolygon polyPolygonFromBezier2DSequenceSequence( const ::com::sun::star::uno::Sequence< - ::com::sun::star::uno::Sequence< ::drafts::com::sun::star::geometry::RealBezierSegment2D > >& rPoints ); + ::com::sun::star::uno::Sequence< ::com::sun::star::geometry::RealBezierSegment2D > >& rPoints ); // Matrix conversions // =================================================================== - ::drafts::com::sun::star::geometry::AffineMatrix2D& - affineMatrixFromHomMatrix( ::drafts::com::sun::star::geometry::AffineMatrix2D& matrix, + ::com::sun::star::geometry::AffineMatrix2D& + affineMatrixFromHomMatrix( ::com::sun::star::geometry::AffineMatrix2D& matrix, const ::basegfx::B2DHomMatrix& transform); ::basegfx::B2DHomMatrix& homMatrixFromAffineMatrix( ::basegfx::B2DHomMatrix& transform, - const ::drafts::com::sun::star::geometry::AffineMatrix2D& matrix ); + const ::com::sun::star::geometry::AffineMatrix2D& matrix ); // Geometry conversions // =================================================================== - ::drafts::com::sun::star::geometry::RealSize2D size2DFromB2DSize( const ::basegfx::B2DVector& ); - ::drafts::com::sun::star::geometry::RealPoint2D point2DFromB2DPoint( const ::basegfx::B2DPoint& ); - ::drafts::com::sun::star::geometry::RealRectangle2D rectangle2DFromB2DRectangle( const ::basegfx::B2DRange& ); + ::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& ); - ::basegfx::B2DVector b2DSizeFromRealSize2D( const ::drafts::com::sun::star::geometry::RealSize2D& ); - ::basegfx::B2DPoint b2DPointFromRealPoint2D( const ::drafts::com::sun::star::geometry::RealPoint2D& ); - ::basegfx::B2DRange b2DRectangleFromRealRectangle2D( const ::drafts::com::sun::star::geometry::RealRectangle2D& ); + ::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& ); - ::drafts::com::sun::star::geometry::IntegerSize2D integerSize2DFromB2ISize( const ::basegfx::B2IVector& ); - ::drafts::com::sun::star::geometry::IntegerPoint2D integerPoint2DFromB2IPoint( const ::basegfx::B2IPoint& ); - ::drafts::com::sun::star::geometry::IntegerRectangle2D integerRectangle2DFromB2IRectangle( const ::basegfx::B2IRange& ); + ::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 ::drafts::com::sun::star::geometry::IntegerSize2D& ); - ::basegfx::B2IPoint b2IPointFromIntegerPoint2D( const ::drafts::com::sun::star::geometry::IntegerPoint2D& ); - ::basegfx::B2IRange b2IRectangleFromIntegerRectangle2D( const ::drafts::com::sun::star::geometry::IntegerRectangle2D& ); + ::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& ); ::com::sun::star::awt::Size awtSizeFromB2ISize( const ::basegfx::B2IVector& ); ::com::sun::star::awt::Point awtPointFromB2IPoint( const ::basegfx::B2IPoint& ); diff --git a/basegfx/source/tools/canvastools.cxx b/basegfx/source/tools/canvastools.cxx index 33c3390f1df1..594c53f8e1c8 100755 --- a/basegfx/source/tools/canvastools.cxx +++ b/basegfx/source/tools/canvastools.cxx @@ -2,9 +2,9 @@ * * $RCSfile: canvastools.cxx,v $ * - * $Revision: 1.2 $ + * $Revision: 1.3 $ * - * last change: $Author: rt $ $Date: 2004-11-26 18:40:59 $ + * last change: $Author: vg $ $Date: 2005-03-10 13:39:00 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -59,35 +59,35 @@ * ************************************************************************/ -#ifndef _DRAFTS_COM_SUN_STAR_GEOMETRY_REALSIZE2D_HPP__ -#include <drafts/com/sun/star/geometry/RealSize2D.hpp> +#ifndef _COM_SUN_STAR_GEOMETRY_REALSIZE2D_HPP__ +#include <com/sun/star/geometry/RealSize2D.hpp> #endif -#ifndef _DRAFTS_COM_SUN_STAR_GEOMETRY_REALPOINT2D_HPP__ -#include <drafts/com/sun/star/geometry/RealPoint2D.hpp> +#ifndef _COM_SUN_STAR_GEOMETRY_REALPOINT2D_HPP__ +#include <com/sun/star/geometry/RealPoint2D.hpp> #endif -#ifndef _DRAFTS_COM_SUN_STAR_GEOMETRY_REALRECTANGLE2D_HPP__ -#include <drafts/com/sun/star/geometry/RealRectangle2D.hpp> +#ifndef _COM_SUN_STAR_GEOMETRY_REALRECTANGLE2D_HPP__ +#include <com/sun/star/geometry/RealRectangle2D.hpp> #endif -#ifndef _DRAFTS_COM_SUN_STAR_GEOMETRY_REALBEZIERSEGMENT2D_HPP__ -#include <drafts/com/sun/star/geometry/RealBezierSegment2D.hpp> +#ifndef _COM_SUN_STAR_GEOMETRY_REALBEZIERSEGMENT2D_HPP__ +#include <com/sun/star/geometry/RealBezierSegment2D.hpp> #endif -#ifndef _DRAFTS_COM_SUN_STAR_GEOMETRY_AFFINEMATRIX2D_HPP_ -#include <drafts/com/sun/star/geometry/AffineMatrix2D.hpp> +#ifndef _COM_SUN_STAR_GEOMETRY_AFFINEMATRIX2D_HPP_ +#include <com/sun/star/geometry/AffineMatrix2D.hpp> #endif -#ifndef _DRAFTS_COM_SUN_STAR_GEOMETRY_INTEGERSIZE2D_HPP__ -#include <drafts/com/sun/star/geometry/IntegerSize2D.hpp> +#ifndef _COM_SUN_STAR_GEOMETRY_INTEGERSIZE2D_HPP__ +#include <com/sun/star/geometry/IntegerSize2D.hpp> #endif -#ifndef _DRAFTS_COM_SUN_STAR_GEOMETRY_INTEGERPOINT2D_HPP__ -#include <drafts/com/sun/star/geometry/IntegerPoint2D.hpp> +#ifndef _COM_SUN_STAR_GEOMETRY_INTEGERPOINT2D_HPP__ +#include <com/sun/star/geometry/IntegerPoint2D.hpp> #endif -#ifndef _DRAFTS_COM_SUN_STAR_GEOMETRY_INTEGERRECTANGLE2D_HPP__ -#include <drafts/com/sun/star/geometry/IntegerRectangle2D.hpp> +#ifndef _COM_SUN_STAR_GEOMETRY_INTEGERRECTANGLE2D_HPP__ +#include <com/sun/star/geometry/IntegerRectangle2D.hpp> #endif -#ifndef _DRAFTS_COM_SUN_STAR_RENDERING_XPOLYPOLYGON2D_HPP__ -#include <drafts/com/sun/star/rendering/XPolyPolygon2D.hpp> +#ifndef _COM_SUN_STAR_RENDERING_XPOLYPOLYGON2D_HPP__ +#include <com/sun/star/rendering/XPolyPolygon2D.hpp> #endif -#ifndef _DRAFTS_COM_SUN_STAR_RENDERING_XGRAPHICDEVICE_HPP__ -#include <drafts/com/sun/star/rendering/XGraphicDevice.hpp> +#ifndef _COM_SUN_STAR_RENDERING_XGRAPHICDEVICE_HPP__ +#include <com/sun/star/rendering/XGraphicDevice.hpp> #endif #ifndef _COM_SUN_STAR_AWT_SIZE_HPP__ @@ -115,7 +115,6 @@ #include <limits> -using namespace ::drafts::com::sun::star; using namespace ::com::sun::star; namespace basegfx |