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:

Public Types

enum class  ChangeType {
  move ,

Public Member Functions

 SpriteChangeRecord (Sprite::Reference rSprite, const ::basegfx::B2DPoint &rOldPos, const ::basegfx::B2DPoint &rNewPos, const ::basegfx::B2DVector &rSpriteSize)
 SpriteChangeRecord (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 140 of file spriteredrawmanager.hxx.

Member Enumeration Documentation

◆ ChangeType


Definition at line 142 of file spriteredrawmanager.hxx.

Constructor & Destructor Documentation

◆ SpriteChangeRecord() [1/2]

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

Definition at line 144 of file spriteredrawmanager.hxx.

◆ SpriteChangeRecord() [2/2]

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

Definition at line 158 of file spriteredrawmanager.hxx.

References update().

Member Function Documentation

◆ getSprite()

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

Definition at line 168 of file spriteredrawmanager.hxx.

References mpAffectedSprite.

Member Data Documentation

◆ maOldPos

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

Definition at line 172 of file spriteredrawmanager.hxx.

◆ maUpdateArea

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

Definition at line 173 of file spriteredrawmanager.hxx.

◆ meChangeType

ChangeType canvas::SpriteRedrawManager::SpriteChangeRecord::meChangeType

Definition at line 170 of file spriteredrawmanager.hxx.

◆ mpAffectedSprite

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

Definition at line 171 of file spriteredrawmanager.hxx.

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