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

Author Topic: [Solved] sf::Image::SetRepeat?  (Read 3125 times)

0 Members and 1 Guest are viewing this topic.

Kalero

  • Newbie
  • *
  • Posts: 15
    • View Profile
[Solved] sf::Image::SetRepeat?
« on: June 10, 2008, 06:53:58 pm »
I have attempt  very much, but I don't get it to work  :cry:
Can someone give me a little sample, please?
thank you in advance

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32504
    • View Profile
    • SFML's website
    • Email
[Solved] sf::Image::SetRepeat?
« Reply #1 on: June 11, 2008, 02:52:10 am »
You should forget about it. This is a deprecated feature that is no longer in the new version.
Laurent Gomila - SFML developer

Kalero

  • Newbie
  • *
  • Posts: 15
    • View Profile
[Solved] sf::Image::SetRepeat?
« Reply #2 on: June 11, 2008, 10:47:20 am »
Oh...why not?
Give it a other methode to do it?

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32504
    • View Profile
    • SFML's website
    • Email
[Solved] sf::Image::SetRepeat?
« Reply #3 on: June 11, 2008, 11:23:07 am »
Quote
Oh...why not?

Because an image can internally be bigger and padded with white pixels. In this case, repeat mode doesn't make any sense.

Quote
Give it a other methode to do it?

Use multiple sprites, or write your own OpenGL code to do it.
Laurent Gomila - SFML developer

Kalero

  • Newbie
  • *
  • Posts: 15
    • View Profile
[Solved] sf::Image::SetRepeat?
« Reply #4 on: June 11, 2008, 11:41:21 am »
okay, then i use multiples sprites
thank you for the answers.