47 if(!::basegfx::fTools::equalZero(fNextTime))
49 if(::basegfx::fTools::equalZero(fRetval))
53 else if(::basegfx::fTools::less(fNextTime, fRetval))
71 if(::basegfx::fTools::equalZero(fNextTime))
77 if(fNextTime >=
double(0xffffff00))
81 nNextTime =
GetTime() + (1000 * 60 * 60);
85 nNextTime =
static_cast<sal_uInt32
>(fNextTime);
90 const sal_uInt32 nMinimumStepTime(
static_cast<sal_uInt32
>(fCurrentTime) + 25);
92 if(nNextTime <= nMinimumStepTime)
94 nNextTime = nMinimumStepTime;
103 : mrVOContact(rVOContact),
104 maAnimatedPrimitives(
std::move(rAnimatedPrimitives))
virtual double getNextEventTime(double fTime) const=0
const animation::AnimationEntry & getAnimationEntry() const
SAL_DLLPRIVATE sal_uInt32 GetTime() const
void SetTime(sal_uInt32 nNew)
virtual ~PrimitiveAnimation() override
sdr::contact::ViewObjectContact & mrVOContact
virtual void Trigger(sal_uInt32 nTime) override
drawinglayer::primitive2d::Primitive2DContainer maAnimatedPrimitives
PrimitiveAnimation(sdr::contact::ViewObjectContact &rVOContact, drawinglayer::primitive2d::Primitive2DContainer &&rAnimatedPrimitives)
double getSmallestNextTime(double fCurrentTime)
SAL_DLLPRIVATE sal_uInt32 GetTime() const
SAL_DLLPRIVATE void RemoveEvent(Event *pOld)
void InsertEvent(Event &rNew)