21#include <com/sun/star/animations/AnimationColorSpace.hpp>
41class HSLWrapper :
public HSLColorAnimation
49 "HSLWrapper::HSLWrapper(): Invalid color animation delegate" );
52 virtual void prefetch()
override
61 virtual void end()
override
66 virtual bool operator()(
const HSLColor& rColor )
override
71 virtual HSLColor getUnderlyingValue()
const override
73 return HSLColor(
mpAnimation->getUnderlyingValue() );
88 case animations::AnimationColorSpace::RGB:
99 case animations::AnimationColorSpace::HSL:
105 std::make_shared<HSLWrapper>(
116 "Unexpected color space" );
ColorAnimationSharedPtr mpAnimation
box2d::utils::Box2DWorldSharedPtr mpBox2DWorld
AttributableShapeSharedPtr const & getShape() const
::basegfx::B2DVector const & getSlideSize() const
css::uno::Reference< css::animations::XAnimate > const & getXAnimateNode() const
ActivitiesFactory::CommonParameters fillCommonParameters() const
Create parameter struct for ActivitiesFactory.
virtual AnimationActivitySharedPtr createActivity() const override
css::uno::Reference< css::animations::XAnimateColor > mxColorNode
SlideShowContext const & getContext() const
#define ENSURE_OR_THROW(c, m)
AnimationActivitySharedPtr createAnimateActivity(const CommonParameters &rParms, const NumberAnimationSharedPtr &rAnimator, const css::uno::Reference< css::animations::XAnimate > &xNode)
Create an activity from an XAnimate node.
ColorAnimationSharedPtr createColorPropertyAnimation(const OUString &rAttrName, const AnimatableShapeSharedPtr &rShape, const ShapeManagerSharedPtr &rShapeManager, const ::basegfx::B2DVector &rSlideSize, const box2d::utils::Box2DWorldSharedPtr &pBox2DWorld, int nFlags=0)
::std::shared_ptr< AnimatableShape > AnimatableShapeSharedPtr
::std::shared_ptr< AnimationActivity > AnimationActivitySharedPtr
::std::shared_ptr< ShapeAttributeLayer > ShapeAttributeLayerSharedPtr
::std::shared_ptr< ColorAnimation > ColorAnimationSharedPtr
std::shared_ptr< SubsettableShapeManager > mpSubsettableShapeManager
Collection of common factory parameters.