Hold Shift down to draw a circle around your mouse - It will stay as long as you hold shift.įorgive the code, still testing (even if I'm just hacking up tic's example)! Please also download the BRA here: Įxample 12. - Use LockBits and machine code to pixelate an image and update it quickly Please note BRA functions will be released soon!Įxample 11: .to. - Using BRA files to transport many images with your script and show animation You will need to place it in the same directory as the scriptĪs well as the below examples you can also see GDI+ voodooĮxample 1: .ahk - Create a simple gui and draw an ellipse and a rectangleĮxample 2: .Shapes.ahk - Create a simple gui and draw the outlines of an ellipse and a rectangleĮxample 3. - Create a gui from an existing image on diskĮxample 4: .ahk - Create a fullscreen gui and fill it with random ellipsesĮxample 5: .ahk - Put a few shapes into a bitmap and save to a ".png" filetypeĮxample 6: .ahk - Take files from disk, load them onto a background and save to a ".png" filetypeĮxample 7. - Draw a rounded rectangle for a gui and allow it to be dragged with the left click of the mouseĮxample 8: .onto.a.gui.ahk - Take the rounded rectangle gui and add text to it, showing all the text options possibleĮxample 9. - Create a nice looking progress bar using the library in a standard guiĮxample 10: .or.Mirror.an.image.ahk - Rotate, flip or mirror an image on a layered window If your OS is not >= XP then you will need gdiplus.dll You Can download the official help file maintained by Lucid_Method here Or anything more elaborate if you feel like it!Ī big thank you to Lexikos and Sean for their help and contributions Thanks to tic (Tariq Porter) for his GDI+ Library I would appreciate it if people give acknowledgement for my work and would be nice to have pasted once at the top of your script something similar to: This library can be distributed for commercial and non-commercial use and I actively encourage both. Alternative Download: Gdip All ((beta) - Alternate link for other versions of AHK: 32, 64, unicode, ansi)įull featured gdi+ library with examples by me tic (Tariq Porter)
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |