From dd5b22b87228d8dac60f10b6baa2cbc813d725b7 Mon Sep 17 00:00:00 2001 From: laurentgom Date: Tue, 10 Feb 2009 18:31:56 +0000 Subject: [PATCH] git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/trunk@1013 4e206d99-4929-0410-ac5d-dfc041789085 --- include/SFML/Graphics/Image.hpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/SFML/Graphics/Image.hpp b/include/SFML/Graphics/Image.hpp index e950ec33b..ee136f0a7 100644 --- a/include/SFML/Graphics/Image.hpp +++ b/include/SFML/Graphics/Image.hpp @@ -161,9 +161,10 @@ public : /// \param DestX : X coordinate of the destination position /// \param DestY : Y coordinate of the destination position /// \param SourceRect : Sub-rectangle of the source image to copy (empty by default - entire image) + /// \param ApplyAlpha : Should the copy take in account the source transparency? (false by default) /// //////////////////////////////////////////////////////////// - void Copy(const Image& Source, unsigned int DestX, unsigned int DestY, const IntRect& SourceRect = IntRect(0, 0, 0, 0)); + void Copy(const Image& Source, unsigned int DestX, unsigned int DestY, const IntRect& SourceRect = IntRect(0, 0, 0, 0), bool ApplyAlpha = false); //////////////////////////////////////////////////////////// /// Create the image from the current contents of the