]> git.lizzy.rs Git - irrlicht.git/commitdiff
Add documentation that sourceRect of draw2dImage is based on the OriginalSize
authorcutealien <cutealien@dfc29bdd-3216-0410-991c-e03cc46cb475>
Wed, 30 Mar 2022 10:49:13 +0000 (10:49 +0000)
committersfan5 <sfan5@live.de>
Fri, 24 Mar 2023 16:09:11 +0000 (17:09 +0100)
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@6324 dfc29bdd-3216-0410-991c-e03cc46cb475

include/IVideoDriver.h

index ed4e6fa55c28191026ea4ad3400645c10884d977..2fcb0ab9a248150295e18660d3c7e490809378d9 100644 (file)
@@ -764,7 +764,7 @@ namespace video
                \param texture Texture to be drawn.\r
                \param destPos Upper left 2d destination position where the\r
                image will be drawn.\r
-               \param sourceRect Source rectangle in the image.\r
+               \param sourceRect Source rectangle in the texture (based on it's OriginalSize)\r
                \param clipRect Pointer to rectangle on the screen where the\r
                image is clipped to.\r
                If this pointer is NULL the image is not clipped.\r
@@ -786,7 +786,7 @@ namespace video
                \param texture Texture to be drawn.\r
                \param pos Upper left 2d destination position where the image\r
                will be drawn.\r
-               \param sourceRects Source rectangles of the image.\r
+               \param sourceRects Source rectangles of the texture (based on it's OriginalSize)\r
                \param indices List of indices which choose the actual\r
                rectangle used each time.\r
                \param kerningWidth Offset to Position on X\r
@@ -814,7 +814,7 @@ namespace video
                \param texture Texture to be drawn.\r
                \param positions Array of upper left 2d destinations where the\r
                images will be drawn.\r
-               \param sourceRects Source rectangles of the image.\r
+               \param sourceRects Source rectangles of the texture (based on it's OriginalSize)\r
                \param clipRect Pointer to rectangle on the screen where the\r
                images are clipped to.\r
                If this pointer is 0 then the image is not clipped.\r
@@ -834,7 +834,7 @@ namespace video
                /** Suggested and first implemented by zola.\r
                \param texture The texture to draw from\r
                \param destRect The rectangle to draw into\r
-               \param sourceRect The rectangle denoting a part of the texture\r
+               \param sourceRect The rectangle denoting a part of the texture (based on it's OriginalSize)\r
                \param clipRect Clips the destination rectangle (may be 0)\r
                \param colors Array of 4 colors denoting the color values of\r
                the corners of the destRect\r