22#include <com/sun/star/rendering/XAnimatedSprite.hpp>
23#include <com/sun/star/rendering/XAnimation.hpp>
24#include <com/sun/star/rendering/XCustomSprite.hpp>
47 const ::basegfx::B2ISize& rSize );
54 const css::uno::Reference< css::rendering::XAnimation >& animation );
57 const css::uno::Sequence<
59 css::rendering::XBitmap > >& animationBitmaps,
63 const css::geometry::RealSize2D& spriteSize );
66 const css::uno::Reference< css::rendering::XSprite >& original );
83 bool& io_bSurfaceDirty );
109 void scrollUpdate( const ::basegfx::B2DRange& rMoveStart,
110 const ::basegfx::B2DRange& rMoveEnd,
111 const ::canvas::SpriteRedrawManager::UpdateArea& rUpdateArea );
113 void opaqueUpdate( const ::basegfx::B2DRange& rTotalArea,
114 const std::vector< ::canvas::Sprite::Reference >& rSortedUpdateSprites );
117 const std::vector< ::canvas::Sprite::Reference >& rSortedUpdateSprites );
css::uno::Reference< css::rendering::XSprite > createClonedSprite(const css::uno::Reference< css::rendering::XSprite > &original)
SpriteCanvas * mpOwningSpriteCanvas
Set from the init method. used to generate sprites.
void disposing()
Dispose all internal references.
void opaqueUpdate(const ::basegfx::B2DRange &rTotalArea, const std::vector< ::canvas::Sprite::Reference > &rSortedUpdateSprites)
::basegfx::B2ISize maCompositingSurfaceSize
css::uno::Reference< css::rendering::XAnimatedSprite > createSpriteFromAnimation(const css::uno::Reference< css::rendering::XAnimation > &animation)
void init(::canvas::SpriteRedrawManager &rManager, SpriteCanvas &rOwningSpriteCanvas, const ::basegfx::B2ISize &rSize)
bool mbCompositingSurfaceDirty
::cairo::SurfaceSharedPtr createSurface(const ::basegfx::B2ISize &rNeededSize) const
::cairo::SurfaceSharedPtr const & getTemporarySurface()
::cairo::SurfaceSharedPtr mpTemporarySurface
a temporary surface that is guaranteed to be the same size
::cairo::SurfaceSharedPtr const & getCompositingSurface(const ::basegfx::B2ISize &rNeededSize)
::cairo::SurfaceSharedPtr mpCompositingSurface
a surface used to composite the frontbuffer image
void backgroundPaint(const ::basegfx::B2DRange &rUpdateRect)
Gets called for simple background repaints.
::canvas::SpriteRedrawManager * mpRedrawManager
Set from the SpriteCanvas: instance coordinating sprite redraw.
void scrollUpdate(const ::basegfx::B2DRange &rMoveStart, const ::basegfx::B2DRange &rMoveEnd, const ::canvas::SpriteRedrawManager::UpdateArea &rUpdateArea)
Gets called when area can be handled by scrolling.
css::uno::Reference< css::rendering::XAnimatedSprite > createSpriteFromBitmaps(const css::uno::Sequence< css::uno::Reference< css::rendering::XBitmap > > &animationBitmaps, sal_Int8 interpolationMode)
void genericUpdate(const ::basegfx::B2DRange &rTotalArea, const std::vector< ::canvas::Sprite::Reference > &rSortedUpdateSprites)
css::uno::Reference< css::rendering::XCustomSprite > createCustomSprite(const css::geometry::RealSize2D &spriteSize)
bool updateScreen(const ::basegfx::B2IRange &rCurrArea, bool bUpdateAll, bool &io_bSurfaceDirty)
Actually perform the screen update.
Product of this component's factory.
This class manages smooth SpriteCanvas updates.
std::shared_ptr< Surface > SurfaceSharedPtr