mirror of
https://github.com/SFML/SFML.git
synced 2024-11-28 14:21:04 +08:00
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:
parent
a8b0f6fb70
commit
799ca304ce
@ -104,7 +104,7 @@ public:
|
|||||||
///
|
///
|
||||||
/// \param index Index of the point to get, in range [0 .. getPointCount() - 1]
|
/// \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;
|
[[nodiscard]] Vector2f getPoint(std::size_t index) const override;
|
||||||
|
@ -106,7 +106,7 @@ public:
|
|||||||
///
|
///
|
||||||
/// \param index Index of the point to get, in range [0 .. getPointCount() - 1]
|
/// \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`
|
/// \see `setPoint`
|
||||||
///
|
///
|
||||||
|
@ -92,7 +92,7 @@ public:
|
|||||||
///
|
///
|
||||||
/// \param index Index of the point to get, in range [0 .. 3]
|
/// \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;
|
[[nodiscard]] Vector2f getPoint(std::size_t index) const override;
|
||||||
|
@ -208,7 +208,7 @@ public:
|
|||||||
///
|
///
|
||||||
/// \param index Index of the point to get, in range [0 .. getPointCount() - 1]
|
/// \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`
|
/// \see `getPointCount`
|
||||||
///
|
///
|
||||||
|
@ -85,7 +85,7 @@ public:
|
|||||||
///
|
///
|
||||||
/// \param index Index of the vertex to get
|
/// \param index Index of the vertex to get
|
||||||
///
|
///
|
||||||
/// \return Reference to the index-th vertex
|
/// \return Reference to the `index`-th vertex
|
||||||
///
|
///
|
||||||
/// \see `getVertexCount`
|
/// \see `getVertexCount`
|
||||||
///
|
///
|
||||||
@ -101,7 +101,7 @@ public:
|
|||||||
///
|
///
|
||||||
/// \param index Index of the vertex to get
|
/// \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`
|
/// \see `getVertexCount`
|
||||||
///
|
///
|
||||||
|
Loading…
Reference in New Issue
Block a user