summaryrefslogtreecommitdiff
path: root/svx/source/svdraw/gradtrns.hxx
diff options
context:
space:
mode:
authorArmin Weiss <aw@openoffice.org>2001-01-16 12:48:17 +0000
committerArmin Weiss <aw@openoffice.org>2001-01-16 12:48:17 +0000
commit3d7dcb2b30d325472607336c241b0ebe6a7b2e84 (patch)
tree2fa663ffef76de03095cdb7f74b8630c0960f50d /svx/source/svdraw/gradtrns.hxx
parentee7bab937a8406f752ce94dafd875d0f1fc8ec5f (diff)
#79946# changed bijective transformations, reimplementation
Diffstat (limited to 'svx/source/svdraw/gradtrns.hxx')
-rw-r--r--svx/source/svdraw/gradtrns.hxx25
1 files changed, 6 insertions, 19 deletions
diff --git a/svx/source/svdraw/gradtrns.hxx b/svx/source/svdraw/gradtrns.hxx
index 7f7c38df8219..a3c21b9be03c 100644
--- a/svx/source/svdraw/gradtrns.hxx
+++ b/svx/source/svdraw/gradtrns.hxx
@@ -2,9 +2,9 @@
*
* $RCSfile: gradtrns.hxx,v $
*
- * $Revision: 1.1.1.1 $
+ * $Revision: 1.2 $
*
- * last change: $Author: hr $ $Date: 2000-09-18 17:01:24 $
+ * last change: $Author: aw $ $Date: 2001-01-16 13:48:17 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -91,26 +91,13 @@ public:
class GradTransformer
{
- // private members to hold necessary data
- Rectangle aBoundRect;
- Point aCenter;
- double fGradientAngle;
- double fObjectAngle;
- Vector2D aStartPos;
- Vector2D aEndPos;
- Vector2D aCenterPos;
- unsigned bInnerOuterChanged : 1;
- unsigned bDoCorrectOffset : 1;
- unsigned bDoCorrectRotation : 1;
-
- // private helping functions
- void CreateRotatedBoundRect(double fRotVec);
-
public:
GradTransformer() {}
- void GradToVec(GradTransGradient& rG, GradTransVector& rV, const SdrObject* pObj);
- void VecToGrad(GradTransVector& rV, GradTransGradient& rG, GradTransGradient& rGOld, const SdrObject* pObj, BOOL bMoveSingle, BOOL bMoveFirst);
+ void GradToVec(GradTransGradient& rG, GradTransVector& rV,
+ const SdrObject* pObj);
+ void VecToGrad(GradTransVector& rV, GradTransGradient& rG,
+ GradTransGradient& rGOld, const SdrObject* pObj, BOOL bMoveSingle, BOOL bMoveFirst);
};
#endif _GRADTRANS_HXX