LibreOffice Module slideshow (master) 1
|
#include <randomwipe.hxx>
Public Member Functions | |
RandomWipe (sal_Int32 nElements, bool randomBars) | |
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 | |
::std::unique_ptr<::basegfx::B2DPoint[]> | m_positions |
sal_Int32 | m_nElements |
::basegfx::B2DPolygon | m_rect |
Definition at line 31 of file randomwipe.hxx.
slideshow::internal::RandomWipe::RandomWipe | ( | sal_Int32 | nElements, |
bool | randomBars | ||
) |
Definition at line 31 of file randomwipe.cxx.
References slideshow::internal::getRandomOrdinal(), m_positions, m_rect, nElements, pos, basegfx::B2DHomMatrix::scale(), and basegfx::B2DPolygon::transform().
|
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.
Definition at line 67 of file randomwipe.cxx.
References basegfx::B2DPolyPolygon::append(), basegfx::utils::createTranslateB2DHomMatrix(), m_nElements, m_positions, m_rect, point(), pos, t, and basegfx::B2DPolygon::transform().
|
private |
Definition at line 40 of file randomwipe.hxx.
Referenced by operator()().
|
private |
Definition at line 39 of file randomwipe.hxx.
Referenced by operator()(), and RandomWipe().
|
private |
Definition at line 41 of file randomwipe.hxx.
Referenced by operator()(), and RandomWipe().