LibreOffice Module slideshow (master) 1
|
Generate a barn door wipe or double barn door wipe: More...
#include <barndoorwipe.hxx>
Public Member Functions | |
BarnDoorWipe (bool doubled=false) | |
virtual ::basegfx::B2DPolyPolygon | operator() (double x) 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 ::basegfx::B2DPolygon | m_unitRect |
const bool | m_doubled |
Generate a barn door wipe or double barn door wipe:
Definition at line 31 of file barndoorwipe.hxx.
|
inlineexplicit |
Definition at line 34 of file barndoorwipe.hxx.
|
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 29 of file barndoorwipe.cxx.
References basegfx::B2DPolyPolygon::append(), basegfx::utils::createTranslateB2DHomMatrix(), m_doubled, m_unitRect, basegfx::B2DHomMatrix::rotate(), basegfx::B2DHomMatrix::scale(), t, basegfx::B2DPolygon::transform(), and basegfx::B2DHomMatrix::translate().
|
private |
Definition at line 43 of file barndoorwipe.hxx.
Referenced by operator()().
|
private |
Definition at line 42 of file barndoorwipe.hxx.
Referenced by operator()().