TGUI  0.8.9
tgui::Clipping Class Reference

Public Member Functions

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