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

Author Topic: Thin Shapes + views  (Read 3135 times)

0 Members and 1 Guest are viewing this topic.

ShadowDancer

  • Newbie
  • *
  • Posts: 26
    • View Profile
Thin Shapes + views
« on: December 12, 2009, 12:27:59 pm »
I have problem with it. Example if i make square with 1 outlining, and next zoom view some edges dissapears. Is possible to fix it?

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32504
    • View Profile
    • SFML's website
    • Email
Thin Shapes + views
« Reply #1 on: December 12, 2009, 12:36:34 pm »
Can you show a complete and minimal source code that reproduces this problem?
Laurent Gomila - SFML developer

ShadowDancer

  • Newbie
  • *
  • Posts: 26
    • View Profile
Thin Shapes + views
« Reply #2 on: December 12, 2009, 09:48:14 pm »
No :C I'm not drawing much, just square on screen and using view.zoom(ex. if i zoom to 200% i can see 2 lines, not square).

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32504
    • View Profile
    • SFML's website
    • Email
Thin Shapes + views
« Reply #3 on: December 12, 2009, 10:14:39 pm »
Quote
No

???
Laurent Gomila - SFML developer

ShadowDancer

  • Newbie
  • *
  • Posts: 26
    • View Profile
Thin Shapes + views
« Reply #4 on: December 12, 2009, 10:34:55 pm »
It's graphics editor, and theres many corresponding classes...

Dominator

  • Newbie
  • *
  • Posts: 37
    • View Profile
Thin Shapes + views
« Reply #5 on: December 12, 2009, 10:48:09 pm »

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32504
    • View Profile
    • SFML's website
    • Email
Thin Shapes + views
« Reply #6 on: December 12, 2009, 11:06:15 pm »
Quote from: "ShadowDancer"
It's graphics editor, and theres many corresponding classes...

Well, that's why it is called a minimal example ;)
If the issue is related to drawing thin shapes, then try to write a small application that just draws the same shape. 99% of your source code is probably unrelated to this issue.

Quote
Maybe it's related to this issue:
http://www.sfml-dev.org/forum/viewtopic.php?t=1828

This one is in SFML 2.
Laurent Gomila - SFML developer