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/util/XUpdatable.hpp>
27#include <com/sun/star/rendering/XIntegerBitmap.hpp>
28#include <com/sun/star/rendering/XGraphicDevice.hpp>
29#include <com/sun/star/rendering/XBitmapCanvas.hpp>
46 typedef ::cppu::WeakComponentImplHelper< css::rendering::XBitmapCanvas,
47 css::rendering::XIntegerBitmap,
48 css::rendering::XGraphicDevice,
49 css::lang::XMultiServiceFactory,
50 css::util::XUpdatable,
51 css::beans::XPropertySet,
52 css::lang::XServiceName,
54 typedef ::canvas::GraphicDeviceBase< ::canvas::BaseMutexHelper< GraphicDeviceBase_Base >,
75 public SurfaceProvider
99 Canvas(
const css::uno::Sequence< css::uno::Any >& aArguments,
100 const css::uno::Reference< css::uno::XComponentContext >& rxContext );
126 virtual bool repaint( const ::cairo::SurfaceSharedPtr& pSurface,
127 const css::rendering::ViewState& viewState,
128 const css::rendering::RenderState& renderState )
override;
131 virtual ::cairo::SurfaceSharedPtr
getSurface()
override;
132 virtual ::cairo::SurfaceSharedPtr
createSurface( const ::basegfx::B2ISize& rSize,
int aContent )
override;
Product of this component's factory.
virtual bool repaint(const ::cairo::SurfaceSharedPtr &pSurface, const css::rendering::ViewState &viewState, const css::rendering::RenderState &renderState) override
virtual OutputDevice * getOutputDevice() override
virtual OUString SAL_CALL getServiceName() override
virtual ::cairo::SurfaceSharedPtr changeSurface() override
virtual sal_Bool SAL_CALL supportsService(const OUString &sServiceName) override
css::uno::Sequence< css::uno::Any > maArguments
virtual OUString SAL_CALL getImplementationName() override
Canvas(const css::uno::Sequence< css::uno::Any > &aArguments, const css::uno::Reference< css::uno::XComponentContext > &rxContext)
virtual ~Canvas() override
For resource tracking.
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override
virtual void disposeThis() override
Dispose all internal references.
virtual ::cairo::SurfaceSharedPtr getSurface() override
virtual ::cairo::SurfaceSharedPtr createSurface(const ::basegfx::B2ISize &rSize, int aContent) override
Helper template base class for XGraphicDevice implementations.
Helper template to handle XIntegerBitmap method forwarding to BitmapCanvasHelper.
::canvas::IntegerBitmapBase< canvas::BitmapCanvasBase2< CanvasBaseSurfaceProvider_Base, CanvasHelper, ::osl::MutexGuard, ::cppu::OWeakObject > > CanvasBaseT
::cppu::WeakComponentImplHelper< css::rendering::XBitmapCanvas, css::rendering::XIntegerBitmap, css::rendering::XGraphicDevice, css::lang::XMultiServiceFactory, css::util::XUpdatable, css::beans::XPropertySet, css::lang::XServiceName, css::lang::XServiceInfo > GraphicDeviceBase_Base
::canvas::GraphicDeviceBase< ::canvas::BaseMutexHelper< GraphicDeviceBase_Base >, DeviceHelper, ::osl::MutexGuard, ::cppu::OWeakObject > CanvasBase_Base
#define DECLARE_UNO3_XCOMPONENT_AGG_DEFAULTS(classname, baseclass, implhelper)