Some minor corrections in API documentation and parameters names
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1525 4e206d99-4929-0410-ac5d-dfc041789085
This commit is contained in:
parent
1ee9965059
commit
280ce139d6
14 changed files with 35 additions and 35 deletions
|
@ -38,12 +38,12 @@ namespace sf
|
|||
class Renderer;
|
||||
class RenderTarget;
|
||||
|
||||
////////////////////////////////////////////////////////////
|
||||
/// \brief Available blending modes for drawable objects
|
||||
///
|
||||
////////////////////////////////////////////////////////////
|
||||
namespace Blend
|
||||
{
|
||||
////////////////////////////////////////////////////////////
|
||||
/// \brief Available blending modes for drawable objects
|
||||
///
|
||||
////////////////////////////////////////////////////////////
|
||||
enum Mode
|
||||
{
|
||||
Alpha, ///< Pixel = Src * Src.a + Dest * (1 - Src.a)
|
||||
|
|
|
@ -373,7 +373,7 @@ public :
|
|||
/// \return Reference to self
|
||||
///
|
||||
////////////////////////////////////////////////////////////
|
||||
Image& operator =(const Image& other);
|
||||
Image& operator =(const Image& right);
|
||||
|
||||
private :
|
||||
|
||||
|
|
|
@ -249,6 +249,8 @@ public :
|
|||
/// renderer.End();
|
||||
/// \endcode
|
||||
///
|
||||
/// \param type Type of the primitives that are going to be rendered
|
||||
///
|
||||
/// \see End
|
||||
///
|
||||
////////////////////////////////////////////////////////////
|
||||
|
|
|
@ -144,7 +144,7 @@ public :
|
|||
/// \see SetTexture
|
||||
///
|
||||
////////////////////////////////////////////////////////////
|
||||
void SetParameter(const std::string& Name, float x, float y);
|
||||
void SetParameter(const std::string& name, float x, float y);
|
||||
|
||||
////////////////////////////////////////////////////////////
|
||||
/// \brief Change a 3-components vector parameter of the shader
|
||||
|
@ -166,7 +166,7 @@ public :
|
|||
/// \see SetTexture
|
||||
///
|
||||
////////////////////////////////////////////////////////////
|
||||
void SetParameter(const std::string& Name, float x, float y, float z);
|
||||
void SetParameter(const std::string& name, float x, float y, float z);
|
||||
|
||||
////////////////////////////////////////////////////////////
|
||||
/// \brief Change a 4-components vector parameter of the shader
|
||||
|
@ -189,7 +189,7 @@ public :
|
|||
/// \see SetTexture
|
||||
///
|
||||
////////////////////////////////////////////////////////////
|
||||
void SetParameter(const std::string& Name, float x, float y, float z, float w);
|
||||
void SetParameter(const std::string& name, float x, float y, float z, float w);
|
||||
|
||||
////////////////////////////////////////////////////////////
|
||||
/// \brief Change a 2-components vector parameter of the shader
|
||||
|
|
|
@ -79,7 +79,7 @@ public :
|
|||
////////////////////////////////////////////////////////////
|
||||
/// \brief Get the number of points composing the shape
|
||||
///
|
||||
/// \param Total number of points
|
||||
/// \return Total number of points
|
||||
///
|
||||
////////////////////////////////////////////////////////////
|
||||
unsigned int GetPointsCount() const;
|
||||
|
@ -202,7 +202,7 @@ public :
|
|||
/// \a index, if it is out of bounds (ie. in the range
|
||||
/// [0, GetPointscount() - 1]) the behaviour is undefined.
|
||||
///
|
||||
/// \param Index index of the point
|
||||
/// \param index Index of the point
|
||||
///
|
||||
/// \return Color of the index-th point
|
||||
///
|
||||
|
@ -246,10 +246,10 @@ public :
|
|||
/// sf::Shape line = sf::Shape::Line(0, 0, 10, 20, 2.5f, sf::Color::Green);
|
||||
/// \endcode
|
||||
///
|
||||
/// \param x0 X coordinate of the start point
|
||||
/// \param y0 Y coordinate of the start point
|
||||
/// \param x1 X coordinate of the end point
|
||||
/// \param y1 Y coordinate of the end point
|
||||
/// \param p1x X coordinate of the start point
|
||||
/// \param p1y Y coordinate of the start point
|
||||
/// \param p2x X coordinate of the end point
|
||||
/// \param p2y Y coordinate of the end point
|
||||
/// \param thickness Thickness of the line
|
||||
/// \param color Color of the shape's points
|
||||
/// \param outline Outline width
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue