TGUI  0.8-dev
tgui::Clipping Class Reference

Public Member Functions

 Clipping (const 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 ( const sf::RenderTarget &  target,
const sf::RenderStates &  states,
sf::Vector2f  topLeft,
sf::Vector2f  size 
)
inline

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: