25 #ifndef SFML_CONVEXSHAPE_HPP 26 #define SFML_CONVEXSHAPE_HPP 31 #include <SFML/Graphics/Export.hpp> 32 #include <SFML/Graphics/Shape.hpp> 64 void setPointCount(std::size_t count);
74 virtual std::size_t getPointCount()
const;
91 void setPoint(std::size_t index,
const Vector2f& point);
108 virtual Vector2f getPoint(std::size_t index)
const;
115 std::vector<Vector2f> m_points;
121 #endif // SFML_CONVEXSHAPE_HPP Specialized shape representing a convex polygon.
Base class for textured shapes with outline.
Utility template class for manipulating 2-dimensional vectors.