summaryrefslogtreecommitdiff
path: root/canvas/source/opengl
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2013-11-28 22:06:01 +0100
committerMichael Stahl <mstahl@redhat.com>2013-11-28 22:06:55 +0100
commitf0d93fab3eaad5865feb5895e542e8947c866aef (patch)
tree35d240e32ab9288f2d971fc66da526739d2187fe /canvas/source/opengl
parentcb17d9392b78fdce96aa8e140df8b90d7abe0d2c (diff)
add dummy oglcanvas::SpriteCanvas::copyRect so this compiles...
Change-Id: I5c6986b4c765c8328cacb84ce84cc99eb6871d0a
Diffstat (limited to 'canvas/source/opengl')
-rw-r--r--canvas/source/opengl/ogl_spritecanvas.hxx13
1 files changed, 13 insertions, 0 deletions
diff --git a/canvas/source/opengl/ogl_spritecanvas.hxx b/canvas/source/opengl/ogl_spritecanvas.hxx
index f4bc534883e8..9e7985303652 100644
--- a/canvas/source/opengl/ogl_spritecanvas.hxx
+++ b/canvas/source/opengl/ogl_spritecanvas.hxx
@@ -88,6 +88,19 @@ namespace oglcanvas
virtual ::sal_Bool SAL_CALL showBuffer( ::sal_Bool bUpdateAll ) throw (::com::sun::star::uno::RuntimeException);
virtual ::sal_Bool SAL_CALL switchBuffer( ::sal_Bool bUpdateAll ) throw (::com::sun::star::uno::RuntimeException);
+ // XBitmapCanvas
+ virtual void SAL_CALL copyRect(
+ const ::com::sun::star::uno::Reference< ::com::sun::star::rendering::XBitmapCanvas >& /*sourceCanvas*/,
+ const ::com::sun::star::geometry::RealRectangle2D& /*sourceRect*/,
+ const ::com::sun::star::rendering::ViewState& /*sourceViewState*/,
+ const ::com::sun::star::rendering::RenderState& /*sourceRenderState*/,
+ const ::com::sun::star::geometry::RealRectangle2D& /*destRect*/,
+ const ::com::sun::star::rendering::ViewState& /*destViewState*/,
+ const ::com::sun::star::rendering::RenderState& /*destRenderState*/)
+ throw (::com::sun::star::lang::IllegalArgumentException,
+ ::com::sun::star::uno::RuntimeException)
+ { assert(false); }
+
// XSpriteCanvas
virtual ::com::sun::star::uno::Reference< ::com::sun::star::rendering::XAnimatedSprite > SAL_CALL createSpriteFromAnimation( const ::com::sun::star::uno::Reference< ::com::sun::star::rendering::XAnimation >& animation ) throw (::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::uno::RuntimeException);
virtual ::com::sun::star::uno::Reference< ::com::sun::star::rendering::XAnimatedSprite > SAL_CALL createSpriteFromBitmaps( const ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Reference< ::com::sun::star::rendering::XBitmap > >& animationBitmaps, ::sal_Int8 interpolationMode ) throw (::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::rendering::VolatileContentDestroyedException, ::com::sun::star::uno::RuntimeException);