LibreOffice Module vcl (master)
1
|
#include <impanmvw.hxx>
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 (const OutputDevice *pOut, tools::Long nExtraData) const |
void | drawToPos (sal_uLong nPos) |
void | draw (sal_uLong nPos, VirtualDevice *pVDev=nullptr) |
void | repaint () |
AInfo * | createAInfo () const |
void | getPosSize (const AnimationBitmap &rAnm, Point &rPosPix, Size &rSizePix) |
const Point & | getOutPos () const |
const Size & | getOutSizePix () const |
void | pause (bool bIsPaused) |
bool | isPause () const |
void | setMarked (bool bIsMarked) |
bool | isMarked () const |
Private Attributes | |
Animation * | mpParent |
VclPtr< OutputDevice > | mpRenderContext |
tools::Long | mnExtraData |
Point | maPt |
Point | maDispPt |
Point | maRestPt |
Size | maSz |
Size | maSzPix |
Size | maDispSz |
Size | maRestSz |
vcl::Region | maClip |
VclPtr< VirtualDevice > | mpBackground |
VclPtr< VirtualDevice > | mpRestore |
sal_uLong | mnActPos |
Disposal | meLastDisposal |
bool | mbIsPaused |
bool | mbIsMarked |
bool | mbIsMirroredHorizontally |
bool | mbIsMirroredVertically |
Friends | |
class | Animation |
Definition at line 44 of file impanmvw.hxx.
ImplAnimView::~ImplAnimView | ( | ) |
Definition at line 91 of file impanmvw.cxx.
References VclPtr< reference_type >::disposeAndClear(), Animation::ImplDecAnimCount(), mpBackground, and mpRestore.
|
private |
Definition at line 29 of file impanmvw.cxx.
References Back, Create(), drawToPos(), OutputDevice::GetClipRegion(), Size::Height(), Height, Animation::ImplGetCurPos(), Animation::ImplIncAnimCount(), maClip, maClip, maDispPt, maDispSz, maPt, maSz, maSzPix, mbIsMirroredHorizontally, mbIsMirroredVertically, mpBackground, mpBackground, mpParent, mpParent, mpRenderContext, OutputDevice::SaveBackground(), Size::setHeight(), VirtualDevice::SetOutputSizePixel(), Size::setWidth(), Width, and Size::Width().
|
private |
Definition at line 305 of file impanmvw.cxx.
References AInfo::aStartOrg, AInfo::aStartSize, AInfo::bPause, maPt, maSz, mbIsPaused, mnExtraData, mpRenderContext, AInfo::nExtraData, AInfo::pOutDev, and AInfo::pViewData.
|
private |
Definition at line 173 of file impanmvw.cxx.
References Back, Animation::Count(), VclPtr< reference_type >::Create(), VclPtr< reference_type >::disposeAndClear(), OutputDevice::DrawBitmapEx(), OutputDevice::DrawOutDev(), OutputDevice::Flush(), Animation::Get(), VclPtr< reference_type >::get(), OutputDevice::GetClipRegion(), OutputDevice::GetOutDevType(), OutputDevice::GetOutputSize(), getPosSize(), Size::Height(), vcl::Window::ImplGetWindowImpl(), vcl::Region::IsNull(), AnimationBitmap::maBitmapEx, maClip, maDispPt, maDispSz, maRestPt, maRestSz, maSzPix, mbIsMirroredHorizontally, mbIsMirroredVertically, mbIsPaused, AnimationBitmap::meDisposal, meLastDisposal, mnActPos, mpBackground, WindowImpl::mpFrameData, mpParent, mpRenderContext, mpRestore, Not, OUTDEV_WINDOW, OutputDevice::PixelToLogic(), Point, OutputDevice::SetClipRegion(), Size::setHeight(), setMarked(), VirtualDevice::SetOutputSizePixel(), Size::setWidth(), and Size::Width().
Referenced by drawToPos().
Definition at line 141 of file impanmvw.cxx.
References Animation::Count(), draw(), OutputDevice::DrawOutDev(), VclPtr< reference_type >::get(), OutputDevice::GetClipRegion(), OutputDevice::GetOutDevType(), i, vcl::Window::ImplGetWindowImpl(), vcl::Region::IsNull(), maClip, maDispPt, maDispSz, maSzPix, WindowImpl::mpFrameData, mpParent, mpRenderContext, OUTDEV_WINDOW, Point, and OutputDevice::SetClipRegion().
Referenced by ImplAnimView(), and repaint().
|
inlineprivate |
Definition at line 85 of file impanmvw.hxx.
|
inlineprivate |
Definition at line 87 of file impanmvw.hxx.
References maSzPix.
|
private |
Definition at line 104 of file impanmvw.cxx.
References FRound(), Animation::GetDisplaySizePixel(), Size::Height(), AnimationBitmap::maPositionPixel, AnimationBitmap::maSizePixel, maSzPix, mbIsMirroredHorizontally, mbIsMirroredVertically, mpParent, Point, Size::setHeight(), Size::setWidth(), and Size::Width().
Referenced by draw().
|
inlineprivate |
Definition at line 93 of file impanmvw.hxx.
References mbIsMarked.
|
inlineprivate |
Definition at line 90 of file impanmvw.hxx.
References mbIsPaused.
|
private |
Definition at line 99 of file impanmvw.cxx.
References mnExtraData, and mpRenderContext.
|
inlineprivate |
Definition at line 89 of file impanmvw.hxx.
Referenced by IMPL_LINK_NOARG().
|
private |
Definition at line 294 of file impanmvw.cxx.
References drawToPos(), maDispPt, maDispSz, maSzPix, mbIsPaused, mnActPos, mpBackground, mpRenderContext, and OutputDevice::SaveBackground().
|
inlineprivate |
Definition at line 92 of file impanmvw.hxx.
Referenced by draw(), and IMPL_LINK_NOARG().
|
friend |
Definition at line 48 of file impanmvw.hxx.
|
private |
Definition at line 60 of file impanmvw.hxx.
Referenced by draw(), drawToPos(), and ImplAnimView().
|
private |
Definition at line 54 of file impanmvw.hxx.
Referenced by draw(), drawToPos(), ImplAnimView(), and repaint().
|
private |
Definition at line 58 of file impanmvw.hxx.
Referenced by draw(), drawToPos(), ImplAnimView(), and repaint().
|
private |
Definition at line 53 of file impanmvw.hxx.
Referenced by createAInfo(), getOutPos(), and ImplAnimView().
|
private |
Definition at line 55 of file impanmvw.hxx.
Referenced by draw().
|
private |
Definition at line 59 of file impanmvw.hxx.
Referenced by draw().
|
private |
Definition at line 56 of file impanmvw.hxx.
Referenced by createAInfo(), and ImplAnimView().
|
private |
Definition at line 57 of file impanmvw.hxx.
Referenced by draw(), drawToPos(), getOutSizePix(), getPosSize(), ImplAnimView(), and repaint().
|
private |
Definition at line 66 of file impanmvw.hxx.
Referenced by isMarked().
|
private |
Definition at line 67 of file impanmvw.hxx.
Referenced by draw(), getPosSize(), and ImplAnimView().
|
private |
Definition at line 68 of file impanmvw.hxx.
Referenced by draw(), getPosSize(), and ImplAnimView().
|
private |
Definition at line 65 of file impanmvw.hxx.
Referenced by createAInfo(), draw(), isPause(), and repaint().
|
private |
Definition at line 64 of file impanmvw.hxx.
Referenced by draw().
|
private |
Definition at line 63 of file impanmvw.hxx.
|
private |
Definition at line 52 of file impanmvw.hxx.
Referenced by createAInfo(), and matches().
|
private |
Definition at line 61 of file impanmvw.hxx.
Referenced by draw(), ImplAnimView(), repaint(), and ~ImplAnimView().
|
private |
Definition at line 50 of file impanmvw.hxx.
Referenced by draw(), drawToPos(), getPosSize(), and ImplAnimView().
|
private |
Definition at line 51 of file impanmvw.hxx.
Referenced by createAInfo(), draw(), drawToPos(), ImplAnimView(), matches(), and repaint().
|
private |
Definition at line 62 of file impanmvw.hxx.
Referenced by draw(), and ~ImplAnimView().