summaryrefslogtreecommitdiff
path: root/slideshow/source/inc/animatedsprite.hxx
diff options
context:
space:
mode:
authorThorsten Behrens <thb@documentfoundation.org>2013-11-03 21:20:00 +0100
committerThorsten Behrens <thb@documentfoundation.org>2014-01-27 00:36:18 +0100
commit2017bbdf90a22627d5d85b151795df09c5c44d16 (patch)
treede81368d9841b3b212fab7f6daaff7f34d21dc22 /slideshow/source/inc/animatedsprite.hxx
parent9fa9ea0423d97c39293b1788940bda93dbf99ec9 (diff)
Wrap up plain XCanvas with view-specific render state. feature/slideshowprimitives
Since XCanvas is stateless, we'd need to convey some state around, e.g. transformations and clips. Done via struct Canvas, that we pass on to functions, and sometimes keep as local state for stateful objects like Views. WIP for now. Change-Id: I96ce2f4f1ab97c139e09938555d53f4f1edd2c02
Diffstat (limited to 'slideshow/source/inc/animatedsprite.hxx')
-rw-r--r--slideshow/source/inc/animatedsprite.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/slideshow/source/inc/animatedsprite.hxx b/slideshow/source/inc/animatedsprite.hxx
index 8be16d0d2ea2..5c0cb1ea243e 100644
--- a/slideshow/source/inc/animatedsprite.hxx
+++ b/slideshow/source/inc/animatedsprite.hxx
@@ -21,7 +21,6 @@
#define INCLUDED_SLIDESHOW_ANIMATEDSPRITE_HXX
#include <com/sun/star/uno/Reference.hxx>
-#include <com/sun/star/rendering/XCanvas.hpp>
#include <com/sun/star/rendering/XCustomSprite.hpp>
#include <basegfx/matrix/b2dhommatrix.hxx>
@@ -29,6 +28,7 @@
#include <basegfx/point/b2dpoint.hxx>
#include <basegfx/polygon/b2dpolypolygon.hxx>
+#include "canvas.hxx"
#include "viewlayer.hxx"
#include <boost/optional.hpp>
@@ -106,7 +106,7 @@ namespace slideshow
canvas is already correctly setup, matching the
associated destination canvas.
*/
- css::uno::Reference< css::rendering::XCanvas > getContentCanvas() const;
+ const Canvas& getContentCanvas() const;
/** Move the sprite in device pixel space.