20#ifndef INCLUDED_SLIDESHOW_SOURCE_ENGINE_SHAPES_VIEWBACKGROUNDSHAPE_HXX
21#define INCLUDED_SLIDESHOW_SOURCE_ENGINE_SHAPES_VIEWBACKGROUNDSHAPE_HXX
23#include <com/sun/star/uno/Reference.hxx>
24#include <com/sun/star/rendering/XBitmap.hpp>
56 const ::basegfx::B2DRectangle& rShapeBounds );
71 bool prefetch( const ::cppcanvas::CanvasSharedPtr& rDestinationCanvas,
79 mutable css::uno::Reference< css::rendering::XBitmap >
mxBitmap;
This class is the viewable representation of a draw document's background, associated to a specific V...
ViewBackgroundShape(const ViewBackgroundShape &)=delete
Forbid copy construction.
ViewLayerSharedPtr mpViewLayer
The view layer this object is part of.
css::uno::Reference< css::rendering::XBitmap > mxBitmap
Generated content bitmap, already with correct output size.
mutable::basegfx::B2DHomMatrix maLastTransformation
The canvas, mpRenderer is associated with.
ViewBackgroundShape(ViewLayerSharedPtr xViewLayer, const ::basegfx::B2DRectangle &rShapeBounds)
Create a ViewBackgroundShape for the given View.
bool render(const GDIMetaFileSharedPtr &rMtf) const
ViewBackgroundShape & operator=(const ViewBackgroundShape &)=delete
Forbid copy assignment.
const ViewLayerSharedPtr & getViewLayer() const
Query the associated view layer of this shape.
bool prefetch(const ::cppcanvas::CanvasSharedPtr &rDestinationCanvas, const GDIMetaFileSharedPtr &rMtf) const
Prefetch bitmap for given canvas.
GDIMetaFileSharedPtr mpLastMtf
The last metafile a render object was generated for.
const ::basegfx::B2DRectangle maBounds
std::shared_ptr< ViewLayer > ViewLayerSharedPtr
std::shared_ptr< GDIMetaFile > GDIMetaFileSharedPtr
::std::shared_ptr< ViewBackgroundShape > ViewBackgroundShapeSharedPtr