Search the Community
Showing results for tags '_WinAPI_BitBlt'.
in the help is something similar to what i want to do but instead of screen capture i want to cut a rectangular chunk out of an image, _GDIPlus_GraphicsDrawImage() let me dwaw the image where i want on the x y coordinates but i want to copy a certain Width and Height from a custom X and Y coordinate. i went to look at ScreenCapture.au3 seems that _WinAPI_BitBlt does the job but i don't understand it, is there a simple way staying with _GDIPlus_Graphics? or any tips on how to do it with _WinAPI_BitBlt ? help file example #include <GDIPlus.au3> #include <ScreenCapture.au
I'm coding a GUI that using a lot of GDI (not GDI+) output. I've been manually redrawing things as needed via WM_PAINT. It's awkward and slow, and it can flicker a lot. Then I found out about _WinAPI_BitBlt. I've looked all over the forums here, and all over the internet in general. I think I understand the basics of it, but I can't get it to work. I think what I want to do is manipulate $hDCSource and then BitBlt it onto $hDCDest. Here's my reducer sample: #include <GUIConstantsEx.au3> #include <WinAPI.au3> #include <WindowsConstants.au3> Global Const $Width = 100,