LibreOffice Module slideshow (master) 1
|
Generates a topLeftClockWise or bottomLeftCounterClockWise (flipOnYAxis=true) spiral wipe: More...
#include <spiralwipe.hxx>
Public Member Functions | |
SpiralWipe (sal_Int32 nElements, bool flipOnYAxis=false) | |
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... | |
Protected Member Functions | |
::basegfx::B2DPolyPolygon | calcNegSpiral (double t) const |
Protected Attributes | |
const sal_Int32 | m_elements |
const sal_Int32 | m_sqrtElements |
const bool | m_flipOnYAxis |
Generates a topLeftClockWise or bottomLeftCounterClockWise (flipOnYAxis=true) spiral wipe:
Definition at line 30 of file spiralwipe.hxx.
slideshow::internal::SpiralWipe::SpiralWipe | ( | sal_Int32 | nElements, |
bool | flipOnYAxis = false |
||
) |
Definition at line 32 of file spiralwipe.cxx.
References m_elements, and nElements.
|
protected |
Definition at line 40 of file spiralwipe.cxx.
References basegfx::B2DPolyPolygon::append(), basegfx::utils::createScaleB2DHomMatrix(), basegfx::utils::createTranslateB2DHomMatrix(), slideshow::internal::createUnitRect(), m_elements, m_sqrtElements, basegfx::B2DHomMatrix::rotate(), basegfx::B2DHomMatrix::scale(), t, basegfx::B2DPolygon::transform(), basegfx::B2DHomMatrix::translate(), and w.
Referenced by operator()(), and slideshow::internal::BoxSnakesWipe::operator()().
|
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]. |
Implements slideshow::internal::ParametricPolyPolygon.
Reimplemented in slideshow::internal::BoxSnakesWipe.
Definition at line 82 of file spiralwipe.cxx.
References basegfx::B2DPolyPolygon::append(), calcNegSpiral(), slideshow::internal::createUnitRect(), basegfx::B2DPolyPolygon::flip(), slideshow::internal::flipOnYAxis(), m_flipOnYAxis, and t.
|
protected |
Definition at line 38 of file spiralwipe.hxx.
Referenced by calcNegSpiral().
|
protected |
Definition at line 40 of file spiralwipe.hxx.
Referenced by operator()(), and slideshow::internal::BoxSnakesWipe::operator()().
|
protected |
Definition at line 39 of file spiralwipe.hxx.
Referenced by calcNegSpiral().