diff options
author | Joseph Powers <jpowers27@cox.net> | 2011-08-12 22:07:23 -0700 |
---|---|---|
committer | Joseph Powers <jpowers27@cox.net> | 2011-08-12 22:07:23 -0700 |
commit | 619378fd44f4296bfd52ad9172508ef9b34a4f84 (patch) | |
tree | f2b6f097cb62f2c266b5dfec4680ab98ce404eaf /sd/source/ui/inc/fumorph.hxx | |
parent | 0471520e8d583f017ebb1703704be4da4444da3c (diff) |
Replace List with std::vector< ::basegfx::B2DPolyPolygon* >
Diffstat (limited to 'sd/source/ui/inc/fumorph.hxx')
-rw-r--r-- | sd/source/ui/inc/fumorph.hxx | 42 |
1 files changed, 33 insertions, 9 deletions
diff --git a/sd/source/ui/inc/fumorph.hxx b/sd/source/ui/inc/fumorph.hxx index 47312109aa6f..95f54b6b14f7 100644 --- a/sd/source/ui/inc/fumorph.hxx +++ b/sd/source/ui/inc/fumorph.hxx @@ -32,8 +32,8 @@ #include "fupoor.hxx" #include <math.h> +#include <vector> -class List; namespace basegfx { class B2DPolyPolygon; class B2DPolygon; @@ -52,6 +52,8 @@ public: virtual void DoExecute( SfxRequest& rReq ); private: + typedef ::std::vector< ::basegfx::B2DPolyPolygon* > B2DPolyPolygonList_impl; + FuMorph ( ViewShell* pViewSh, ::sd::Window* pWin, @@ -59,18 +61,40 @@ private: SdDrawDocument* pDoc, SfxRequest& rReq); - void ImpInsertPolygons(List& rPolyPolyList3D, sal_Bool bAttributeFade, - const SdrObject* pObj1, const SdrObject* pObj2); + void ImpInsertPolygons( + B2DPolyPolygonList_impl& rPolyPolyList3D, + sal_Bool bAttributeFade, + const SdrObject* pObj1, + const SdrObject* pObj2 + ); + ::basegfx::B2DPolyPolygon* ImpCreateMorphedPolygon( const ::basegfx::B2DPolyPolygon& rPolyPolyStart, const ::basegfx::B2DPolyPolygon& rPolyPolyEnd, - double fMorphingFactor); + double fMorphingFactor + ); + sal_Bool ImpMorphPolygons( - const ::basegfx::B2DPolyPolygon& rPolyPoly1, const ::basegfx::B2DPolyPolygon& rPolyPoly2, - const sal_uInt16 nSteps, List& rPolyPolyList3D); - void ImpAddPolys(::basegfx::B2DPolyPolygon& rSmaller, const ::basegfx::B2DPolyPolygon& rBigger); - void ImpEqualizePolyPointCount(::basegfx::B2DPolygon& rSmall, const ::basegfx::B2DPolygon& rBig); - sal_uInt32 ImpGetNearestIndex(const ::basegfx::B2DPolygon& rPoly, const ::basegfx::B2DPoint& rPos); + const ::basegfx::B2DPolyPolygon& rPolyPoly1, + const ::basegfx::B2DPolyPolygon& rPolyPoly2, + const sal_uInt16 nSteps, + B2DPolyPolygonList_impl& rPolyPolyList3D + ); + + void ImpAddPolys( + ::basegfx::B2DPolyPolygon& rSmaller, + const ::basegfx::B2DPolyPolygon& rBigger + ); + + void ImpEqualizePolyPointCount( + ::basegfx::B2DPolygon& rSmall, + const ::basegfx::B2DPolygon& rBig + ); + + sal_uInt32 ImpGetNearestIndex( + const ::basegfx::B2DPolygon& rPoly, + const ::basegfx::B2DPoint& rPos + ); }; } // end of namespace sd |