26#ifndef TGUI_BACKEND_RENDERER_HPP
27#define TGUI_BACKEND_RENDERER_HPP
29#include <TGUI/Backend/Renderer/BackendText.hpp>
30#include <TGUI/Backend/Renderer/BackendTexture.hpp>
31#include <TGUI/Backend/Window/Backend.hpp>
33#if !TGUI_EXPERIMENTAL_USE_STD_MODULE
39TGUI_MODULE_EXPORT
namespace tgui
58 TGUI_NODISCARD
virtual std::shared_ptr<BackendText>
createText()
60 return std::make_shared<BackendText>();
68 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:45
virtual ~BackendRenderer()=default
Virtual destructor.
virtual TGUI_NODISCARD unsigned int getMaximumTextureSize()=0
Get the maximum allowed texture size.
virtual TGUI_NODISCARD std::shared_ptr< BackendTexture > createTexture()=0
Creates a new empty texture object.
virtual TGUI_NODISCARD std::shared_ptr< BackendText > createText()
Creates a new empty text object.
Definition BackendRenderer.hpp:58
Namespace that contains all TGUI functions and classes.
Definition AbsoluteOrRelativeValue.hpp:39