1
Graphics / Strange behaviour of sf::Shape::SetRotation?
« on: February 09, 2009, 02:58:00 pm »Quote from: "Laurent"
What result did you get?I found the rectangle in the top left corner of the Window centered, so that 0,0 (of the window) was the middle of the rectangle.
Then I can set the position to where I want it to be. So the actual problem is solved now.
But did I get that right:
When I set the center to a position, it only means that from then on the rectangle is "grabbed" at that point, e.g. when setting the position, what should also be the reason why the rectangle is drawn at (0,0) when I set the Center at (400, 400).
Could one even say it doesn't matter where the absolute position of the points is, as you usually adjust the position and center yourself?
Oh boy don't hold it against me, but I guess I got my wires crossed.
Referring to my question about points: I guess they won't change their position then, do they?