24#include <com/sun/star/lang/XServiceInfo.hpp>
25#include <com/sun/star/rendering/XBitmapCanvas.hpp>
26#include <com/sun/star/rendering/XIntegerBitmap.hpp>
27#include <com/sun/star/beans/XFastPropertySet.hpp>
42 typedef ::cppu::WeakComponentImplHelper< css::rendering::XBitmapCanvas,
43 css::rendering::XIntegerBitmap,
44 css::lang::XServiceInfo,
48 public SurfaceProvider
73 css::rendering::XGraphicDevice* pDevice,
92 virtual ::cairo::SurfaceSharedPtr
getSurface()
override;
93 virtual ::cairo::SurfaceSharedPtr
createSurface( const ::basegfx::B2ISize& rSize,
int aContent )
override;
99 virtual bool repaint( const ::cairo::SurfaceSharedPtr& pSurface,
100 const css::rendering::ViewState& viewState,
101 const css::rendering::RenderState& renderState )
override;
const ::basegfx::B2ISize maSize
virtual void SAL_CALL setFastPropertyValue(sal_Int32, const css::uno::Any &) override
::cairo::SurfaceSharedPtr mpBufferSurface
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override
virtual OUString SAL_CALL getImplementationName() override
virtual bool repaint(const ::cairo::SurfaceSharedPtr &pSurface, const css::rendering::ViewState &viewState, const css::rendering::RenderState &renderState) override
virtual ::cairo::SurfaceSharedPtr changeSurface() override
CanvasBitmap(const ::basegfx::B2ISize &rSize, SurfaceProviderRef rDevice, css::rendering::XGraphicDevice *pDevice, bool bHasAlpha)
Create a canvas bitmap for the given surface.
::cairo::CairoSharedPtr mpBufferCairo
SurfaceProviderRef mpSurfaceProvider
virtual css::uno::Any SAL_CALL getFastPropertyValue(sal_Int32 nHandle) override
virtual ::cairo::SurfaceSharedPtr getSurface() override
virtual void disposeThis() override
Dispose all internal references.
virtual ::cairo::SurfaceSharedPtr createSurface(const ::basegfx::B2ISize &rSize, int aContent) override
virtual OutputDevice * getOutputDevice() override
virtual sal_Bool SAL_CALL supportsService(const OUString &ServiceName) override
Base class, initializing its own baseclass with m_aMutex.
Helper template to handle XIntegerBitmap method forwarding to BitmapCanvasHelper.
std::shared_ptr< Surface > SurfaceSharedPtr
std::shared_ptr< cairo_t > CairoSharedPtr
::cppu::WeakComponentImplHelper< css::rendering::XBitmapCanvas, css::rendering::XIntegerBitmap, css::lang::XServiceInfo, css::beans::XFastPropertySet > CanvasBitmapBase_Base
class SAL_LOPLUGIN_ANNOTATE("crosscast") SurfaceProvider typedef ::rtl::Reference< SurfaceProvider > SurfaceProviderRef
Target interface for XCachedPrimitive implementations.
::canvas::IntegerBitmapBase< canvas::BitmapCanvasBase2< CanvasBitmapSpriteSurface_Base, CanvasHelper, ::osl::MutexGuard, ::cppu::OWeakObject > > CanvasBitmap_Base
#define DECLARE_UNO3_XCOMPONENT_AGG_DEFAULTS(classname, baseclass, implhelper)