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

#include <impanmvw.hxx>

Collaboration diagram for ImplAnimView:
[legend]

Public Member Functions

 ~ImplAnimView ()
 

Private Member Functions

 ImplAnimView (Animation *pParent, OutputDevice *pOut, const Point &rPt, const Size &rSz, sal_uLong nExtraData, OutputDevice *pFirstFrameOutDev=nullptr)
 
bool matches (OutputDevice *pOut, long nExtraData) const
 
void drawToPos (sal_uLong nPos)
 
void draw (sal_uLong nPos, VirtualDevice *pVDev=nullptr)
 
void repaint ()
 
AInfocreateAInfo () const
 
void getPosSize (const AnimationBitmap &rAnm, Point &rPosPix, Size &rSizePix)
 
const PointgetOutPos () const
 
const SizegetOutSizePix () const
 
void pause (bool bIsPaused)
 
bool isPause () const
 
void setMarked (bool bIsMarked)
 
bool isMarked () const
 

Private Attributes

Animation *const mpParent
 
VclPtr< OutputDevicempRenderContext
 
long const mnExtraData
 
Point const maPt
 
Point maDispPt
 
Point maRestPt
 
Size const maSz
 
Size maSzPix
 
Size maDispSz
 
Size maRestSz
 
vcl::Region maClip
 
VclPtr< VirtualDevicempBackground
 
VclPtr< VirtualDevicempRestore
 
sal_uLong mnActPos
 
Disposal meLastDisposal
 
bool mbIsPaused
 
bool mbIsMarked
 
bool const mbIsMirroredHorizontally
 
bool const mbIsMirroredVertically
 

Friends

class Animation
 

Detailed Description

Definition at line 44 of file impanmvw.hxx.

Constructor & Destructor Documentation

ImplAnimView::~ImplAnimView ( )
ImplAnimView::ImplAnimView ( Animation pParent,
OutputDevice pOut,
const Point rPt,
const Size rSz,
sal_uLong  nExtraData,
OutputDevice pFirstFrameOutDev = nullptr 
)
private

Member Function Documentation

AInfo * ImplAnimView::createAInfo ( ) const
private
void ImplAnimView::draw ( sal_uLong  nPos,
VirtualDevice pVDev = nullptr 
)
private
void ImplAnimView::drawToPos ( sal_uLong  nPos)
private
const Point& ImplAnimView::getOutPos ( ) const
inlineprivate

Definition at line 85 of file impanmvw.hxx.

References maPt.

Referenced by Animation::Start().

const Size& ImplAnimView::getOutSizePix ( ) const
inlineprivate

Definition at line 87 of file impanmvw.hxx.

References maSzPix.

Referenced by Animation::Start().

void ImplAnimView::getPosSize ( const AnimationBitmap rAnm,
Point rPosPix,
Size rSizePix 
)
private
bool ImplAnimView::isMarked ( ) const
inlineprivate

Definition at line 93 of file impanmvw.hxx.

References mbIsMarked.

Referenced by IMPL_LINK_NOARG().

bool ImplAnimView::isPause ( ) const
inlineprivate

Definition at line 90 of file impanmvw.hxx.

References mbIsPaused.

Referenced by IMPL_LINK_NOARG().

bool ImplAnimView::matches ( OutputDevice pOut,
long  nExtraData 
) const
private

Definition at line 99 of file impanmvw.cxx.

References mnExtraData, and mpRenderContext.

Referenced by Animation::Start().

void ImplAnimView::pause ( bool  bIsPaused)
inlineprivate

Definition at line 89 of file impanmvw.hxx.

Referenced by IMPL_LINK_NOARG().

void ImplAnimView::repaint ( )
private
void ImplAnimView::setMarked ( bool  bIsMarked)
inlineprivate

Definition at line 92 of file impanmvw.hxx.

Referenced by draw(), and IMPL_LINK_NOARG().

Friends And Related Function Documentation

friend class Animation
friend

Definition at line 48 of file impanmvw.hxx.

Member Data Documentation

vcl::Region ImplAnimView::maClip
private

Definition at line 60 of file impanmvw.hxx.

Referenced by draw(), drawToPos(), and ImplAnimView().

Point ImplAnimView::maDispPt
private

Definition at line 54 of file impanmvw.hxx.

Referenced by draw(), drawToPos(), ImplAnimView(), and repaint().

Size ImplAnimView::maDispSz
private

Definition at line 58 of file impanmvw.hxx.

Referenced by draw(), drawToPos(), ImplAnimView(), and repaint().

Point const ImplAnimView::maPt
private

Definition at line 53 of file impanmvw.hxx.

Referenced by createAInfo(), getOutPos(), and ImplAnimView().

Point ImplAnimView::maRestPt
private

Definition at line 55 of file impanmvw.hxx.

Referenced by draw().

Size ImplAnimView::maRestSz
private

Definition at line 59 of file impanmvw.hxx.

Referenced by draw().

Size const ImplAnimView::maSz
private

Definition at line 56 of file impanmvw.hxx.

Referenced by createAInfo(), and ImplAnimView().

Size ImplAnimView::maSzPix
private

Definition at line 57 of file impanmvw.hxx.

Referenced by draw(), drawToPos(), getOutSizePix(), getPosSize(), ImplAnimView(), and repaint().

bool ImplAnimView::mbIsMarked
private

Definition at line 66 of file impanmvw.hxx.

Referenced by isMarked().

bool const ImplAnimView::mbIsMirroredHorizontally
private

Definition at line 67 of file impanmvw.hxx.

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

bool const ImplAnimView::mbIsMirroredVertically
private

Definition at line 68 of file impanmvw.hxx.

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

bool ImplAnimView::mbIsPaused
private

Definition at line 65 of file impanmvw.hxx.

Referenced by createAInfo(), draw(), isPause(), and repaint().

Disposal ImplAnimView::meLastDisposal
private

Definition at line 64 of file impanmvw.hxx.

Referenced by draw().

sal_uLong ImplAnimView::mnActPos
private

Definition at line 63 of file impanmvw.hxx.

Referenced by draw(), and repaint().

long const ImplAnimView::mnExtraData
private

Definition at line 52 of file impanmvw.hxx.

Referenced by createAInfo(), and matches().

VclPtr<VirtualDevice> ImplAnimView::mpBackground
private

Definition at line 61 of file impanmvw.hxx.

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

Animation* const ImplAnimView::mpParent
private

Definition at line 50 of file impanmvw.hxx.

Referenced by draw(), drawToPos(), getPosSize(), and ImplAnimView().

VclPtr<OutputDevice> ImplAnimView::mpRenderContext
private

Definition at line 51 of file impanmvw.hxx.

Referenced by createAInfo(), draw(), drawToPos(), ImplAnimView(), matches(), and repaint().

VclPtr<VirtualDevice> ImplAnimView::mpRestore
private

Definition at line 62 of file impanmvw.hxx.

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


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