mirror of
https://github.com/SFML/SFML.git
synced 2024-11-28 22:31:09 +08:00
Minor fixes in comments
This commit is contained in:
parent
4488f7f345
commit
c2c924f512
@ -66,7 +66,7 @@ public :
|
|||||||
void Create(unsigned int width, unsigned int height, const Color& color = Color(0, 0, 0));
|
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,
|
/// 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
|
/// and have the given \a width and \a height. If not, this is
|
||||||
|
@ -103,7 +103,7 @@ public :
|
|||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
/// \brief Set the text's font
|
/// \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
|
/// exist as long as the text uses it. Indeed, the text
|
||||||
/// doesn't store its own copy of the font, but rather keeps
|
/// doesn't store its own copy of the font, but rather keeps
|
||||||
/// a pointer to the one that you passed to this function.
|
/// a pointer to the one that you passed to this function.
|
||||||
|
@ -304,7 +304,7 @@ public :
|
|||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
/// \brief Get the inverse of the combined transform of the object
|
/// \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
|
/// \see GetTransform
|
||||||
///
|
///
|
||||||
|
@ -64,7 +64,7 @@ public :
|
|||||||
VertexArray(PrimitiveType type, unsigned int vertexCount = 0);
|
VertexArray(PrimitiveType type, unsigned int vertexCount = 0);
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
/// \brief Return the vertices count
|
/// \brief Return the vertex count
|
||||||
///
|
///
|
||||||
/// \return Number of vertices in the array
|
/// \return Number of vertices in the array
|
||||||
///
|
///
|
||||||
@ -117,10 +117,10 @@ public :
|
|||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
/// \brief Resize the vertex array
|
/// \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
|
/// vertices are kept and new (default-constructed) vertices are
|
||||||
/// added.
|
/// 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.
|
/// are removed from the array.
|
||||||
///
|
///
|
||||||
/// \param vertexCount New size of the array (number of vertices)
|
/// \param vertexCount New size of the array (number of vertices)
|
||||||
|
Loading…
Reference in New Issue
Block a user