As far as I can tell, there is no way of altering the thickness of a shape once it has been set. Is this true?
My program involves an awful lot of zooming in and out from a 1:1 view to a 1:4 view on occasion, which means that the line thicknesses need to be altered quite often (thickness 1 works fine when zoomed in, but "dissipates" when zoomed out, in which case thickness 4 works best. However, thickness 4 on 1:1 is very thick).
Would I therefore have to regenerate any existing shapes each time there is a view change, i.e.:
//considering the existence of a previous sf::Shape a, a line of thickness 1
sf::Shape b = sf::Shape::Line(a.GetPointPosition(1),a.GetPointPosition(2),4,sf::Color(0,128,128));
I was hoping there was a simple a.Thickness(4) which would change the property after a RenderWindow::Draw(a);