20#include <com/sun/star/animations/TransitionSubType.hpp>
31 double fRadius = ::basegfx::pruneScaleValue(
t * M_SQRT2 / 2.0 );
33 if(
mnSubType == com::sun::star::animations::TransitionSubType::VERTICAL )
37 ::basegfx::utils::createPolygonFromEllipse( rCenter, fRadius*2, fRadius ) );
38 return ::basegfx::B2DPolyPolygon( poly );
44 ::basegfx::utils::createPolygonFromCircle( rCenter, fRadius ) );
45 return ::basegfx::B2DPolyPolygon( poly );
virtual ::basegfx::B2DPolyPolygon operator()(double x) override
Retrieve the poly-polygon for value t.