Inherits System::Object.
Public Member Functions | |
ASPOSECPP_SHARED_API | ColorMatrix () |
Constructs a new instance of ColorMatrix class and initializes it with the values of identity matrix. More... | |
ASPOSECPP_SHARED_API | ColorMatrix (const System::ArrayPtr< System::ArrayPtr< float > > &matrix) |
ASPOSECPP_SHARED_API float | idx_get (int row, int column) |
ASPOSECPP_SHARED_API float | idx_set (int row, int column, float value) |
ASPOSECPP_SHARED_API float | get_Matrix00 () const |
Returns a value in 0-th row and 0-th column. More... | |
ASPOSECPP_SHARED_API void | set_Matrix00 (float value) |
ASPOSECPP_SHARED_API float | get_Matrix01 () const |
Returns a value in 0-th row and 1-st column. More... | |
ASPOSECPP_SHARED_API void | set_Matrix01 (float value) |
ASPOSECPP_SHARED_API float | get_Matrix02 () const |
Returns a value in 0-th row and 2-nd column. More... | |
ASPOSECPP_SHARED_API void | set_Matrix02 (float value) |
ASPOSECPP_SHARED_API float | get_Matrix03 () const |
Returns a value in 0-th row and 3-rd column. More... | |
ASPOSECPP_SHARED_API void | set_Matrix03 (float value) |
ASPOSECPP_SHARED_API float | get_Matrix04 () const |
Returns a value in 0-th row and 4-th column. More... | |
ASPOSECPP_SHARED_API void | set_Matrix04 (float value) |
ASPOSECPP_SHARED_API float | get_Matrix10 () const |
Returns a value in 1-st row and 0-th column. More... | |
ASPOSECPP_SHARED_API void | set_Matrix10 (float value) |
ASPOSECPP_SHARED_API float | get_Matrix11 () const |
Returns a value in 1-st row and 1-st column. More... | |
ASPOSECPP_SHARED_API void | set_Matrix11 (float value) |
ASPOSECPP_SHARED_API float | get_Matrix12 () const |
Returns a value in 1-st row and 2-nd column. More... | |
ASPOSECPP_SHARED_API void | set_Matrix12 (float value) |
ASPOSECPP_SHARED_API float | get_Matrix13 () const |
Returns a value in 1-st row and 3-rd column. More... | |
ASPOSECPP_SHARED_API void | set_Matrix13 (float value) |
ASPOSECPP_SHARED_API float | get_Matrix14 () const |
Returns a value in 1-st row and 4-th column. More... | |
ASPOSECPP_SHARED_API void | set_Matrix14 (float value) |
ASPOSECPP_SHARED_API float | get_Matrix20 () const |
Returns a value in 2-nd row and 0-th column. More... | |
ASPOSECPP_SHARED_API void | set_Matrix20 (float value) |
ASPOSECPP_SHARED_API float | get_Matrix21 () const |
Returns a value in 2-nd row and 1-st column. More... | |
ASPOSECPP_SHARED_API void | set_Matrix21 (float value) |
ASPOSECPP_SHARED_API float | get_Matrix22 () const |
Returns a value in 2-nd row and 2-nd column. More... | |
ASPOSECPP_SHARED_API void | set_Matrix22 (float value) |
ASPOSECPP_SHARED_API float | get_Matrix23 () const |
Returns a value in 2-nd row and 3-rd column. More... | |
ASPOSECPP_SHARED_API void | set_Matrix23 (float value) |
ASPOSECPP_SHARED_API float | get_Matrix24 () const |
Returns a value in 2-nd row and 4-th column. More... | |
ASPOSECPP_SHARED_API void | set_Matrix24 (float value) |
ASPOSECPP_SHARED_API float | get_Matrix30 () const |
Returns a value in 3-rd row and 0-th column. More... | |
ASPOSECPP_SHARED_API void | set_Matrix30 (float value) |
ASPOSECPP_SHARED_API float | get_Matrix31 () const |
Returns a value in 3-rd row and 1-st column. More... | |
ASPOSECPP_SHARED_API void | set_Matrix31 (float value) |
ASPOSECPP_SHARED_API float | get_Matrix32 () const |
Returns a value in 3-rd row and 2-nd column. More... | |
ASPOSECPP_SHARED_API void | set_Matrix32 (float value) |
ASPOSECPP_SHARED_API float | get_Matrix33 () const |
Returns a value in 3-rd row and 3-rd column. More... | |
ASPOSECPP_SHARED_API void | set_Matrix33 (float value) |
ASPOSECPP_SHARED_API float | get_Matrix34 () const |
Returns a value in 3-rd row and 4-th column. More... | |
ASPOSECPP_SHARED_API void | set_Matrix34 (float value) |
ASPOSECPP_SHARED_API float | get_Matrix40 () const |
Returns a value in 4-th row and 0-th column. More... | |
ASPOSECPP_SHARED_API void | set_Matrix40 (float value) |
ASPOSECPP_SHARED_API float | get_Matrix41 () const |
Returns a value in 4-th row and 1-st column. More... | |
ASPOSECPP_SHARED_API void | set_Matrix41 (float value) |
ASPOSECPP_SHARED_API float | get_Matrix42 () const |
Returns a value in 4-th row and 2-nd column. More... | |
ASPOSECPP_SHARED_API void | set_Matrix42 (float value) |
ASPOSECPP_SHARED_API float | get_Matrix43 () const |
Returns a value in 4-th row and 3-rd column. More... | |
ASPOSECPP_SHARED_API void | set_Matrix43 (float value) |
ASPOSECPP_SHARED_API float | get_Matrix44 () const |
Returns a value in 4-th row and 4-th column. More... | |
ASPOSECPP_SHARED_API void | set_Matrix44 (float value) |
Public Member Functions inherited from System::Object | |
ASPOSECPP_SHARED_API | Object () |
Creates object. Initializes all internal data structures. More... | |
virtual ASPOSECPP_SHARED_API | ~Object () |
Destroys object. Frees all internal data structures. More... | |
ASPOSECPP_SHARED_API | Object (Object const &x) |
Copy constructor. Doesn't copy anything, really, just initializes new object and enables copy constructing subclasses. More... | |
Object & | operator= (Object const &x) |
Assignment operator. Doesn't copy anything, really, just initializes new object and enables copy constructing subclasses. More... | |
Object * | SharedRefAdded () |
Increments shared reference count. Shouldn't be called directly; instead, use smart pointers or ThisProtector. More... | |
int | SharedRefRemovedSafe () |
Decrements and returns shared reference count. Shouldn't be called directly; instead, use smart pointers or ThisProtector. More... | |
int | RemovedSharedRefs (int count) |
Decreases shared reference count by specified value. More... | |
Detail::SmartPtrCounter * | WeakRefAdded () |
Increments weak reference count. Shouldn't be called directly; instead, use smart pointers or ThisProtector. More... | |
void | WeakRefRemoved () |
Decrements weak reference count. Shouldn't be called directly; instead, use smart pointers or ThisProtector. More... | |
Detail::SmartPtrCounter * | GetCounter () |
Gets reference counter data structure associated with the object. More... | |
int | SharedCount () const |
Gets current value of shared reference counter. More... | |
ASPOSECPP_SHARED_API void | Lock () |
Implements C# lock() statement locking. Call directly or use LockContext sentry object. More... | |
ASPOSECPP_SHARED_API void | Unlock () |
Implements C# lock() statement unlocking. Call directly or use LockContext sentry object. More... | |
virtual ASPOSECPP_SHARED_API bool | Equals (ptr obj) |
Compares objects using C# Object.Equals semantics. More... | |
virtual ASPOSECPP_SHARED_API int32_t | GetHashCode () const |
Analog of C# Object.GetHashCode() method. Enables hashing of custom objects. More... | |
virtual ASPOSECPP_SHARED_API String | ToString () const |
Analog of C# Object.ToString() method. Enables converting custom objects to string. More... | |
virtual ASPOSECPP_SHARED_API ptr | MemberwiseClone () const |
Analog of C# Object.MemberwiseClone() method. Enables cloning custom types. More... | |
virtual ASPOSECPP_SHARED_API const TypeInfo & | GetType () const |
Gets actual type of object. Analog of C# System.Object.GetType() call. More... | |
virtual ASPOSECPP_SHARED_API bool | Is (const TypeInfo &targetType) const |
Check if object represents an instance of type described by targetType. Analog of C# 'is' operator. More... | |
virtual ASPOSECPP_SHARED_API void | SetTemplateWeakPtr (uint32_t argument) |
Set n'th template argument a weak pointer (rather than shared). Allows switching pointers in containers to weak mode. More... | |
virtual ASPOSECPP_SHARED_API bool | FastCast (const Details::FastRttiBase &helper, void **out_ptr) const |
For internal purposes only. More... | |
template<> | |
bool | Equals (float const &objA, float const &objB) |
template<> | |
bool | Equals (double const &objA, double const &objB) |
template<> | |
bool | ReferenceEquals (String const &str, std::nullptr_t) |
template<> | |
bool | ReferenceEquals (String const &str1, String const &str2) |
Additional Inherited Members | |
Public Types inherited from System::Object | |
typedef SmartPtr< Object > | ptr |
Alias for smart pointer type. More... | |
Static Public Member Functions inherited from System::Object | |
static bool | ReferenceEquals (ptr const &objA, ptr const &objB) |
Compares objects by reference. More... | |
template<typename T > | |
static std::enable_if<!IsSmartPtr< T >::value, bool >::type | ReferenceEquals (T const &objA, T const &objB) |
Compares objects by reference. More... | |
template<typename T > | |
static std::enable_if<!IsSmartPtr< T >::value, bool >::type | ReferenceEquals (T const &objA, std::nullptr_t) |
Reference-compares value type object with nullptr. More... | |
template<typename T1 , typename T2 > | |
static std::enable_if< IsSmartPtr< T1 >::value &&IsSmartPtr< T2 >::value, bool >::type | Equals (T1 const &objA, T2 const &objB) |
Compares reference type objects in C# style. More... | |
template<typename T1 , typename T2 > | |
static std::enable_if<!IsSmartPtr< T1 >::value &&!IsSmartPtr< T2 >::value, bool >::type | Equals (T1 const &objA, T2 const &objB) |
Compares value type objects in C# style. More... | |
static const TypeInfo & | Type () |
Implements C# typeof(System.Object) construct. More... | |
Represents a 5x5 matrix that contains the coordinates for the RGBAW color space. Objects of this class should only be allocated using System::MakeObject() function. Never create instance of this type on stack or using operator new, as it will result in runtime errors and/or assertion faults. Always wrap this class into System::SmartPtr pointer and use this pointer to pass it to functions as argument.
ASPOSECPP_SHARED_API System::Drawing::Imaging::ColorMatrix::ColorMatrix | ( | ) |
Constructs a new instance of ColorMatrix class and initializes it with the values of identity matrix.
ASPOSECPP_SHARED_API System::Drawing::Imaging::ColorMatrix::ColorMatrix | ( | const System::ArrayPtr< System::ArrayPtr< float > > & | matrix | ) |
Constructs a new instance of ColorMatrix class and initializes it with the specified values.
matrix | A 2-dimensional array containing value ot initialize the matrix with |
ASPOSECPP_SHARED_API float System::Drawing::Imaging::ColorMatrix::get_Matrix00 | ( | ) | const |
Returns a value in 0-th row and 0-th column.
ASPOSECPP_SHARED_API float System::Drawing::Imaging::ColorMatrix::get_Matrix01 | ( | ) | const |
Returns a value in 0-th row and 1-st column.
ASPOSECPP_SHARED_API float System::Drawing::Imaging::ColorMatrix::get_Matrix02 | ( | ) | const |
Returns a value in 0-th row and 2-nd column.
ASPOSECPP_SHARED_API float System::Drawing::Imaging::ColorMatrix::get_Matrix03 | ( | ) | const |
Returns a value in 0-th row and 3-rd column.
ASPOSECPP_SHARED_API float System::Drawing::Imaging::ColorMatrix::get_Matrix04 | ( | ) | const |
Returns a value in 0-th row and 4-th column.
ASPOSECPP_SHARED_API float System::Drawing::Imaging::ColorMatrix::get_Matrix10 | ( | ) | const |
Returns a value in 1-st row and 0-th column.
ASPOSECPP_SHARED_API float System::Drawing::Imaging::ColorMatrix::get_Matrix11 | ( | ) | const |
Returns a value in 1-st row and 1-st column.
ASPOSECPP_SHARED_API float System::Drawing::Imaging::ColorMatrix::get_Matrix12 | ( | ) | const |
Returns a value in 1-st row and 2-nd column.
ASPOSECPP_SHARED_API float System::Drawing::Imaging::ColorMatrix::get_Matrix13 | ( | ) | const |
Returns a value in 1-st row and 3-rd column.
ASPOSECPP_SHARED_API float System::Drawing::Imaging::ColorMatrix::get_Matrix14 | ( | ) | const |
Returns a value in 1-st row and 4-th column.
ASPOSECPP_SHARED_API float System::Drawing::Imaging::ColorMatrix::get_Matrix20 | ( | ) | const |
Returns a value in 2-nd row and 0-th column.
ASPOSECPP_SHARED_API float System::Drawing::Imaging::ColorMatrix::get_Matrix21 | ( | ) | const |
Returns a value in 2-nd row and 1-st column.
ASPOSECPP_SHARED_API float System::Drawing::Imaging::ColorMatrix::get_Matrix22 | ( | ) | const |
Returns a value in 2-nd row and 2-nd column.
ASPOSECPP_SHARED_API float System::Drawing::Imaging::ColorMatrix::get_Matrix23 | ( | ) | const |
Returns a value in 2-nd row and 3-rd column.
ASPOSECPP_SHARED_API float System::Drawing::Imaging::ColorMatrix::get_Matrix24 | ( | ) | const |
Returns a value in 2-nd row and 4-th column.
ASPOSECPP_SHARED_API float System::Drawing::Imaging::ColorMatrix::get_Matrix30 | ( | ) | const |
Returns a value in 3-rd row and 0-th column.
ASPOSECPP_SHARED_API float System::Drawing::Imaging::ColorMatrix::get_Matrix31 | ( | ) | const |
Returns a value in 3-rd row and 1-st column.
ASPOSECPP_SHARED_API float System::Drawing::Imaging::ColorMatrix::get_Matrix32 | ( | ) | const |
Returns a value in 3-rd row and 2-nd column.
ASPOSECPP_SHARED_API float System::Drawing::Imaging::ColorMatrix::get_Matrix33 | ( | ) | const |
Returns a value in 3-rd row and 3-rd column.
ASPOSECPP_SHARED_API float System::Drawing::Imaging::ColorMatrix::get_Matrix34 | ( | ) | const |
Returns a value in 3-rd row and 4-th column.
ASPOSECPP_SHARED_API float System::Drawing::Imaging::ColorMatrix::get_Matrix40 | ( | ) | const |
Returns a value in 4-th row and 0-th column.
ASPOSECPP_SHARED_API float System::Drawing::Imaging::ColorMatrix::get_Matrix41 | ( | ) | const |
Returns a value in 4-th row and 1-st column.
ASPOSECPP_SHARED_API float System::Drawing::Imaging::ColorMatrix::get_Matrix42 | ( | ) | const |
Returns a value in 4-th row and 2-nd column.
ASPOSECPP_SHARED_API float System::Drawing::Imaging::ColorMatrix::get_Matrix43 | ( | ) | const |
Returns a value in 4-th row and 3-rd column.
ASPOSECPP_SHARED_API float System::Drawing::Imaging::ColorMatrix::get_Matrix44 | ( | ) | const |
Returns a value in 4-th row and 4-th column.
ASPOSECPP_SHARED_API float System::Drawing::Imaging::ColorMatrix::idx_get | ( | int | row, |
int | column | ||
) |
Returns a value at the specified row and column.
row | A 0-based index of the row in the matrix in which the value to return is located |
column | A 0-based index of the column in the matrix in which the value to return is located |
ASPOSECPP_SHARED_API float System::Drawing::Imaging::ColorMatrix::idx_set | ( | int | row, |
int | column, | ||
float | value | ||
) |
Sets the specifie value at the specified location in the matrix.
row | A 0-based index of the row in the matrix in which to set the value |
column | A 0-based index of the column in the matrix in which to set the value |
value | A value to set |
value
ASPOSECPP_SHARED_API void System::Drawing::Imaging::ColorMatrix::set_Matrix00 | ( | float | value | ) |
Sets a value in the 0-th row and 0-th column.
value | A value to set |
ASPOSECPP_SHARED_API void System::Drawing::Imaging::ColorMatrix::set_Matrix01 | ( | float | value | ) |
Sets a value in the 0-th row and 1-st column.
value | A value to set |
ASPOSECPP_SHARED_API void System::Drawing::Imaging::ColorMatrix::set_Matrix02 | ( | float | value | ) |
Sets a value in the 0-th row and 2-nd column.
value | A value to set |
ASPOSECPP_SHARED_API void System::Drawing::Imaging::ColorMatrix::set_Matrix03 | ( | float | value | ) |
Sets a value in the 0-th row and 3-rd column.
value | A value to set |
ASPOSECPP_SHARED_API void System::Drawing::Imaging::ColorMatrix::set_Matrix04 | ( | float | value | ) |
Sets a value in the 0-th row and 4-th column.
value | A value to set |
ASPOSECPP_SHARED_API void System::Drawing::Imaging::ColorMatrix::set_Matrix10 | ( | float | value | ) |
Sets a value in the 1-st row and 0-th column.
value | A value to set |
ASPOSECPP_SHARED_API void System::Drawing::Imaging::ColorMatrix::set_Matrix11 | ( | float | value | ) |
Sets a value in the 1-st row and 1-st column.
value | A value to set |
ASPOSECPP_SHARED_API void System::Drawing::Imaging::ColorMatrix::set_Matrix12 | ( | float | value | ) |
Sets a value in the 1-st row and 2-nd column.
value | A value to set |
ASPOSECPP_SHARED_API void System::Drawing::Imaging::ColorMatrix::set_Matrix13 | ( | float | value | ) |
Sets a value in the 1-st row and 3-rd column.
value | A value to set |
ASPOSECPP_SHARED_API void System::Drawing::Imaging::ColorMatrix::set_Matrix14 | ( | float | value | ) |
Sets a value in the 1-st row and 4-th column.
value | A value to set |
ASPOSECPP_SHARED_API void System::Drawing::Imaging::ColorMatrix::set_Matrix20 | ( | float | value | ) |
Sets a value in the 2-nd row and 0-th column.
value | A value to set |
ASPOSECPP_SHARED_API void System::Drawing::Imaging::ColorMatrix::set_Matrix21 | ( | float | value | ) |
Sets a value in the 2-nd row and 1-st column.
value | A value to set |
ASPOSECPP_SHARED_API void System::Drawing::Imaging::ColorMatrix::set_Matrix22 | ( | float | value | ) |
Sets a value in the 2-nd row and 2-nd column.
value | A value to set |
ASPOSECPP_SHARED_API void System::Drawing::Imaging::ColorMatrix::set_Matrix23 | ( | float | value | ) |
Sets a value in the 2-nd row and 3-rd column.
value | A value to set |
ASPOSECPP_SHARED_API void System::Drawing::Imaging::ColorMatrix::set_Matrix24 | ( | float | value | ) |
Sets a value in the 2-nd row and 4-th column.
value | A value to set |
ASPOSECPP_SHARED_API void System::Drawing::Imaging::ColorMatrix::set_Matrix30 | ( | float | value | ) |
Sets a value in the 3-rd row and 0-th column.
value | A value to set |
ASPOSECPP_SHARED_API void System::Drawing::Imaging::ColorMatrix::set_Matrix31 | ( | float | value | ) |
Sets a value in the 3-rd row and 1-st column.
value | A value to set |
ASPOSECPP_SHARED_API void System::Drawing::Imaging::ColorMatrix::set_Matrix32 | ( | float | value | ) |
Sets a value in the 3-rd row and 2-nd column.
value | A value to set |
ASPOSECPP_SHARED_API void System::Drawing::Imaging::ColorMatrix::set_Matrix33 | ( | float | value | ) |
Sets a value in the 3-rd row and 3-rd column.
value | A value to set |
ASPOSECPP_SHARED_API void System::Drawing::Imaging::ColorMatrix::set_Matrix34 | ( | float | value | ) |
Sets a value in the 3-rd row and 4-th column.
value | A value to set |
ASPOSECPP_SHARED_API void System::Drawing::Imaging::ColorMatrix::set_Matrix40 | ( | float | value | ) |
Sets a value in the 4-th row and 0-th column.
value | A value to set |
ASPOSECPP_SHARED_API void System::Drawing::Imaging::ColorMatrix::set_Matrix41 | ( | float | value | ) |
Sets a value in the 4-th row and 1-st column.
value | A value to set |
ASPOSECPP_SHARED_API void System::Drawing::Imaging::ColorMatrix::set_Matrix42 | ( | float | value | ) |
Sets a value in the 4-th row and 2-nd column.
value | A value to set |
ASPOSECPP_SHARED_API void System::Drawing::Imaging::ColorMatrix::set_Matrix43 | ( | float | value | ) |
Sets a value in the 4-th row and 3-rd column.
value | A value to set |
ASPOSECPP_SHARED_API void System::Drawing::Imaging::ColorMatrix::set_Matrix44 | ( | float | value | ) |
Sets a value in the 4-th row and 4-th column.
value | A value to set |