25#ifndef TGUI_BACKEND_RENDERER_HPP
26#define TGUI_BACKEND_RENDERER_HPP
28#include <TGUI/Backend/Renderer/BackendText.hpp>
29#include <TGUI/Backend/Renderer/BackendTexture.hpp>
30#include <TGUI/Backend/Window/Backend.hpp>
54 TGUI_NODISCARD
virtual std::shared_ptr<BackendText>
createText()
56 return std::make_shared<BackendText>();
63 TGUI_NODISCARD
virtual std::shared_ptr<BackendTexture>
createTexture() = 0;
Base class for the backend renderer, which is responsible for creating text and texture objects.
Definition BackendRenderer.hpp:42
virtual ~BackendRenderer()=default
Virtual destructor.
virtual std::shared_ptr< BackendTexture > createTexture()=0
Creates a new empty texture object.
virtual std::shared_ptr< BackendText > createText()
Creates a new empty text object.
Definition BackendRenderer.hpp:54
virtual unsigned int getMaximumTextureSize()=0
Get the maximum allowed texture size.
Namespace that contains all TGUI functions and classes.
Definition AbsoluteOrRelativeValue.hpp:36