32 #include "Portability.h"    38 #ifndef DOXYGEN_SHOULD_SKIP_THIS   103     virtual std::size_t getPointCount() 
const override;
   104     virtual Vector2f getPoint(std::size_t index) 
const override;
   149     CircleShape(
float radius = 0, std::size_t pointCount = 30);
   169     void setRadius(
float radius);
   189     void setPointCount(std::size_t pointCount);
   191     virtual std::size_t getPointCount() 
const override;
   192     virtual Vector2f getPoint(std::size_t index) 
const override;
   196     std::size_t m_pointCount;
   254     void setPointCount(std::size_t pointCount);
   263     void setPoint(std::size_t index, 
Vector2f point);
   265     virtual std::size_t getPointCount() 
const override;
   266     virtual Vector2f getPoint(std::size_t index) 
const override;
   269     std::vector<Vector2f> m_points;
   306     StarShape(
float minRadius = 0, 
float maxRadius = 0, std::size_t branches = 7);
   314     void setMinRadius(
float minRadius);
   332     void setMaxRadius(
float maxRadius);
   350     void setBranches(std::size_t branches);
   362     virtual std::size_t getPointCount() 
const override;
   363     virtual Vector2f getPoint(std::size_t index) 
const override;
   368     std::size_t m_branches;
   445     void setRadius(
float radius);
   465     void setCornerPointCount(std::size_t cornerPointCount);
   467     virtual std::size_t getPointCount() 
const override;
   468     virtual Vector2f getPoint(std::size_t index) 
const override;
   473     std::size_t m_cornerPointCount;
   477 #ifndef DOXYGEN_SHOULD_SKIP_THIS   482 #endif // GF_SHAPES_H Base class for textured shapes with outline. 
Definition: Shape.h:73
 
Specialized shape representing a rounded rectangle. 
Definition: Shapes.h:395
 
Specialized shape representing a rectangle. 
Definition: Shapes.h:64
 
float getMinRadius() const
Get the minimum radius. 
Definition: Shapes.h:322
 
float getMaxRadius() const
Get the maximum radius. 
Definition: Shapes.h:340
 
The namespace for gf classes. 
Definition: Action.h:35
 
Specialized shape representing a circle. 
Definition: Shapes.h:141
 
Vector2f getSize() const
Get the size of the rectangle. 
Definition: Shapes.h:99
 
float getRadius() const
Get the radius of the corner. 
Definition: Shapes.h:454
 
A convex polygon. 
Definition: Polygon.h:46
 
Specialized shape representing a star. 
Definition: Shapes.h:297
 
Vector2f getSize() const
Get the size of the rectangle. 
Definition: Shapes.h:434
 
Specialized shape representing a convex polygon. 
Definition: Shapes.h:229
 
std::size_t getBranches() const
Get the number of branches. 
Definition: Shapes.h:358
 
float getRadius() const
Get the radius of the circle. 
Definition: Shapes.h:178