Can I fill the image area with the specified color?
Posted: Fri Jun 19, 2015 4:04 am
whether there is in Alaska or Express ++ opportunity to fill a limited area of the image with the specified color?
Donnay Software Web Forums
http://bb.mobile.donnay-software.com/Donnay/
http://bb.mobile.donnay-software.com/Donnay/viewtopic.php?f=2&t=1549
is it the same Question like http://bb.donnay-software.com/donnay/vi ... f=2&t=1323Eugene Lutsenko wrote:whether there is in Alaska or Express ++ opportunity to fill a limited area of the image with the specified color?
Jimmy!Auge_Ohr wrote:is it the same Question like http://bb.donnay-software.com/donnay/vi ... f=2&t=1323Eugene Lutsenko wrote:whether there is in Alaska or Express ++ opportunity to fill a limited area of the image with the specified color?
if yes try API Function "ExtFloodFill" http://msdn.microsoft.com/en-us/library ... 85%29.aspx
as i say i used XOANON Lib from Simon Burford ...Eugene Lutsenko wrote:You gave a very good demo program in Alaska, which proves that it is possible. But it does not help me to do it on your system. I did, in principle, to understand how you did it. But I can not do it.
Code: Select all
DllCall("Gdi32.dll" ,DLL_STDCALL,"MoveToEx" ,;
DllCall("Gdi32.dll" ,DLL_STDCALL,"LineTo" ,;
DllCall("Gdi32.dll" ,DLL_STDCALL,"ExtFloodFill" ,;
DllCall("Gdi32.dll" ,DLL_STDCALL,"SelectObject" ,;
DllCall("Gdi32.dll" ,DLL_STDCALL,"GetStockObject" ,;
DllCall("Gdi32.dll" ,DLL_STDCALL,"BitBlt" ,;
DllCall("Gdi32.dll" ,DLL_STDCALL,"DeleteObject" ,;
DllCall("Gdi32.dll" ,DLL_STDCALL,"ExtCreatePen" ,;
DllCall("Gdi32.dll" ,DLL_STDCALL,"CreateHatchBrush" ,;
DllCall("Gdi32.dll" ,DLL_STDCALL,"CreatePatternBrush" ,;
DllCall("Gdi32.dll" ,DLL_STDCALL,"CreateSolidBrush" ,;
DllCall("Gdi32.dll" ,DLL_STDCALL,"CreateBrushIndirect" ,;
DllCall("User32.dll" ,DLL_STDCALL,"GetSysColorBrush" ,;
DllCall("Gdi32.dll" ,DLL_STDCALL,"CreateDIBPatternBrushPt" ,;
DllCall("Gdi32.dll" ,DLL_STDCALL,"CreateCompatibleBitmap" ,;
DllCall("Gdi32.dll" ,DLL_STDCALL,"CreateBitmap" ,;
DllCall("Gdi32.dll" ,DLL_STDCALL,"GetBitmapDimensionEx" ,;
DllCall("Gdi32.dll" ,DLL_STDCALL,"SetBitmapDimensionEx" ,;
DllCall("Gdi32.dll" ,DLL_STDCALL,"CreateDIBSection" ,;
DllCall("Kernel32.dll",DLL_STDCALL,"RtlMoveMemory" ,;