Renamed Shape::GetNbPoints to Shape::GetPointsCount (consistent with the other similar functions)
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1408 4e206d99-4929-0410-ac5d-dfc041789085
This commit is contained in:
parent
aa2199bbb3
commit
b60fda48d9
10 changed files with 19 additions and 19 deletions
|
@ -394,7 +394,7 @@ CSFML_API float sfShape_GetOutlineWidth(const sfShape* shape);
|
|||
/// \return Total number of points
|
||||
///
|
||||
////////////////////////////////////////////////////////////
|
||||
CSFML_API unsigned int sfShape_GetNbPoints(const sfShape* shape);
|
||||
CSFML_API unsigned int sfShape_GetPointsCount(const sfShape* shape);
|
||||
|
||||
////////////////////////////////////////////////////////////
|
||||
/// Get a the position of a shape's point
|
||||
|
|
|
@ -388,9 +388,9 @@ float sfShape_GetOutlineWidth(const sfShape* shape)
|
|||
////////////////////////////////////////////////////////////
|
||||
/// Get the number of points composing a shape
|
||||
////////////////////////////////////////////////////////////
|
||||
unsigned int sfShape_GetNbPoints(const sfShape* shape)
|
||||
unsigned int sfShape_GetPointsCount(const sfShape* shape)
|
||||
{
|
||||
CSFML_CALL_RETURN(shape, GetNbPoints(), 0)
|
||||
CSFML_CALL_RETURN(shape, GetPointsCount(), 0)
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -84,7 +84,7 @@ EXPORTS
|
|||
sfShape_EnableOutline
|
||||
sfShape_SetOutlineWidth
|
||||
sfShape_GetOutlineWidth
|
||||
sfShape_GetNbPoints
|
||||
sfShape_GetPointsCount
|
||||
sfShape_GetPointPosition
|
||||
sfShape_GetPointColor
|
||||
sfShape_GetPointOutlineColor
|
||||
|
|
|
@ -84,7 +84,7 @@ EXPORTS
|
|||
sfShape_EnableOutline
|
||||
sfShape_SetOutlineWidth
|
||||
sfShape_GetOutlineWidth
|
||||
sfShape_GetNbPoints
|
||||
sfShape_GetPointsCount
|
||||
sfShape_GetPointPosition
|
||||
sfShape_GetPointColor
|
||||
sfShape_GetPointOutlineColor
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue