Skip to content

Commit

Permalink
Updated documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
pmachapman committed Feb 21, 2022
1 parent fbc7233 commit 502b925
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions include/SFML/Graphics/Image.hpp
Expand Up @@ -228,9 +228,13 @@ class SFML_GRAPHICS_API Image
/// kind of feature in real-time you'd better use sf::RenderTexture.
///
/// If \a sourceRect is empty, the whole image is copied.
/// If \a applyAlpha is set to true, the transparency of
/// source pixels is applied. If it is false, the pixels are
/// copied unchanged with their alpha value.
/// If \a applyAlpha is set to true, alpha blending is
/// applied from the source pixels to the destination pixels
/// using the \b over operator. If it is false, the source
/// pixels are copied unchanged with their alpha value.
///
/// See https://en.wikipedia.org/wiki/Alpha_compositing for
/// details on the \b over operator.
///
/// \param source Source image to copy
/// \param destX X coordinate of the destination position
Expand Down

0 comments on commit 502b925

Please sign in to comment.