diff options
Diffstat (limited to 'slideshow/source/engine/transitions/iriswipe.cxx')
-rw-r--r-- | slideshow/source/engine/transitions/iriswipe.cxx | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/slideshow/source/engine/transitions/iriswipe.cxx b/slideshow/source/engine/transitions/iriswipe.cxx index 72d3e5a61bdf..ebceddb19078 100644 --- a/slideshow/source/engine/transitions/iriswipe.cxx +++ b/slideshow/source/engine/transitions/iriswipe.cxx @@ -17,25 +17,22 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ - #include <basegfx/matrix/b2dhommatrix.hxx> #include <basegfx/matrix/b2dhommatrixtools.hxx> #include "iriswipe.hxx" - -namespace slideshow::internal { - -::basegfx::B2DPolyPolygon IrisWipe::operator () ( double t ) +namespace slideshow::internal +{ +::basegfx::B2DPolyPolygon IrisWipe::operator()(double t) { const double d = ::basegfx::pruneScaleValue(t); basegfx::B2DHomMatrix aTransform(basegfx::utils::createTranslateB2DHomMatrix(-0.5, -0.5)); aTransform = basegfx::utils::createScaleTranslateB2DHomMatrix(d, d, 0.5, 0.5) * aTransform; - ::basegfx::B2DPolyPolygon res( m_unitRect ); - res.transform( aTransform ); + ::basegfx::B2DPolyPolygon res(m_unitRect); + res.transform(aTransform); return res; } - } /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |