summaryrefslogtreecommitdiff
path: root/drawinglayer/inc/drawinglayer/primitive2d
diff options
context:
space:
mode:
authorRafael Dominguez <venccsralph@gmail.com>2012-06-28 09:47:41 -0430
committerRafael Dominguez <venccsralph@gmail.com>2012-06-28 09:47:41 -0430
commitfd174268bdea92d966feffbb312c0c3d19de3c5f (patch)
treee4619c6bfc5e1fdf6fe8aa471d5652d864bdff01 /drawinglayer/inc/drawinglayer/primitive2d
parent9295ceb1d3f9ba78881aef62c7059b4ef10177c4 (diff)
Remove avmedia dependency from drawinglayer.
Change-Id: If5c6bacd77783cc58da7fc31043bb9dd5bc4403d
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; }