summaryrefslogtreecommitdiff
path: root/drawinglayer/inc/drawinglayer/primitive2d
diff options
context:
space:
mode:
authorRafael Dominguez <venccsralph@gmail.com>2012-07-06 05:23:43 -0430
committerRafael Dominguez <venccsralph@gmail.com>2012-07-06 05:23:43 -0430
commit5eb74b1fcad83c605cc00e377460e0ae313d7277 (patch)
treedae1a098290f55460e0da0a024105c1e28e19410 /drawinglayer/inc/drawinglayer/primitive2d
parentdafa1f576482bc7a0086c353ffff0dbd594a7915 (diff)
parentfa99c1ea4f6d450cc12998d4513ed8cf77bafcc9 (diff)
Merge branch 'feature/template-dialog'
Conflicts: sfx2/Library_sfx.mk sfx2/inc/sfx2/sfxcommands.h sfx2/inc/sfx2/sfxsids.hrc sfx2/source/appl/appserv.cxx svtools/Library_svt.mk Change-Id: I4305d81cb5fd6f5192a29f85835c78f31310b0d6
Diffstat (limited to 'drawinglayer/inc/drawinglayer/primitive2d')
-rw-r--r--drawinglayer/inc/drawinglayer/primitive2d/mediaprimitive2d.hxx6
1 files changed, 5 insertions, 1 deletions
diff --git a/drawinglayer/inc/drawinglayer/primitive2d/mediaprimitive2d.hxx b/drawinglayer/inc/drawinglayer/primitive2d/mediaprimitive2d.hxx
index bc9dcb9a495e..a0309334d54b 100644
--- a/drawinglayer/inc/drawinglayer/primitive2d/mediaprimitive2d.hxx
+++ b/drawinglayer/inc/drawinglayer/primitive2d/mediaprimitive2d.hxx
@@ -34,6 +34,7 @@
#include <drawinglayer/primitive2d/baseprimitive2d.hxx>
#include <basegfx/matrix/b2dhommatrix.hxx>
#include <basegfx/color/bcolor.hxx>
+#include <vcl/graph.hxx>
//////////////////////////////////////////////////////////////////////////////
@@ -65,6 +66,8 @@ namespace drawinglayer
/// discrete border (in 'pixels')
sal_uInt32 mnDiscreteBorder;
+ const Graphic maSnapshot;
+
protected:
/// local decomposition
virtual Primitive2DSequence create2DDecomposition(const geometry::ViewInformation2D& rViewInformation) const;
@@ -75,7 +78,8 @@ namespace drawinglayer
const basegfx::B2DHomMatrix& rTransform,
const rtl::OUString& rURL,
const basegfx::BColor& rBackgroundColor,
- sal_uInt32 nDiscreteBorder);
+ sal_uInt32 nDiscreteBorder,
+ const Graphic &rSnapshot);
/// data read access
const basegfx::B2DHomMatrix& getTransform() const { return maTransform; }