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 >,
79 typedef ::canvas::IntegerBitmapBase<
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;
Canvas(const css::uno::Sequence< css::uno::Any > &aArguments, const css::uno::Reference< css::uno::XComponentContext > &rxContext)
Target interface for XCachedPrimitive implementations.
virtual sal_Bool SAL_CALL supportsService(const OUString &sServiceName) override
Target interface for XCachedPrimitive implementations.
#define DECLARE_UNO3_XCOMPONENT_AGG_DEFAULTS(classname, baseclass, implhelper)
virtual void disposeThis() override
Dispose all internal references.
Sequence< PropertyValue > aArguments
constexpr OUStringLiteral sServiceName
Product of this component's factory.
virtual ~Canvas() override
For resource tracking.
::canvas::GraphicDeviceBase< ::canvas::BaseMutexHelper< GraphicDeviceBase_Base >, DeviceHelper,::osl::MutexGuard,::cppu::OWeakObject > CanvasBase_Base
virtual ::cairo::SurfaceSharedPtr changeSurface() override
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override
::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
virtual OutputDevice * getOutputDevice() override
virtual OUString SAL_CALL getImplementationName() override
css::uno::Sequence< css::uno::Any > maArguments
virtual ::cairo::SurfaceSharedPtr getSurface() override
virtual ::cairo::SurfaceSharedPtr createSurface(const ::basegfx::B2ISize &rSize, int aContent) override
virtual OUString SAL_CALL getServiceName() override
virtual bool repaint(const ::cairo::SurfaceSharedPtr &pSurface, const css::rendering::ViewState &viewState, const css::rendering::RenderState &renderState) override