23#include <com/sun/star/rendering/RenderState.hpp>
38 const css::rendering::ViewState& rUsedViewState,
39 css::rendering::RenderState aUsedRenderState,
40 const css::uno::Reference< css::rendering::XCanvas >& rTarget );
43 virtual void disposing(std::unique_lock<std::mutex>& rGuard)
override;
46 virtual ::sal_Int8
doRedraw(
const css::rendering::ViewState& rNewState,
47 const css::rendering::ViewState& rOldState,
48 const css::uno::Reference<
49 css::rendering::XCanvas >& rTargetCanvas,
50 bool bSameViewTransform )
override;
virtual void disposing(std::unique_lock< std::mutex > &rGuard) override
Dispose all internal references.
::cairo::SurfaceSharedPtr mpSurface
const css::rendering::RenderState maRenderState
CachedBitmap(::cairo::SurfaceSharedPtr pSurface, const css::rendering::ViewState &rUsedViewState, css::rendering::RenderState aUsedRenderState, const css::uno::Reference< css::rendering::XCanvas > &rTarget)
Create an XCachedPrimitive for given GraphicObject.
virtual ::sal_Int8 doRedraw(const css::rendering::ViewState &rNewState, const css::rendering::ViewState &rOldState, const css::uno::Reference< css::rendering::XCanvas > &rTargetCanvas, bool bSameViewTransform) override
Actually perform the requested redraw.
Base class, providing common functionality for implementers of the XCachedPrimitive interface.
std::shared_ptr< Surface > SurfaceSharedPtr