neoGFX
Cross-platform C++ app/game engine
Loading...
Searching...
No Matches
gradient.hpp File Reference

Go to the source code of this file.

Classes

class  neogfx::basic_gradient< Sharing >
 

Namespaces

namespace  neogfx
 

Typedefs

using neogfx::shared_gradient = basic_gradient< gradient_sharing::Shared >
 
using neogfx::unique_gradient = basic_gradient< gradient_sharing::Unique >
 
using neogfx::gradient = shared_gradient
 
typedef neolib::optional< gradientneogfx::optional_gradient
 
typedef neolib::variant< color, gradientneogfx::color_or_gradient
 
typedef neolib::optional< color_or_gradientneogfx::optional_color_or_gradient
 

Functions

void neogfx::apply_bounding_box (color_or_gradient &aColorOrGradient, rect const &aBoundingBox)
 
void neogfx::apply_bounding_box (optional_color_or_gradient &aColorOrGradient, rect const &aBoundingBox)
 
color_or_gradient neogfx::with_bounding_box (color_or_gradient const &aColorOrGradient, rect const &aBoundingBox, bool aOnlyIfTiled=false)
 
bool neogfx::operator== (const gradient &aLhs, const gradient &aRhs)
 
std::partial_ordering neogfx::operator<=> (const gradient &aLhs, const gradient &aRhs)
 
optional_color_or_gradient neogfx::with_bounding_box (optional_color_or_gradient const &aColorOrGradient, rect const &aBoundingBox)
 
template<typename Elem , typename Traits >
std::basic_ostream< Elem, Traits > & neogfx::operator<< (std::basic_ostream< Elem, Traits > &aStream, const i_gradient &aGradient)
 
template<typename Elem , typename Traits >
std::basic_istream< Elem, Traits > & neogfx::operator>> (std::basic_istream< Elem, Traits > &aStream, i_gradient &aGradient)
 
template<typename Elem , typename Traits >
std::basic_ostream< Elem, Traits > & neogfx::operator<< (std::basic_ostream< Elem, Traits > &aStream, const color_or_gradient &aColorOrGradient)
 
template<typename Elem , typename Traits >
std::basic_istream< Elem, Traits > & neogfx::operator>> (std::basic_istream< Elem, Traits > &aStream, color_or_gradient &aColorOrGradient)