Format index argument as code in shapes getPoint/setPoint documentation

We do the same in sf::Text::findCharacterPos documentation already.
This commit is contained in:
kimci86 2024-11-08 23:32:20 +01:00 committed by Chris Thrasher
parent a8b0f6fb70
commit 799ca304ce
5 changed files with 6 additions and 6 deletions

View File

@ -104,7 +104,7 @@ public:
///
/// \param index Index of the point to get, in range [0 .. getPointCount() - 1]
///
/// \return index-th point of the shape
/// \return `index`-th point of the shape
///
////////////////////////////////////////////////////////////
[[nodiscard]] Vector2f getPoint(std::size_t index) const override;

View File

@ -106,7 +106,7 @@ public:
///
/// \param index Index of the point to get, in range [0 .. getPointCount() - 1]
///
/// \return Position of the index-th point of the polygon
/// \return Position of the `index`-th point of the polygon
///
/// \see `setPoint`
///

View File

@ -92,7 +92,7 @@ public:
///
/// \param index Index of the point to get, in range [0 .. 3]
///
/// \return index-th point of the shape
/// \return `index`-th point of the shape
///
////////////////////////////////////////////////////////////
[[nodiscard]] Vector2f getPoint(std::size_t index) const override;

View File

@ -208,7 +208,7 @@ public:
///
/// \param index Index of the point to get, in range [0 .. getPointCount() - 1]
///
/// \return index-th point of the shape
/// \return `index`-th point of the shape
///
/// \see `getPointCount`
///

View File

@ -85,7 +85,7 @@ public:
///
/// \param index Index of the vertex to get
///
/// \return Reference to the index-th vertex
/// \return Reference to the `index`-th vertex
///
/// \see `getVertexCount`
///
@ -101,7 +101,7 @@ public:
///
/// \param index Index of the vertex to get
///
/// \return Const reference to the index-th vertex
/// \return Const reference to the `index`-th vertex
///
/// \see `getVertexCount`
///