LibreOffice Module canvas (master)  1
Public Types | Public Member Functions | Public Attributes | List of all members
canvas::SpriteRedrawManager::SpriteChangeRecord Struct Reference

Helper struct for SpriteTracer template. More...

#include <spriteredrawmanager.hxx>

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

Public Types

enum  ChangeType {
  ChangeType::move,
  ChangeType::update
}
 

Public Member Functions

 SpriteChangeRecord (const Sprite::Reference &rSprite, const ::basegfx::B2DPoint &rOldPos, const ::basegfx::B2DPoint &rNewPos, const ::basegfx::B2DVector &rSpriteSize)
 
 SpriteChangeRecord (const Sprite::Reference &rSprite, const ::basegfx::B2DPoint &rPos, const ::basegfx::B2DRange &rUpdateArea)
 
const Sprite::ReferencegetSprite () const
 

Public Attributes

ChangeType meChangeType
 
Sprite::Reference mpAffectedSprite
 
::basegfx::B2DPoint maOldPos
 
::basegfx::B2DRange maUpdateArea
 

Detailed Description

Helper struct for SpriteTracer template.

This struct stores change information to a sprite's visual appearance (move, content updated, and the like).

Definition at line 142 of file spriteredrawmanager.hxx.

Member Enumeration Documentation

Enumerator
move 
update 

Definition at line 144 of file spriteredrawmanager.hxx.

Constructor & Destructor Documentation

canvas::SpriteRedrawManager::SpriteChangeRecord::SpriteChangeRecord ( const Sprite::Reference rSprite,
const ::basegfx::B2DPoint rOldPos,
const ::basegfx::B2DPoint rNewPos,
const ::basegfx::B2DVector rSpriteSize 
)
inline

Definition at line 146 of file spriteredrawmanager.hxx.

canvas::SpriteRedrawManager::SpriteChangeRecord::SpriteChangeRecord ( const Sprite::Reference rSprite,
const ::basegfx::B2DPoint rPos,
const ::basegfx::B2DRange rUpdateArea 
)
inline

Definition at line 160 of file spriteredrawmanager.hxx.

References update().

Member Function Documentation

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

Definition at line 170 of file spriteredrawmanager.hxx.

References mpAffectedSprite.

Member Data Documentation

::basegfx::B2DPoint canvas::SpriteRedrawManager::SpriteChangeRecord::maOldPos

Definition at line 174 of file spriteredrawmanager.hxx.

::basegfx::B2DRange canvas::SpriteRedrawManager::SpriteChangeRecord::maUpdateArea

Definition at line 175 of file spriteredrawmanager.hxx.

ChangeType canvas::SpriteRedrawManager::SpriteChangeRecord::meChangeType

Definition at line 172 of file spriteredrawmanager.hxx.

Sprite::Reference canvas::SpriteRedrawManager::SpriteChangeRecord::mpAffectedSprite

Definition at line 173 of file spriteredrawmanager.hxx.


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