neoGFX
Cross-platform C++ app/game engine
Loading...
Searching...
No Matches
neogfx::game::shape::text Class Reference

#include <text_mesh.hpp>

Inheritance diagram for neogfx::game::shape::text:
neolib::ecs::entity

Public Member Functions

 text (i_ecs &aEcs, i_graphics_context const &aGc, std::string const &aText, const neogfx::font &aFont, const neogfx::text_format &aTextFormat, neogfx::alignment aAlignment=alignment::Left)
 
 text (const text &aOther)
 
- Public Member Functions inherited from neolib::ecs::entity
 entity (i_ecs &aEcs, entity_id aId)
 
 entity (i_ecs &aEcs, const entity_archetype_id &aArchetypeId)
 
template<typename... ComponentData>
 entity (i_ecs &aEcs, const entity_archetype_id &aArchetypeId, ComponentData &&... aComponentData)
 
 ~entity ()
 
 entity (const entity &aOther)=delete
 
entityoperator= (const entity &aOther)=delete
 
i_ecsecs () const
 
entity_id id () const
 
bool detached_or_destroyed () const
 
entity_id detach ()
 

Static Public Member Functions

static const entity_archetypearchetype ()
 

Detailed Description

Definition at line 178 of file text_mesh.hpp.

Constructor & Destructor Documentation

◆ text() [1/2]

neogfx::game::shape::text::text ( i_ecs aEcs,
i_graphics_context const &  aGc,
std::string const &  aText,
const neogfx::font &  aFont,
const neogfx::text_format &  aTextFormat,
neogfx::alignment  aAlignment = alignment::Left 
)

◆ text() [2/2]

neogfx::game::shape::text::text ( const text aOther)

Member Function Documentation

◆ archetype()

static const entity_archetype & neogfx::game::shape::text::archetype ( )
inlinestatic

Definition at line 181 of file text_mesh.hpp.


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