LibreOffice Module svx (master) 1
|
#include <animationstate.hxx>
Public Member Functions | |
PrimitiveAnimation (sdr::contact::ViewObjectContact &rVOContact, drawinglayer::primitive2d::Primitive2DContainer &&rAnimatedPrimitives) | |
virtual | ~PrimitiveAnimation () override |
virtual void | Trigger (sal_uInt32 nTime) override |
Public Member Functions inherited from sdr::animation::Event | |
SAL_DLLPRIVATE | Event () |
virtual | ~Event () |
SAL_DLLPRIVATE sal_uInt32 | GetTime () const |
void | SetTime (sal_uInt32 nNew) |
virtual void | Trigger (sal_uInt32 nTime)=0 |
Private Member Functions | |
double | getSmallestNextTime (double fCurrentTime) |
void | prepareNextEvent () |
Private Attributes | |
sdr::contact::ViewObjectContact & | mrVOContact |
drawinglayer::primitive2d::Primitive2DContainer | maAnimatedPrimitives |
Definition at line 31 of file animationstate.hxx.
sdr::animation::PrimitiveAnimation::PrimitiveAnimation | ( | sdr::contact::ViewObjectContact & | rVOContact, |
drawinglayer::primitive2d::Primitive2DContainer && | rAnimatedPrimitives | ||
) |
Definition at line 102 of file animationstate.cxx.
References comphelper::LibreOfficeKit::isActive(), and prepareNextEvent().
|
overridevirtual |
Definition at line 111 of file animationstate.cxx.
References sdr::contact::ViewObjectContact::GetObjectContact(), sdr::contact::ObjectContact::getPrimitiveAnimator(), mrVOContact, and sdr::animation::Scheduler::RemoveEvent().
|
private |
Definition at line 31 of file animationstate.cxx.
References a, drawinglayer::primitive2d::AnimatedSwitchPrimitive2D::getAnimationEntry(), drawinglayer::animation::AnimationEntry::getNextEventTime(), maAnimatedPrimitives, and nCount.
Referenced by prepareNextEvent().
|
private |
Definition at line 64 of file animationstate.cxx.
References sdr::contact::ViewObjectContact::GetObjectContact(), sdr::contact::ObjectContact::getPrimitiveAnimator(), getSmallestNextTime(), sdr::animation::Event::GetTime(), sdr::animation::Scheduler::GetTime(), sdr::animation::Scheduler::InsertEvent(), mrVOContact, and sdr::animation::Event::SetTime().
Referenced by PrimitiveAnimation(), and Trigger().
|
overridevirtual |
Implements sdr::animation::Event.
Definition at line 118 of file animationstate.cxx.
References sdr::contact::ViewObjectContact::ActionChanged(), comphelper::LibreOfficeKit::isActive(), mrVOContact, and prepareNextEvent().
|
private |
Definition at line 37 of file animationstate.hxx.
Referenced by getSmallestNextTime().
|
private |
Definition at line 34 of file animationstate.hxx.
Referenced by prepareNextEvent(), Trigger(), and ~PrimitiveAnimation().