summaryrefslogtreecommitdiff
path: root/sd/source/ui/inc/sprite.hxx
diff options
context:
space:
mode:
authorKai Ahrens <ka@openoffice.org>2000-11-01 15:52:33 +0000
committerKai Ahrens <ka@openoffice.org>2000-11-01 15:52:33 +0000
commit279fd5669cc23cec013e625e8755f66a41265bfb (patch)
treea588c630291cfc45935998ceec2f9c9404665198 /sd/source/ui/inc/sprite.hxx
parent51cb8292a70ecf32d9df9f666cb25e93d3d3f31a (diff)
added scaling functionality
Diffstat (limited to 'sd/source/ui/inc/sprite.hxx')
-rw-r--r--sd/source/ui/inc/sprite.hxx12
1 files changed, 7 insertions, 5 deletions
diff --git a/sd/source/ui/inc/sprite.hxx b/sd/source/ui/inc/sprite.hxx
index 82fbb1967eed..f210f7e11de8 100644
--- a/sd/source/ui/inc/sprite.hxx
+++ b/sd/source/ui/inc/sprite.hxx
@@ -2,9 +2,9 @@
*
* $RCSfile: sprite.hxx,v $
*
- * $Revision: 1.1.1.1 $
+ * $Revision: 1.2 $
*
- * last change: $Author: hr $ $Date: 2000-09-18 16:48:41 $
+ * last change: $Author: ka $ $Date: 2000-11-01 16:52:33 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -91,7 +91,7 @@ protected:
MapMode aOldMap;
Region aOldClip;
- Rectangle aOldRect;
+ Rectangle aPaintRect;
Point aPt;
Size aSz;
Point aLayerOffsetPix;
@@ -106,7 +106,8 @@ protected:
ULONG nLastTime;
BOOL bClipRegion;
- void ImpDrawSprite( OutputDevice* pOut );
+ BOOL ImplPrepareMoveTo();
+ void ImplDrawSprite( OutputDevice* pOut, const Point& rPt, const Size& rSz );
public:
@@ -119,7 +120,8 @@ public:
SdMetaFile** ppTopMtf = NULL,
Marker* pObjStartMarker = NULL,
Marker* pObjEndMarker = NULL );
- void MoveTo( OutputDevice* pOut, const Point& rPt );
+ void MoveTo( OutputDevice* pOut, const Point& rPt, const Size* pSz = NULL );
+ void MoveTo( OutputDevice* pOut, const Point& rPt, const double& rScaleX, const double& rScaleY );
void EndMoving( OutputDevice* pOut );
};