CYD-UI
A C++ library for building native graphic user interfaces
Loading...
Searching...
No Matches
vg::fragment_t Struct Referenceexport
+ Collaboration diagram for vg::fragment_t:

Public Member Functions

void clear ()
 
bool empty () const
 
template<typename... T>
void append (T &&... _elements)
 
template<typename T, typename... Args>
T & draw (Args &&... args)
 

Public Attributes

std::vector< std::shared_ptr< element_t > > elements {}
 

Detailed Description

Definition at line 19 of file fragment.cppm.

Member Function Documentation

◆ append()

template<typename... T>
void vg::fragment_t::append ( T &&... _elements)
inlineexport

Definition at line 31 of file fragment.cppm.

◆ clear()

void vg::fragment_t::clear ( )
inlineexport

Definition at line 22 of file fragment.cppm.

◆ draw()

template<typename T, typename... Args>
T & vg::fragment_t::draw ( Args &&... args)
inlineexport

Definition at line 40 of file fragment.cppm.

◆ empty()

bool vg::fragment_t::empty ( ) const
inlineexport

Definition at line 26 of file fragment.cppm.


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