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

Author Topic: sf::View - not working correct  (Read 654 times)

0 Members and 1 Guest are viewing this topic.

tBane

  • Newbie
  • *
  • Posts: 2
    • View Profile
sf::View - not working correct
« on: December 08, 2024, 11:20:53 am »
Hi! I tried positioning text in texture but my code now work. I think so SFML 2.6.2 not working correctly, because I think my code is correct. I use global coordinates for all objects and result is in screenshot. I think this red bar should be a hover of blue rect.


(click to show/hide)
« Last Edit: December 08, 2024, 11:29:49 am by tBane »

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 11049
    • View Profile
    • development blog
    • Email
Re: sf::View - not working correct
« Reply #1 on: December 08, 2024, 10:00:43 pm »
Unfortunately, I don't quite understand what you're trying to say (maybe a translation tool can help?)

What does "be a hover" mean in "I think this red bar should be a hover of blue rect"?
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/

tBane

  • Newbie
  • *
  • Posts: 2
    • View Profile
Re: sf::View - not working correct
« Reply #2 on: December 09, 2024, 08:33:40 am »
Sorry for the poor wording. I need to render a texture that I create using text. I've already found a solution:

(click to show/hide)