22#include <com/sun/star/uno/XComponentContext.hpp>
23#include <com/sun/star/beans/XPropertySet.hpp>
24#include <com/sun/star/lang/XServiceName.hpp>
25#include <com/sun/star/lang/XServiceInfo.hpp>
26#include <com/sun/star/awt/XWindowListener.hpp>
27#include <com/sun/star/util/XUpdatable.hpp>
28#include <com/sun/star/rendering/XSpriteCanvas.hpp>
29#include <com/sun/star/rendering/XIntegerBitmap.hpp>
30#include <com/sun/star/rendering/XGraphicDevice.hpp>
31#include <com/sun/star/rendering/XBufferController.hpp>
48 typedef ::cppu::WeakComponentImplHelper< css::rendering::XSpriteCanvas,
49 css::rendering::XIntegerBitmap,
50 css::rendering::XGraphicDevice,
51 css::lang::XMultiServiceFactory,
52 css::rendering::XBufferController,
53 css::awt::XWindowListener,
54 css::util::XUpdatable,
55 css::beans::XPropertySet,
56 css::lang::XServiceName,
58 typedef ::canvas::BufferedGraphicDeviceBase< ::canvas::DisambiguationHelper< WindowGraphicDeviceBase_Base >,
81 public SurfaceProvider
104 const css::uno::Reference< css::uno::XComponentContext >& rxContext );
134 virtual ::cairo::SurfaceSharedPtr
getSurface()
override;
135 virtual ::cairo::SurfaceSharedPtr
createSurface( const ::basegfx::B2ISize& rSize,
int aContent )
override;
141 virtual bool repaint( const ::cairo::SurfaceSharedPtr& pSurface,
142 const css::rendering::ViewState& viewState,
143 const css::rendering::RenderState& renderState )
override;
Product of this component's factory.
virtual OUString SAL_CALL getServiceName() override
virtual sal_Bool SAL_CALL supportsService(const OUString &sServiceName) override
css::uno::Sequence< css::uno::Any > maArguments
::cairo::SurfaceSharedPtr const & getWindowSurface() const
virtual ::cairo::SurfaceSharedPtr createSurface(const ::basegfx::B2ISize &rSize, int aContent) override
void setSizePixel(const ::basegfx::B2ISize &rSize)
virtual void disposeThis() override
Dispose all internal references.
virtual bool repaint(const ::cairo::SurfaceSharedPtr &pSurface, const css::rendering::ViewState &viewState, const css::rendering::RenderState &renderState) override
virtual ::cairo::SurfaceSharedPtr getSurface() override
::cairo::SurfaceSharedPtr const & getBufferSurface() const
virtual ::cairo::SurfaceSharedPtr changeSurface() override
virtual OUString SAL_CALL getImplementationName() override
virtual sal_Bool SAL_CALL switchBuffer(sal_Bool bUpdateAll) override
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override
virtual OutputDevice * getOutputDevice() override
virtual sal_Bool SAL_CALL showBuffer(sal_Bool bUpdateAll) override
const ::basegfx::B2ISize & getSizePixel() const
SpriteCanvas(const css::uno::Sequence< css::uno::Any > &aArguments, const css::uno::Reference< css::uno::XComponentContext > &rxContext)
virtual sal_Bool SAL_CALL updateScreen(sal_Bool bUpdateAll) override
Helper template base class for XGraphicDevice implementations on windows.
Helper template to handle XIntegerBitmap method forwarding to BitmapCanvasHelper.
Canvas surface containing sprites.
std::shared_ptr< Surface > SurfaceSharedPtr
::cppu::WeakComponentImplHelper< css::rendering::XSpriteCanvas, css::rendering::XIntegerBitmap, css::rendering::XGraphicDevice, css::lang::XMultiServiceFactory, css::rendering::XBufferController, css::awt::XWindowListener, css::util::XUpdatable, css::beans::XPropertySet, css::lang::XServiceName, css::lang::XServiceInfo > WindowGraphicDeviceBase_Base
::canvas::BufferedGraphicDeviceBase< ::canvas::DisambiguationHelper< WindowGraphicDeviceBase_Base >, SpriteDeviceHelper, ::osl::MutexGuard, ::cppu::OWeakObject > SpriteCanvasBase_Base
::canvas::SpriteCanvasBase< SpriteCanvasBaseSpriteSurface_Base, SpriteCanvasHelper, ::osl::MutexGuard, ::cppu::OWeakObject > SpriteCanvasBaseT
::rtl::Reference< SpriteCanvas > SpriteCanvasRef
#define DECLARE_UNO3_XCOMPONENT_AGG_DEFAULTS(classname, baseclass, implhelper)