I tried this:
Code: Select all
ColorMatrix matrix;
result = Gdiplus::ImageAttributes::SetColorMatrix(matrix, ColorMatrixFlagsDefault);
And I got error
error C2352: 'Gdiplus::ImageAttributes::SetColorMatrix' : illegal call of non-static member function
Do you know how to fix it?