37 rendering::XGraphicDevice& rDevice,
52 maCanvasHelper.init(
BitmapEx( aBitmap, aAlpha ),
58 maCanvasHelper.init(
BitmapEx( aBitmap ),
65 rendering::XGraphicDevice& rDevice,
68 maCanvasHelper.init( rBitmap, rDevice, rOutDevProvider );
74 return "VCLCanvas.CanvasBitmap";
84 return {
"com.sun.star.rendering.CanvasBitmap" };
93 return maCanvasHelper.getBitmap();
97 const rendering::ViewState& viewState,
98 const rendering::RenderState& renderState,
105 mbSurfaceDirty =
true;
107 return maCanvasHelper.repaint( rGrf, viewState, renderState, rPt, rSz, rAttr );
115 return uno::Any(
reinterpret_cast<sal_Int64
>( pBitmapEx ) );
BitmapEx getBitmap() const
Not threadsafe! Returned object is shared!
virtual css::uno::Any SAL_CALL getFastPropertyValue(sal_Int32 nHandle) override
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override
virtual bool repaint(const GraphicObjectSharedPtr &rGrf, const css::rendering::ViewState &viewState, const css::rendering::RenderState &renderState, const ::Point &rPt, const ::Size &rSz, const GraphicAttr &rAttr) const override
CanvasBitmap(const ::Size &rSize, bool bAlphaBitmap, css::rendering::XGraphicDevice &rDevice, const OutDevProviderSharedPtr &rOutDevProvider)
Must be called with locked Solar mutex.
virtual sal_Bool SAL_CALL supportsService(const OUString &ServiceName) override
virtual OUString SAL_CALL getImplementationName() override
bool CPPUHELPER_DLLPUBLIC supportsService(css::lang::XServiceInfo *implementation, rtl::OUString const &name)
std::shared_ptr< OutDevProvider > OutDevProviderSharedPtr
std::shared_ptr< GraphicObject > GraphicObjectSharedPtr