diff options
Diffstat (limited to 'slideshow/source/engine/pointersymbol.cxx')
-rw-r--r-- | slideshow/source/engine/pointersymbol.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/slideshow/source/engine/pointersymbol.cxx b/slideshow/source/engine/pointersymbol.cxx index 474db63d7070..48ad0e5d1693 100644 --- a/slideshow/source/engine/pointersymbol.cxx +++ b/slideshow/source/engine/pointersymbol.cxx @@ -107,6 +107,7 @@ basegfx::B2DPoint PointerSymbol::calcSpritePos( uno::UNO_QUERY_THROW ); const geometry::IntegerSize2D realSize( xBitmap->getSize() ); return basegfx::B2DPoint( + // pos.X pos.Y are given in 0..1, beginning from the upper left corner of the currentSlide. std::min<sal_Int32>( realSize.Width * pos.X, LEFT_BORDER_SPACE ), std::max<sal_Int32>( 0, realSize.Height * (1-pos.Y) - mxBitmap->getSize().Height - LOWER_BORDER_SPACE ) ); |