23#include <com/sun/star/lang/XComponent.hpp>
50 class Sprite :
public css::lang::XComponent
101 const double nPrioL( rLHS->getPriority() );
102 const double nPrioR( rRHS->getPriority() );
105 return nPrioL == nPrioR ? rLHS.get() < rRHS.get() : nPrioL < nPrioR;
Helper interface to connect SpriteCanvas with various sprite implementations.
virtual ::basegfx::B2DPoint getPosPixel() const =0
Query position of the left, top pixel of the sprite.
virtual bool isContentChanged() const =0
Query whether content has changed.
virtual bool isAreaUpdateOpaque(const ::basegfx::B2DRange &rUpdateArea) const =0
Query whether sprite update will fully cover the given area.
virtual ::basegfx::B2DRange getUpdateArea() const =0
Get area that is currently covered by the sprite.
virtual ::basegfx::B2DVector getSizePixel() const =0
Query size of the sprite in pixel.
::rtl::Reference< Sprite > Reference
virtual double getPriority() const =0
Query sprite priority.
Functor providing a StrictWeakOrdering for sprite references.
bool operator()(const Sprite::Reference &rLHS, const Sprite::Reference &rRHS)