LibreOffice Module vcl (master) 1
Public Member Functions | Private Attributes | List of all members
AnimationRenderer Class Reference

#include <AnimationRenderer.hxx>

Collaboration diagram for AnimationRenderer:
[legend]

Public Member Functions

 AnimationRenderer (Animation *pParent, OutputDevice *pOut, const Point &rPt, const Size &rSz, sal_uLong nRendererId, OutputDevice *pFirstFrameOutDev=nullptr)
 
 AnimationRenderer (AnimationRenderer &&)=delete
 
 ~AnimationRenderer ()
 
bool matches (const OutputDevice *pOut, tools::Long nRendererId) const
 
void drawToIndex (sal_uLong nIndex)
 
void draw (sal_uLong nIndex, VirtualDevice *pVDev=nullptr)
 
void repaint ()
 
AnimationDatacreateAnimationData () const
 
void getPosSize (const AnimationFrame &rAnm, Point &rPosPix, Size &rSizePix)
 
const PointgetOriginPosition () const
 
const SizegetOutSizePix () const
 
void pause (bool bIsPaused)
 
bool isPaused () const
 
void setMarked (bool bIsMarked)
 
bool isMarked () const
 

Private Attributes

AnimationmpParent
 
VclPtr< OutputDevicempRenderContext
 
tools::Long mnRendererId
 
Point maOriginPt
 
Point maDispPt
 
Point maRestPt
 
Size maLogicalSize
 
Size maSizePx
 
Size maDispSz
 
Size maRestSz
 
vcl::Region maClip
 
VclPtr< VirtualDevicempBackground
 
VclPtr< VirtualDevicempRestore
 
sal_uLong mnActIndex
 
Disposal meLastDisposal
 
bool mbIsPaused
 
bool mbIsMarked
 
bool mbIsMirroredHorizontally
 
bool mbIsMirroredVertically
 

Detailed Description

Definition at line 44 of file AnimationRenderer.hxx.

Constructor & Destructor Documentation

◆ AnimationRenderer() [1/2]

AnimationRenderer::AnimationRenderer ( Animation pParent,
OutputDevice pOut,
const Point rPt,
const Size rSz,
sal_uLong  nRendererId,
OutputDevice pFirstFrameOutDev = nullptr 
)

◆ AnimationRenderer() [2/2]

AnimationRenderer::AnimationRenderer ( AnimationRenderer &&  )
delete

◆ ~AnimationRenderer()

AnimationRenderer::~AnimationRenderer ( )

Member Function Documentation

◆ createAnimationData()

AnimationData * AnimationRenderer::createAnimationData ( ) const

◆ draw()

void AnimationRenderer::draw ( sal_uLong  nIndex,
VirtualDevice pVDev = nullptr 
)

◆ drawToIndex()

void AnimationRenderer::drawToIndex ( sal_uLong  nIndex)

◆ getOriginPosition()

const Point & AnimationRenderer::getOriginPosition ( ) const
inline

Definition at line 82 of file AnimationRenderer.hxx.

◆ getOutSizePix()

const Size & AnimationRenderer::getOutSizePix ( ) const
inline

Definition at line 84 of file AnimationRenderer.hxx.

◆ getPosSize()

void AnimationRenderer::getPosSize ( const AnimationFrame rAnm,
Point rPosPix,
Size rSizePix 
)

◆ isMarked()

bool AnimationRenderer::isMarked ( ) const
inline

Definition at line 90 of file AnimationRenderer.hxx.

◆ isPaused()

bool AnimationRenderer::isPaused ( ) const
inline

Definition at line 87 of file AnimationRenderer.hxx.

◆ matches()

bool AnimationRenderer::matches ( const OutputDevice pOut,
tools::Long  nRendererId 
) const

Definition at line 100 of file AnimationRenderer.cxx.

References mnRendererId, mpRenderContext, and pOut.

◆ pause()

void AnimationRenderer::pause ( bool  bIsPaused)
inline

Definition at line 86 of file AnimationRenderer.hxx.

Referenced by Animation::PopulateRenderers().

◆ repaint()

void AnimationRenderer::repaint ( )

◆ setMarked()

void AnimationRenderer::setMarked ( bool  bIsMarked)
inline

Definition at line 89 of file AnimationRenderer.hxx.

Referenced by draw(), and Animation::PopulateRenderers().

Member Data Documentation

◆ maClip

vcl::Region AnimationRenderer::maClip
private

Definition at line 57 of file AnimationRenderer.hxx.

Referenced by AnimationRenderer(), draw(), and drawToIndex().

◆ maDispPt

Point AnimationRenderer::maDispPt
private

Definition at line 51 of file AnimationRenderer.hxx.

Referenced by AnimationRenderer(), draw(), drawToIndex(), and repaint().

◆ maDispSz

Size AnimationRenderer::maDispSz
private

Definition at line 55 of file AnimationRenderer.hxx.

Referenced by AnimationRenderer(), draw(), drawToIndex(), and repaint().

◆ maLogicalSize

Size AnimationRenderer::maLogicalSize
private

Definition at line 53 of file AnimationRenderer.hxx.

Referenced by AnimationRenderer(), and createAnimationData().

◆ maOriginPt

Point AnimationRenderer::maOriginPt
private

Definition at line 50 of file AnimationRenderer.hxx.

Referenced by AnimationRenderer(), and createAnimationData().

◆ maRestPt

Point AnimationRenderer::maRestPt
private

Definition at line 52 of file AnimationRenderer.hxx.

Referenced by draw().

◆ maRestSz

Size AnimationRenderer::maRestSz
private

Definition at line 56 of file AnimationRenderer.hxx.

Referenced by draw().

◆ maSizePx

Size AnimationRenderer::maSizePx
private

Definition at line 54 of file AnimationRenderer.hxx.

Referenced by AnimationRenderer(), draw(), drawToIndex(), getPosSize(), and repaint().

◆ mbIsMarked

bool AnimationRenderer::mbIsMarked
private

Definition at line 63 of file AnimationRenderer.hxx.

◆ mbIsMirroredHorizontally

bool AnimationRenderer::mbIsMirroredHorizontally
private

Definition at line 64 of file AnimationRenderer.hxx.

Referenced by AnimationRenderer(), draw(), and getPosSize().

◆ mbIsMirroredVertically

bool AnimationRenderer::mbIsMirroredVertically
private

Definition at line 65 of file AnimationRenderer.hxx.

Referenced by AnimationRenderer(), draw(), and getPosSize().

◆ mbIsPaused

bool AnimationRenderer::mbIsPaused
private

Definition at line 62 of file AnimationRenderer.hxx.

Referenced by createAnimationData(), draw(), and repaint().

◆ meLastDisposal

Disposal AnimationRenderer::meLastDisposal
private

Definition at line 61 of file AnimationRenderer.hxx.

Referenced by draw().

◆ mnActIndex

sal_uLong AnimationRenderer::mnActIndex
private

Definition at line 60 of file AnimationRenderer.hxx.

Referenced by draw(), and repaint().

◆ mnRendererId

tools::Long AnimationRenderer::mnRendererId
private

Definition at line 49 of file AnimationRenderer.hxx.

Referenced by createAnimationData(), and matches().

◆ mpBackground

VclPtr<VirtualDevice> AnimationRenderer::mpBackground
private

Definition at line 58 of file AnimationRenderer.hxx.

Referenced by AnimationRenderer(), draw(), repaint(), and ~AnimationRenderer().

◆ mpParent

Animation* AnimationRenderer::mpParent
private

Definition at line 47 of file AnimationRenderer.hxx.

Referenced by AnimationRenderer(), draw(), drawToIndex(), and getPosSize().

◆ mpRenderContext

VclPtr<OutputDevice> AnimationRenderer::mpRenderContext
private

◆ mpRestore

VclPtr<VirtualDevice> AnimationRenderer::mpRestore
private

Definition at line 59 of file AnimationRenderer.hxx.

Referenced by draw(), and ~AnimationRenderer().


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