LibreOffice Module slideshow (master) 1
|
Generates a parallel snakes wipe: More...
#include <snakewipe.hxx>
Public Member Functions | |
ParallelSnakesWipe (sal_Int32 nElements, bool diagonal, bool flipOnYAxis, bool opposite) | |
virtual ::basegfx::B2DPolyPolygon | operator() (double t) override |
Retrieve the poly-polygon for value t. More... | |
Public Member Functions inherited from slideshow::internal::SnakeWipe | |
SnakeWipe (sal_Int32 nElements, bool diagonal, bool flipOnYAxis) | |
virtual ::basegfx::B2DPolyPolygon | operator() (double t) override |
Retrieve the poly-polygon for value t. More... | |
Public Member Functions inherited from slideshow::internal::ParametricPolyPolygon | |
virtual | ~ParametricPolyPolygon () |
virtual ::basegfx::B2DPolyPolygon | operator() (double t)=0 |
Retrieve the poly-polygon for value t. More... | |
Private Attributes | |
const bool | m_opposite |
Additional Inherited Members | |
Protected Member Functions inherited from slideshow::internal::SnakeWipe | |
::basegfx::B2DPolyPolygon | calcSnake (double t) const |
::basegfx::B2DPolyPolygon | calcHalfDiagonalSnake (double t, bool in) const |
Protected Attributes inherited from slideshow::internal::SnakeWipe | |
const sal_Int32 | m_sqrtElements |
const double | m_elementEdge |
const bool | m_diagonal |
const bool | m_flipOnYAxis |
Generates a parallel snakes wipe:
Definition at line 48 of file snakewipe.hxx.
|
inline |
Definition at line 51 of file snakewipe.hxx.
References nElements.
|
overridevirtual |
Retrieve the poly-polygon for value t.
t | Current parameter value to retrieve the corresponding poly-polygon for. Permissible values for t must be in the range [0,1]. |
Reimplemented from slideshow::internal::SnakeWipe.
Definition at line 197 of file snakewipe.cxx.
References basegfx::B2DPolyPolygon::append(), slideshow::internal::SnakeWipe::calcHalfDiagonalSnake(), slideshow::internal::SnakeWipe::calcSnake(), basegfx::utils::createScaleB2DHomMatrix(), basegfx::utils::createTranslateB2DHomMatrix(), basegfx::B2DPolyPolygon::flip(), slideshow::internal::flipOnXAxis(), slideshow::internal::flipOnYAxis(), slideshow::internal::SnakeWipe::m_diagonal, slideshow::internal::SnakeWipe::m_flipOnYAxis, m_opposite, basegfx::B2DHomMatrix::rotate(), t, basegfx::B2DPolyPolygon::transform(), and basegfx::B2DHomMatrix::translate().
|
private |
Definition at line 58 of file snakewipe.hxx.
Referenced by operator()().