|
Capycore Engine
0.1.0
A simple and lightweight game engine written in C++ based on the Unity API architecture.
|
SDL implementation of the text rendering strategy. More...
#include <sdl_text_strategy.h>
Public Member Functions | |
| SdlTextStrategy (SDL_Renderer &sdl_renderer) | |
| ~SdlTextStrategy () override=default | |
| void | draw (Component &component, Camera &camera) override |
Public Member Functions inherited from IRenderingStrategy | |
| virtual | ~IRenderingStrategy ()=default |
SDL implementation of the text rendering strategy.
SdlTextStrategy is responsible for rendering text components using SDL. It utilizes an SDL_Renderer to draw the associated text elements of the Component onto the screen, applying necessary transformations and styles as specified by the text component.
| SdlTextStrategy::SdlTextStrategy | ( | SDL_Renderer & | sdl_renderer | ) |
|
overridedefault |
Implements IRenderingStrategy.