I was wondering why sf::Shape was split up from SFML 1.6 to SFML 2
To solve issues that people were having:
- they thought Shape::Rectangle, Shape::Circle, etc. were "types" or "constructors"
- the parameters of these functions were misunderstood (for example, they mixed global color and points' color)
- they complained about not being able to change the radius/size/whatever of a shape after constructing it
- new features (texture, texture rect) wouldn't fit in the old design (construction functions already took too many arguments)
I'm also wondering why the simple Line shape was phased out in favor of vertex arrays.
1-pixel lines can be reproduced with 2 vertices drawn as sf::Lines.
Lines with thickness are just rotated rectangles.
So there's actually no need for a sf::LineShape class.