![]() |
neoGFX
Cross-platform C++ app/game engine
|
#include <primitives.hpp>
Public Member Functions | |
| text_color (color_or_gradient const &aOther) | |
| text_color & | operator= (color_or_gradient const &aOther) |
| color::component | alpha () const |
| text_color | with_alpha (color::component aAlpha) const |
Public Member Functions inherited from neolib::variant< color, gradient > | |
| variant () | |
| variant (T const &aOther) | |
| variant (T &&aOther) | |
| variant (T const &aOther) | |
| variant (abstract_type &&aOther) | |
| variant (T const &aValue) | |
| variant (T &&aValue) | |
| variant (T const &aValue) | |
| variant (T &&aValue) | |
| self_type & | operator= (T const &aOther) |
| self_type & | operator= (T &&aOther) |
| self_type & | operator= (T const &aOther) |
| self_type & | operator= (T &&aOther) |
| self_type & | operator= (T const &aValue) |
| self_type & | operator= (T &&aValue) |
| self_type & | operator= (T const &aValue) |
| self_type & | operator= (T &&aValue) |
| std::size_t | index () const override |
Public Member Functions inherited from neolib::reference_counted< i_variant< abstract_t< Types >... > > | |
| reference_counted () noexcept | |
| reference_counted (const reference_counted &aOther) noexcept | |
| ~reference_counted () | |
| reference_counted & | operator= (const reference_counted &) |
| void | add_ref () const noexcept override |
| void | release () const override |
| int32_t | use_count () const noexcept override |
| const base_type * | release_and_take_ownership () const override |
| base_type * | release_and_take_ownership () override |
| void | pin () const noexcept override |
| void | unpin () const override |
| i_ref_control_block & | control_block () override |
Public Member Functions inherited from neolib::i_variant< abstract_t< Types >... > | |
| virtual | ~i_variant ()=default |
| bool | holds_alternative () const |
| T const * | get_if () const |
| T * | get_if () |
| T const & | get () const |
| T & | get () |
Public Member Functions inherited from neolib::i_reference_counted | |
| virtual | ~i_reference_counted ()=default |
Additional Inherited Members | |
Public Types inherited from neolib::variant< color, gradient > | |
| using | abstract_type = i_variant< abstract_t< Types >... > |
| using | std_type = std::variant< std::monostate, Types... > |
Public Types inherited from neolib::i_variant< abstract_t< Types >... > | |
| typedef self_type | abstract_type |
Static Public Attributes inherited from neolib::variant< color, gradient > | |
| static constexpr bool | is_copy_constructible_v |
| static constexpr bool | is_move_constructible_v |
| static constexpr bool | is_copy_assignable_v |
| static constexpr bool | is_move_assignable_v |
| static constexpr bool | is_alternative_v |
Definition at line 112 of file primitives.hpp.
|
inline |
Definition at line 116 of file primitives.hpp.
|
inline |
Definition at line 128 of file primitives.hpp.
|
inline |
Definition at line 122 of file primitives.hpp.
|
inline |
Definition at line 135 of file primitives.hpp.