FlowArithmeticCalculator 1.0.0
Flow Arithmetic Calculator
Loading...
Searching...
No Matches
gui::renderer::delegate::UIRendererDelegate< Canvas > Class Template Referenceabstract

The delegate for the UI renderer. More...

#include <UIRendererDelegate.h>

+ Inheritance diagram for gui::renderer::delegate::UIRendererDelegate< Canvas >:
+ Collaboration diagram for gui::renderer::delegate::UIRendererDelegate< Canvas >:

Public Member Functions

virtual ~UIRendererDelegate ()=default
 
virtual void renderCenteredTextsRows (Canvas *canvas, const business_logic::geometry::Size2D &size, const std::vector< components::UITextsRow > &rows)=0
 Renders the texts on the canvas around the center horizontally, centered vertically.
 

Detailed Description

template<typename Canvas>
class gui::renderer::delegate::UIRendererDelegate< Canvas >

The delegate for the UI renderer.

The delegate is used to render the UI elements.

Definition at line 26 of file UIRendererDelegate.h.

Constructor & Destructor Documentation

◆ ~UIRendererDelegate()

template<typename Canvas >
virtual gui::renderer::delegate::UIRendererDelegate< Canvas >::~UIRendererDelegate ( )
virtualdefault

Member Function Documentation

◆ renderCenteredTextsRows()

template<typename Canvas >
virtual void gui::renderer::delegate::UIRendererDelegate< Canvas >::renderCenteredTextsRows ( Canvas *  canvas,
const business_logic::geometry::Size2D size,
const std::vector< components::UITextsRow > &  rows 
)
pure virtual

Renders the texts on the canvas around the center horizontally, centered vertically.

Parameters
canvasCanvas to draw on
sizeThe size of the canvas
rowsThe rows of texts to render

Implemented in gui::renderer::SkiaRendererImpl.

Referenced by gui::elements::SkiaBlocksManagerRenderer::render().

+ Here is the caller graph for this function:

The documentation for this class was generated from the following file: