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>
56 return std::make_shared<BackendText>();
75 virtual unsigned int getMaximumTextureSize() = 0;
81#ifndef TGUI_REMOVE_DEPRECATED_CODE
82 using BackendRendererBase TGUI_DEPRECATED(
"BackendRendererBase was renamed to BackendRenderer") = BackendRenderer;
Base class for the backend renderer, which is responsible for creating text and texture objects.
Definition: BackendRenderer.hpp:41
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()
Get the maximum allowed texture size.
Definition: BackendRenderer.hpp:77
Namespace that contains all TGUI functions and classes.
Definition: AbsoluteOrRelativeValue.hpp:36