Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: Rendering shapes  (Read 1868 times)

0 Members and 1 Guest are viewing this topic.

sludge

  • Newbie
  • *
  • Posts: 24
    • View Profile
Rendering shapes
« 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

 

anything