|
| basic_color (const basic_vector< BaseComponent, ColorComponentCount > &aNoAlpha) |
|
| basic_color (const self_type &aOther) |
|
self_type & | operator= (const self_type &aOther) |
|
view_component | alpha () const |
|
template<typename T > |
T | alpha () const |
|
return_type & | set_alpha (view_component aAlpha) |
|
template<typename T > |
return_type & | set_alpha (T aAlpha) |
|
return_type | with_alpha (view_component aAlpha) const |
|
template<typename T > |
return_type | with_alpha (T aAlpha) const |
|
return_type | with_combined_alpha (view_component aAlpha) const |
|
template<typename T > |
return_type | with_combined_alpha (T aAlpha) const |
|
| basic_vector () |
|
template<typename SFINAE = int> |
| basic_vector (value_type x, typename std::enable_if_t< Size==1, SFINAE >=0) |
|
template<typename SFINAE = int> |
| basic_vector (value_type x, value_type y, typename std::enable_if_t< Size==2, SFINAE >=0) |
|
template<typename SFINAE = int> |
| basic_vector (value_type x, value_type y, value_type z, typename std::enable_if_t< Size==3, SFINAE >=0) |
|
template<typename SFINAE = int> |
| basic_vector (value_type x, value_type y, value_type z, value_type w, typename std::enable_if_t< Size==4, SFINAE >=0) |
|
template<typename... Arguments> |
| basic_vector (const value_type &value, Arguments &&... aArguments) |
|
template<typename... Arguments> |
| basic_vector (value_type &&value, Arguments &&... aArguments) |
|
| basic_vector (const array_type &v) |
|
| basic_vector (std::initializer_list< value_type > values) |
|
template<typename V , typename A , uint32_t S, uint32_t... Indexes> |
| basic_vector (const swizzle< V, A, S, Indexes... > &aSwizzle) |
|
| basic_vector (const self_type &other) |
|
| basic_vector (self_type &&other) |
|
template<typename T2 > |
| basic_vector (const basic_vector< T2, Size, Type > &other) |
|
template<typename T2 , uint32_t Size2, typename SFINAE = int> |
| basic_vector (const basic_vector< T2, Size2, Type > &other, typename std::enable_if_t< Size2< Size, SFINAE >=0) |
|
self_type & | operator= (const self_type &other) |
|
self_type & | operator= (self_type &&other) |
|
self_type & | operator= (std::initializer_list< value_type > values) |
|
value_type | operator[] (uint32_t aIndex) const |
|
value_type & | operator[] (uint32_t aIndex) |
|
const_iterator | begin () const |
|
const_iterator | end () const |
|
iterator | begin () |
|
iterator | end () |
|
| operator const array_type & () const |
|
template<typename T2 > |
basic_vector< T2, Size, Type > | as () const |
|
bool | operator== (const self_type &right) const |
|
bool | operator!= (const self_type &right) const |
|
self_type & | operator+= (value_type value) |
|
self_type & | operator-= (value_type value) |
|
self_type & | operator*= (value_type value) |
|
self_type & | operator/= (value_type value) |
|
self_type & | operator+= (const self_type &right) |
|
self_type & | operator-= (const self_type &right) |
|
self_type & | operator*= (const self_type &right) |
|
self_type & | operator/= (const self_type &right) |
|
self_type | operator- () const |
|
self_type | scale (const self_type &right) const |
|
value_type | magnitude () const |
|
self_type | normalized () const |
|
self_type | min (const self_type &right) const |
|
self_type | max (const self_type &right) const |
|
value_type | min () const |
|
self_type | ceil () const |
|
self_type | floor () const |
|
self_type | round () const |
|
value_type | distance (const self_type &right) const |
|
value_type | dot (const self_type &right) const |
|
template<typename SFINAE = self_type> |
std::enable_if_t< Size==3, SFINAE > | cross (const self_type &right) const |
|
self_type | hadamard_product (const self_type &right) const |
|
|
union { | |
|
array_type v | |
|
struct { | |
|
value_type x | |
|
value_type y | |
|
value_type z | |
|
} | | |
|
swizzle< vector_type, array_type, 2, 0, 0 > xx | |
|
swizzle< vector_type, array_type, 2, 0, 1 > xy | |
|
swizzle< vector_type, array_type, 2, 0, 2 > xz | |
|
swizzle< vector_type, array_type, 2, 1, 0 > yx | |
|
swizzle< vector_type, array_type, 2, 1, 1 > yy | |
|
swizzle< vector_type, array_type, 2, 1, 2 > yz | |
|
swizzle< vector_type, array_type, 2, 2, 0 > zx | |
|
swizzle< vector_type, array_type, 2, 2, 1 > zy | |
|
swizzle< vector_type, array_type, 2, 2, 2 > zz | |
|
swizzle< vector_type, array_type, 3, 0, 0, 0 > xxx | |
|
swizzle< vector_type, array_type, 3, 0, 0, 1 > xxy | |
|
swizzle< vector_type, array_type, 3, 0, 0, 2 > xxz | |
|
swizzle< vector_type, array_type, 3, 0, 1, 0 > xyx | |
|
swizzle< vector_type, array_type, 3, 0, 1, 1 > xyy | |
|
swizzle< vector_type, array_type, 3, 0, 1, 2 > xyz | |
|
swizzle< vector_type, array_type, 3, 1, 0, 0 > yxx | |
|
swizzle< vector_type, array_type, 3, 1, 0, 1 > yxy | |
|
swizzle< vector_type, array_type, 3, 1, 0, 2 > yxz | |
|
swizzle< vector_type, array_type, 3, 1, 1, 0 > yyx | |
|
swizzle< vector_type, array_type, 3, 1, 1, 1 > yyy | |
|
swizzle< vector_type, array_type, 3, 1, 1, 2 > yyz | |
|
swizzle< vector_type, array_type, 3, 1, 2, 0 > yzx | |
|
swizzle< vector_type, array_type, 3, 1, 2, 1 > yzy | |
|
swizzle< vector_type, array_type, 3, 1, 2, 2 > yzz | |
|
swizzle< vector_type, array_type, 3, 2, 0, 0 > zxx | |
|
swizzle< vector_type, array_type, 3, 2, 0, 1 > zxy | |
|
swizzle< vector_type, array_type, 3, 2, 0, 2 > zxz | |
|
swizzle< vector_type, array_type, 3, 2, 1, 0 > zyx | |
|
swizzle< vector_type, array_type, 3, 2, 1, 1 > zyy | |
|
swizzle< vector_type, array_type, 3, 2, 1, 2 > zyz | |
|
swizzle< vector_type, array_type, 3, 2, 2, 0 > zzx | |
|
swizzle< vector_type, array_type, 3, 2, 2, 1 > zzy | |
|
swizzle< vector_type, array_type, 3, 2, 2, 2 > zzz | |
|
}; | | |
|
template<
color_space ColorSpace, typename BaseComponent, typename ViewComponent = BaseComponent, std::size_t ColorComponentCount = 3, typename Derived = void>
class neogfx::basic_color< ColorSpace, BaseComponent, ViewComponent, ColorComponentCount, Derived >
Definition at line 73 of file color.hpp.