| Author |
Message |
Forum: Scripts Topic: GDI+ standard library 1.45 by tic |
| Razer |
|
Posted: March 12th, 2010, 4:10 pm
|
|
Replies: 995 Views: 156555
|
Thx guys,
It's so good to have these nice rounded shapes ^^
Razer. |
|
 |
Forum: Scripts Topic: GDI+ standard library 1.45 by tic |
| Razer |
|
Posted: March 11th, 2010, 2:59 pm
|
|
Replies: 995 Views: 156555
|
| Tic, here is my code : #SingleInstance, Force #NoEnv SetBatchLines, -1 ; Uncomment if Gdip.ahk is not in your standard library #Include, gdip.ahk ; Start gdi+ If !pToken := Gdip_Startup() { MsgBox, 48, gdiplus error!, Gdiplus failed to start. Please ensure you have gdiplus on your syste... |
|
 |
Forum: Scripts Topic: GDI+ standard library 1.45 by tic |
| Razer |
|
Posted: March 11th, 2010, 9:30 am
|
|
Replies: 995 Views: 156555
|
| Hi Tic and Smurth, thx for your help. I'm a little confused right now, I think I'm missing something when I try to work with a rounded rectangle with a border. With the Smurth's version of Gdip_FillRoundedRectangle, I can now create nice rounded rectangle with gradient. But, as Tic says it's only a ... |
|
 |
Forum: Scripts Topic: GDI+ standard library 1.45 by tic |
| Razer |
|
Posted: March 4th, 2010, 10:40 am
|
|
Replies: 995 Views: 156555
|
Hi Smurth,
Thx for your new version of the function Gdip_FillRoundedRectangle.
Can you also update the function Gdip_DrawRoundedRectangle with the same solution?
I'm using Gdip_FillRoundedRectangle to fill a rounded background and the Gdip_DrawRoundedRectangle to draw its border.
Razer. |
|
 |
Forum: Scripts Topic: GDI+ standard library 1.45 by tic |
| Razer |
|
Posted: March 2nd, 2010, 11:45 am
|
|
Replies: 995 Views: 156555
|
| Hi Smurth, Thx for this update. I'm glad you've found this little mistake because it was driving me crazy. I thought it was something to do with the render parameter of gdip I was misusing. Tested and now it works great. Rounded rectangles look indeed much rounded with your little correction. The mo... |
|
 |
Forum: Scripts Topic: GDI+ standard library 1.45 by tic |
| Razer |
|
Posted: February 19th, 2010, 11:06 am
|
|
Replies: 995 Views: 156555
|
| Hi Tic, I've tried to follow your advice and work with clipped region to have only some part of my graphics updated. Here is the code : ; -------------------------------------------------------------------------------------------------- ; GENERAL SETTINGS ; ------------------------------------------... |
|
 |
Forum: Scripts Topic: GDI+ standard library 1.45 by tic |
| Razer |
|
Posted: February 18th, 2010, 9:50 am
|
|
Replies: 995 Views: 156555
|
Thx Tic and Zaelia for this feedback about cpu usage and best way to draw image.
Razer. |
|
 |
Forum: Scripts Topic: GDI+ standard library 1.45 by tic |
| Razer |
|
Posted: February 16th, 2010, 9:16 am
|
|
Replies: 995 Views: 156555
|
| Ok, thx for your advice Tic. I've read your tutorial 11 and I'll try your region clipping method with a single gui to see if it's possible to use it with my script. I really hope so. It would be great because I'm developping a google quick search bar like tool and right now I have 1 main gui window ... |
|
 |
Forum: Scripts Topic: GDI+ standard library 1.45 by tic |
| Razer |
|
Posted: February 15th, 2010, 11:16 pm
|
|
Replies: 995 Views: 156555
|
| Thx Tic, Here is an example of the 2nd method : ; -------------------------------------------------------------------------------------------------- ; GENERAL SETTINGS ; -------------------------------------------------------------------------------------------------- #noenv setbatchlines -1 listlin... |
|
 |
Forum: Scripts Topic: GDI+ standard library 1.45 by tic |
| Razer |
|
Posted: February 15th, 2010, 6:01 pm
|
|
Replies: 995 Views: 156555
|
| Hi Tic, Thx for your great library, it was really helpful to me. I have a question about performance and optimization. Let's say I have a static graphic ( a png picture for example ) and some dynamic text to show above the picture. So there are two layers and if I'm not wrong, I can't show a classic... |
|
 |
| Sort by: |