LibreOffice Module canvas (master)  1
Public Member Functions | Private Attributes | List of all members
canvas::SpriteRedrawManager::SpriteInfo Class Reference

Data container for the connected components list. More...

#include <spriteredrawmanager.hxx>

Collaboration diagram for canvas::SpriteRedrawManager::SpriteInfo:
[legend]

Public Member Functions

 SpriteInfo (const Sprite::Reference &rRef, const ::basegfx::B2DRange &rTrueUpdateArea, bool bNeedsUpdate)
 Create sprite info. More...
 
 SpriteInfo (const Sprite::Reference &rRef, const ::basegfx::B2DRange &rTrueUpdateArea, bool bNeedsUpdate, bool bIsPureMove)
 Create sprite info, specify move type. More...
 
const Sprite::ReferencegetSprite () const
 
const ::basegfx::B2DRangegetUpdateArea () const
 
bool needsUpdate () const
 
bool isPureMove () const
 

Private Attributes

Sprite::Reference mpSprite
 
::basegfx::B2DRange maTrueUpdateArea
 
bool mbNeedsUpdate
 
bool mbIsPureMove
 

Detailed Description

Data container for the connected components list.

Definition at line 61 of file spriteredrawmanager.hxx.

Constructor & Destructor Documentation

canvas::SpriteRedrawManager::SpriteInfo::SpriteInfo ( const Sprite::Reference rRef,
const ::basegfx::B2DRange rTrueUpdateArea,
bool  bNeedsUpdate 
)
inline

Create sprite info.

Parameters
rRefSprite this info represents (might be the NULL ref)
rTrueUpdateAreaTrue (un-rounded) update area this sprite has recorded
bNeedsUpdateWhen false, this sprite is not a member of the change record list. Thus, it only needs redraw if within the update area of other, changed sprites.

Definition at line 79 of file spriteredrawmanager.hxx.

References mpSprite.

canvas::SpriteRedrawManager::SpriteInfo::SpriteInfo ( const Sprite::Reference rRef,
const ::basegfx::B2DRange rTrueUpdateArea,
bool  bNeedsUpdate,
bool  bIsPureMove 
)
inline

Create sprite info, specify move type.

Parameters
rRefSprite this info represents (might be the NULL ref)
rTrueUpdateAreaTrue (un-rounded) update area this sprite has recorded
bNeedsUpdateWhen false, this sprite is not a member of the change record list. Thus, it only needs redraw if within the update area of other, changed sprites.
bIsPureMoveWhen true, this sprite is only moved, no other changes happened.

Definition at line 108 of file spriteredrawmanager.hxx.

References mpSprite.

Member Function Documentation

const Sprite::Reference& canvas::SpriteRedrawManager::SpriteInfo::getSprite ( ) const
inline

Definition at line 119 of file spriteredrawmanager.hxx.

References mpSprite.

const ::basegfx::B2DRange& canvas::SpriteRedrawManager::SpriteInfo::getUpdateArea ( ) const
inline

Definition at line 122 of file spriteredrawmanager.hxx.

bool canvas::SpriteRedrawManager::SpriteInfo::isPureMove ( ) const
inline

Definition at line 124 of file spriteredrawmanager.hxx.

bool canvas::SpriteRedrawManager::SpriteInfo::needsUpdate ( ) const
inline

Definition at line 123 of file spriteredrawmanager.hxx.

Member Data Documentation

::basegfx::B2DRange canvas::SpriteRedrawManager::SpriteInfo::maTrueUpdateArea
private

Definition at line 128 of file spriteredrawmanager.hxx.

bool canvas::SpriteRedrawManager::SpriteInfo::mbIsPureMove
private

Definition at line 130 of file spriteredrawmanager.hxx.

bool canvas::SpriteRedrawManager::SpriteInfo::mbNeedsUpdate
private

Definition at line 129 of file spriteredrawmanager.hxx.

Sprite::Reference canvas::SpriteRedrawManager::SpriteInfo::mpSprite
private

Definition at line 127 of file spriteredrawmanager.hxx.


The documentation for this class was generated from the following file: