Gdip_SetImageAttributesColorMatrix&NumPut, how does it work?
-
- Posts: 113
- Joined: 03 Nov 2013, 05:46
-
- Posts: 113
- Joined: 03 Nov 2013, 05:46
Re: Gdip_SetImageAttributesColorMatrix&NumPut, how does it w
Gdip_SetImageAttributesColorMatrix / SetImageAttributesColorMatrix - I am trying to use this GDI+ function in C++. Can you help to do it in C++?
My questions asked here:
http://ahkscript.org/boards/viewtopic.php?f=5&t=3571
Mainly I am not sure how to declare ColourMatrix in C++ and how to fill it with values. Should it be something like string or the NumPut creates int number? Clarification will be appreciated.
My questions asked here:
http://ahkscript.org/boards/viewtopic.php?f=5&t=3571
Mainly I am not sure how to declare ColourMatrix in C++ and how to fill it with values. Should it be something like string or the NumPut creates int number? Clarification will be appreciated.
Re: Gdip_SetImageAttributesColorMatrix&NumPut, how does it w
http://msdn.microsoft.com/en-us/library ... p/ms534063
Try to google ColorMatrix Struct.
Try to google ColorMatrix Struct.
Recommends AHK Studio
-
- Posts: 113
- Joined: 03 Nov 2013, 05:46
Re: Gdip_SetImageAttributesColorMatrix&NumPut, how does it w
I tried this:
And I got error
error C2352: 'Gdiplus::ImageAttributes::SetColorMatrix' : illegal call of non-static member function
Do you know how to fix it?
Code: Select all
ColorMatrix matrix;
result = Gdiplus::ImageAttributes::SetColorMatrix(matrix, ColorMatrixFlagsDefault);
error C2352: 'Gdiplus::ImageAttributes::SetColorMatrix' : illegal call of non-static member function
Do you know how to fix it?
-
- Posts: 113
- Joined: 03 Nov 2013, 05:46
Re: Gdip_SetImageAttributesColorMatrix&NumPut, how does it w
I found that this function is not what I should use. It uses .net framework as it is managed C++.