SFML community forums

Help => Graphics => Topic started by: sludge on July 12, 2010, 04:35:08 pm

Title: Rendering shapes
Post by: sludge on July 12, 2010, 04:35:08 pm
I suppose this is a very simple question.  I'm just trying to make a rectangle with a black outline.

The following line peculiarly produces nothing:
Code: [Select]

MainWindow.Draw(sf::Shape::Rectangle(600, sprite_ball.GetPosition().y, 770, sprite_ball.GetPosition().y + 80,
sf::Color::White, 20.f, sf::Color(0, 0, 0)));


EDIT:  Solved the problem.  I was printing the background after the shapes