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

Author Topic: Is it possible to crop a text?  (Read 1480 times)

0 Members and 1 Guest are viewing this topic.

texus

  • Hero Member
  • *****
  • Posts: 505
    • View Profile
    • TGUI
    • Email
Is it possible to crop a text?
« on: January 07, 2012, 05:53:04 pm »
Is it possible to draw e.g. only the top part of a text in SFML2?
TGUI: C++ SFML GUI

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
Is it possible to crop a text?
« Reply #1 on: January 07, 2012, 06:31:36 pm »
All you can do is remove characters from the string. I will implement render masks in a future minor revision of SFML 2.
Laurent Gomila - SFML developer

 

anything