TGUI  0.7.8
tgui::Clipping Class Reference

Public Member Functions

 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...
 

Constructor & Destructor Documentation

◆ 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
targetTarget to which we are drawing
statesCurrent render states
topLeftPosition of the top left corner of the clipping area relative to the view
sizeSize of the clipping area relative to the view

The documentation for this class was generated from the following file: