22#include <com/sun/star/rendering/RenderState.hpp>
41 const ::Point& rPoint,
44 const css::rendering::ViewState& rUsedViewState,
45 css::rendering::RenderState aUsedRenderState,
46 const css::uno::Reference< css::rendering::XCanvas >& rTarget );
49 virtual void disposing(std::unique_lock<std::mutex>& rGuard)
override;
52 virtual ::sal_Int8
doRedraw(
const css::rendering::ViewState& rNewState,
53 const css::rendering::ViewState& rOldState,
54 const css::uno::Reference< css::rendering::XCanvas >& rTargetCanvas,
55 bool bSameViewTransform )
override;
Base class, providing common functionality for implementers of the XCachedPrimitive interface.
virtual void disposing(std::unique_lock< std::mutex > &rGuard) override
Dispose all internal references.
CachedBitmap(GraphicObjectSharedPtr xGraphicObject, const ::Point &rPoint, const ::Size &rSize, const GraphicAttr &rAttr, const css::rendering::ViewState &rUsedViewState, css::rendering::RenderState aUsedRenderState, const css::uno::Reference< css::rendering::XCanvas > &rTarget)
Create an XCachedPrimitive for given GraphicObject.
GraphicObjectSharedPtr mpGraphicObject
const css::rendering::RenderState maRenderState
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.
const GraphicAttr maAttributes
std::shared_ptr< GraphicObject > GraphicObjectSharedPtr