neoGFX
Cross-platform C++ app/game engine
Loading...
Searching...
No Matches
neogfx::i_gradient_manager Class Referenceabstract

#include <i_gradient_manager.hpp>

Inheritance diagram for neogfx::i_gradient_manager:
neolib::i_basic_cookie_consumer< CookieType > neolib::services::i_service neogfx::gradient_manager

Classes

struct  gradient_not_found
 

Public Types

typedef i_gradient_manager abstract_type
 

Public Member Functions

virtual void clear_gradients ()=0
 
virtual i_gradient_sampler const & sampler (i_gradient const &aGradient)=0
 
virtual i_gradient_filter const & filter (i_gradient const &aGradient)=0
 
neolib::ref_ptr< i_gradient > find_gradient (gradient_id aId) const
 
neolib::ref_ptr< i_gradient > create_gradient ()
 
neolib::ref_ptr< i_gradient > create_gradient (i_gradient const &aOther)
 
neolib::ref_ptr< i_gradient > create_gradient (i_string const &aCssDeclaration)
 
neolib::ref_ptr< i_gradient > create_gradient (sRGB_color const &aColor)
 
neolib::ref_ptr< i_gradient > create_gradient (sRGB_color const &aColor, gradient_direction aDirection)
 
neolib::ref_ptr< i_gradient > create_gradient (sRGB_color const &aColor1, sRGB_color const &aColor2, gradient_direction aDirection=gradient_direction::Vertical)
 
neolib::ref_ptr< i_gradient > create_gradient (i_gradient::color_stop_list const &aColorStops, gradient_direction aDirection=gradient_direction::Vertical)
 
neolib::ref_ptr< i_gradient > create_gradient (i_gradient::color_stop_list const &aColorStops, i_gradient::alpha_stop_list const &aAlphaStops, gradient_direction aDirection=gradient_direction::Vertical)
 
neolib::ref_ptr< i_gradient > create_gradient (i_gradient const &aOther, i_gradient::color_stop_list const &aColorStops)
 
neolib::ref_ptr< i_gradient > create_gradient (i_gradient const &aOther, i_gradient::color_stop_list const &aColorStops, i_gradient::alpha_stop_list const &aAlphaStops)
 
neolib::ref_ptr< i_gradient > create_gradient (neolib::i_vector< sRGB_color::abstract_type > const &aColors, gradient_direction aDirection=gradient_direction::Vertical)
 
neolib::ref_ptr< i_gradient > create_gradient (std::initializer_list< sRGB_color > const &aColors, gradient_direction aDirection=gradient_direction::Vertical)
 
- Public Member Functions inherited from neolib::services::i_service
virtual ~i_service ()=default
 

Static Public Member Functions

static uuid const & iid ()
 

Friends

class gradient_object
 

Detailed Description

Definition at line 28 of file i_gradient_manager.hpp.

Member Typedef Documentation

◆ abstract_type

Member Function Documentation

◆ clear_gradients()

virtual void neogfx::i_gradient_manager::clear_gradients ( )
pure virtual

Implemented in neogfx::gradient_manager.

◆ create_gradient() [1/12]

neolib::ref_ptr< i_gradient > neogfx::i_gradient_manager::create_gradient ( )
inline

Definition at line 50 of file i_gradient_manager.hpp.

◆ create_gradient() [2/12]

neolib::ref_ptr< i_gradient > neogfx::i_gradient_manager::create_gradient ( i_gradient const &  aOther)
inline

Definition at line 56 of file i_gradient_manager.hpp.

◆ create_gradient() [3/12]

neolib::ref_ptr< i_gradient > neogfx::i_gradient_manager::create_gradient ( i_gradient const &  aOther,
i_gradient::color_stop_list const &  aColorStops 
)
inline

Definition at line 98 of file i_gradient_manager.hpp.

◆ create_gradient() [4/12]

neolib::ref_ptr< i_gradient > neogfx::i_gradient_manager::create_gradient ( i_gradient const &  aOther,
i_gradient::color_stop_list const &  aColorStops,
i_gradient::alpha_stop_list const &  aAlphaStops 
)
inline

Definition at line 104 of file i_gradient_manager.hpp.

◆ create_gradient() [5/12]

neolib::ref_ptr< i_gradient > neogfx::i_gradient_manager::create_gradient ( i_gradient::color_stop_list const &  aColorStops,
gradient_direction  aDirection = gradient_direction::Vertical 
)
inline

Definition at line 86 of file i_gradient_manager.hpp.

◆ create_gradient() [6/12]

neolib::ref_ptr< i_gradient > neogfx::i_gradient_manager::create_gradient ( i_gradient::color_stop_list const &  aColorStops,
i_gradient::alpha_stop_list const &  aAlphaStops,
gradient_direction  aDirection = gradient_direction::Vertical 
)
inline

Definition at line 92 of file i_gradient_manager.hpp.

◆ create_gradient() [7/12]

neolib::ref_ptr< i_gradient > neogfx::i_gradient_manager::create_gradient ( i_string const &  aCssDeclaration)
inline

Definition at line 62 of file i_gradient_manager.hpp.

◆ create_gradient() [8/12]

neolib::ref_ptr< i_gradient > neogfx::i_gradient_manager::create_gradient ( neolib::i_vector< sRGB_color::abstract_type > const &  aColors,
gradient_direction  aDirection = gradient_direction::Vertical 
)
inline

Definition at line 110 of file i_gradient_manager.hpp.

◆ create_gradient() [9/12]

neolib::ref_ptr< i_gradient > neogfx::i_gradient_manager::create_gradient ( sRGB_color const &  aColor)
inline

Definition at line 68 of file i_gradient_manager.hpp.

◆ create_gradient() [10/12]

neolib::ref_ptr< i_gradient > neogfx::i_gradient_manager::create_gradient ( sRGB_color const &  aColor,
gradient_direction  aDirection 
)
inline

Definition at line 74 of file i_gradient_manager.hpp.

◆ create_gradient() [11/12]

neolib::ref_ptr< i_gradient > neogfx::i_gradient_manager::create_gradient ( sRGB_color const &  aColor1,
sRGB_color const &  aColor2,
gradient_direction  aDirection = gradient_direction::Vertical 
)
inline

Definition at line 80 of file i_gradient_manager.hpp.

◆ create_gradient() [12/12]

neolib::ref_ptr< i_gradient > neogfx::i_gradient_manager::create_gradient ( std::initializer_list< sRGB_color > const &  aColors,
gradient_direction  aDirection = gradient_direction::Vertical 
)
inline

Definition at line 116 of file i_gradient_manager.hpp.

◆ filter()

virtual i_gradient_filter const & neogfx::i_gradient_manager::filter ( i_gradient const &  aGradient)
pure virtual

Implemented in neogfx::gradient_manager.

◆ find_gradient()

neolib::ref_ptr< i_gradient > neogfx::i_gradient_manager::find_gradient ( gradient_id  aId) const
inline

Definition at line 44 of file i_gradient_manager.hpp.

◆ iid()

static uuid const & neogfx::i_gradient_manager::iid ( )
inlinestatic

Definition at line 135 of file i_gradient_manager.hpp.

◆ sampler()

virtual i_gradient_sampler const & neogfx::i_gradient_manager::sampler ( i_gradient const &  aGradient)
pure virtual

Implemented in neogfx::gradient_manager.

Friends And Related Symbol Documentation

◆ gradient_object

friend class gradient_object
friend

Definition at line 30 of file i_gradient_manager.hpp.


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