LibreOffice Module canvas (master) 1
|
#include <cachedbitmap.hxx>
Public Member Functions | |
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. More... | |
virtual void | disposing (std::unique_lock< std::mutex > &rGuard) override |
Dispose all internal references. More... | |
Public Member Functions inherited from canvas::CachedPrimitiveBase | |
CachedPrimitiveBase (css::rendering::ViewState rUsedViewState, css::uno::Reference< css::rendering::XCanvas > xTarget) | |
Create an XCachedPrimitive for given target canvas. More... | |
virtual void | disposing (std::unique_lock< std::mutex > &rGuard) override |
Dispose all internal references. More... | |
virtual ::sal_Int8 SAL_CALL | redraw (const css::rendering::ViewState &aState) override |
virtual OUString SAL_CALL | getImplementationName () override |
virtual sal_Bool SAL_CALL | supportsService (const OUString &ServiceName) override |
virtual css::uno::Sequence< OUString > SAL_CALL | getSupportedServiceNames () override |
Public Member Functions inherited from comphelper::WeakComponentImplHelper< typename... Ifc > | |
virtual void SAL_CALL | acquire () noexcept override |
virtual void SAL_CALL | release () noexcept override |
virtual void SAL_CALL | dispose () noexcept final override |
virtual void SAL_CALL | addEventListener (css::uno::Reference< css::lang::XEventListener > const &rxListener) final override |
virtual void SAL_CALL | removeEventListener (css::uno::Reference< css::lang::XEventListener > const &rxListener) final override |
virtual css::uno::Any SAL_CALL | queryInterface (css::uno::Type const &rType) override |
virtual css::uno::Sequence< css::uno::Type > SAL_CALL | getTypes () override |
virtual css::uno::Sequence< sal_Int8 > SAL_CALL | getImplementationId () override |
Public Member Functions inherited from comphelper::WeakComponentImplHelperBase | |
virtual | ~WeakComponentImplHelperBase () override |
virtual void SAL_CALL | dispose () override |
virtual void SAL_CALL | addEventListener (css::uno::Reference< css::lang::XEventListener > const &rxListener) override |
virtual void SAL_CALL | removeEventListener (css::uno::Reference< css::lang::XEventListener > const &rxListener) override |
virtual css::uno::Any SAL_CALL | queryInterface (css::uno::Type const &rType) override |
virtual void | disposing (std::unique_lock< std::mutex > &) |
Public Member Functions inherited from comphelper::UnoImplBase | |
virtual | ~UnoImplBase () |
Private Member Functions | |
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. More... | |
Private Attributes | |
GraphicObjectSharedPtr | mpGraphicObject |
const css::rendering::RenderState | maRenderState |
const ::Point | maPoint |
const ::Size | maSize |
const GraphicAttr | maAttributes |
Additional Inherited Members | |
Protected Member Functions inherited from canvas::CachedPrimitiveBase | |
virtual | ~CachedPrimitiveBase () override |
Protected Member Functions inherited from comphelper::WeakComponentImplHelperBase | |
void | throwIfDisposed (std::unique_lock< std::mutex > &) |
Protected Attributes inherited from comphelper::WeakComponentImplHelperBase | |
comphelper::OInterfaceContainerHelper4< css::lang::XEventListener > | maEventListeners |
Protected Attributes inherited from comphelper::UnoImplBase | |
std::mutex | m_aMutex |
bool | m_bDisposed |
Definition at line 34 of file cachedbitmap.hxx.
vclcanvas::CachedBitmap::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.
|
overridevirtual |
Dispose all internal references.
Reimplemented from canvas::CachedPrimitiveBase.
Definition at line 51 of file cachedbitmap.cxx.
|
overrideprivatevirtual |
Actually perform the requested redraw.
Clients must override this method, instead of the public redraw() one.
rNewState | The viewstate to redraw with |
rOldState | The viewstate this cache object was created with. |
rTargetCanvas | Target canvas to render to. |
bSameViewTransform | When true, rNewState and rOldState have the same transformation. |
Implements canvas::CachedPrimitiveBase.
|
private |
Definition at line 62 of file cachedbitmap.hxx.
|
private |
Definition at line 60 of file cachedbitmap.hxx.
|
private |
Definition at line 59 of file cachedbitmap.hxx.
|
private |
Definition at line 61 of file cachedbitmap.hxx.
|
private |
Definition at line 58 of file cachedbitmap.hxx.