From c2c924f51231823a55775859d3812d8109d1e3df Mon Sep 17 00:00:00 2001 From: Laurent Gomila Date: Wed, 25 Jan 2012 17:37:55 +0100 Subject: [PATCH] Minor fixes in comments --- include/SFML/Graphics/Image.hpp | 2 +- include/SFML/Graphics/Text.hpp | 2 +- include/SFML/Graphics/Transformable.hpp | 2 +- include/SFML/Graphics/VertexArray.hpp | 6 +++--- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/include/SFML/Graphics/Image.hpp b/include/SFML/Graphics/Image.hpp index 0e571031d..a43cece22 100644 --- a/include/SFML/Graphics/Image.hpp +++ b/include/SFML/Graphics/Image.hpp @@ -66,7 +66,7 @@ public : void Create(unsigned int width, unsigned int height, const Color& color = Color(0, 0, 0)); //////////////////////////////////////////////////////////// - /// \brief Create the image from an arry of pixels + /// \brief Create the image from an array of pixels /// /// The \a pixel array is assumed to contain 32-bits RGBA pixels, /// and have the given \a width and \a height. If not, this is diff --git a/include/SFML/Graphics/Text.hpp b/include/SFML/Graphics/Text.hpp index f34140018..5a024b99b 100644 --- a/include/SFML/Graphics/Text.hpp +++ b/include/SFML/Graphics/Text.hpp @@ -103,7 +103,7 @@ public : //////////////////////////////////////////////////////////// /// \brief Set the text's font /// - /// The \a font argument refers to a texture that must + /// The \a font argument refers to a font that must /// exist as long as the text uses it. Indeed, the text /// doesn't store its own copy of the font, but rather keeps /// a pointer to the one that you passed to this function. diff --git a/include/SFML/Graphics/Transformable.hpp b/include/SFML/Graphics/Transformable.hpp index e5cffffe6..c4bb52763 100644 --- a/include/SFML/Graphics/Transformable.hpp +++ b/include/SFML/Graphics/Transformable.hpp @@ -304,7 +304,7 @@ public : //////////////////////////////////////////////////////////// /// \brief Get the inverse of the combined transform of the object /// - /// \return Inversed of the combined transformations applied to the object + /// \return Inverse of the combined transformations applied to the object /// /// \see GetTransform /// diff --git a/include/SFML/Graphics/VertexArray.hpp b/include/SFML/Graphics/VertexArray.hpp index 94305eed9..8f07f51c7 100644 --- a/include/SFML/Graphics/VertexArray.hpp +++ b/include/SFML/Graphics/VertexArray.hpp @@ -64,7 +64,7 @@ public : VertexArray(PrimitiveType type, unsigned int vertexCount = 0); //////////////////////////////////////////////////////////// - /// \brief Return the vertices count + /// \brief Return the vertex count /// /// \return Number of vertices in the array /// @@ -117,10 +117,10 @@ public : //////////////////////////////////////////////////////////// /// \brief Resize the vertex array /// - /// If \a count is greater than the current size, the previous + /// If \a vertexCount is greater than the current size, the previous /// vertices are kept and new (default-constructed) vertices are /// added. - /// If \a count is less than the current size, existing vertices + /// If \a vertexCount is less than the current size, existing vertices /// are removed from the array. /// /// \param vertexCount New size of the array (number of vertices)