26#ifndef TGUI_CLIPPING_HPP
27#define TGUI_CLIPPING_HPP
29#include <TGUI/Global.hpp>
30#include <TGUI/Vector2f.hpp>
31#include <SFML/Graphics/RenderTarget.hpp>
32#include <SFML/Graphics/View.hpp>
68 static void setGuiView(
const sf::View& view);
74 sf::RenderTarget& m_target;
77 static sf::View m_originalView;
Definition: Clipping.hpp:41
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.
Definition: Vector2f.hpp:39
Namespace that contains all TGUI functions and classes.
Definition: AbsoluteOrRelativeValue.hpp:37