|
| Clipping (sf::RenderTarget &target, const sf::RenderStates &states, sf::Vector2f topLeft, sf::Vector2f size) |
| Creates a clipping object which will define a clipping region until the object is destroyed. More...
|
|
◆ Clipping()
tgui::Clipping::Clipping |
( |
sf::RenderTarget & |
target, |
|
|
const sf::RenderStates & |
states, |
|
|
sf::Vector2f |
topLeft, |
|
|
sf::Vector2f |
size |
|
) |
| |
Creates a clipping object which will define a clipping region until the object is destroyed.
- Parameters
-
target | Target to which we are drawing |
states | Current render states |
topLeft | Position of the top left corner of the clipping area relative to the view |
size | Size of the clipping area relative to the view |
The documentation for this class was generated from the following file: