Gdi+ 1.0 examples for almost all functions

Developed or developing a new product in PureBasic? Tell the world about it.
Denis
Enthusiast
Enthusiast
Posts: 704
Joined: Fri Apr 25, 2003 5:10 pm
Location: Doubs - France

Post by Denis »

Sorry Karbon

The link is Ok now

Denis
A+
Denis
User avatar
Comtois
Addict
Addict
Posts: 1429
Joined: Tue Aug 19, 2003 11:36 am
Location: Doubs - France

Post by Comtois »

Karbon wrote:The download link doesn't work anymore.. Is there a mirror?
mirror is here (download archive)

http://purebasic.developpez.com/tutoriels/gdi/#LVIII-1
Please correct my english
http://purebasic.developpez.com/
nicolaus
Enthusiast
Enthusiast
Posts: 456
Joined: Tue Aug 05, 2003 11:30 pm
Contact:

Post by nicolaus »

Is it true that your GDI+ works with PB 4.20?
nicolaus
Enthusiast
Enthusiast
Posts: 456
Joined: Tue Aug 05, 2003 11:30 pm
Contact:

Post by nicolaus »

With PB 4.20 it shows not so good.
If i want compile a example code all the times i have ASM error from the gdiplus.pbi line 1018:
Code:

Code: Select all

!MOV Eax, [p.v_bgr]
Can you help?

Nico
Denis
Enthusiast
Enthusiast
Posts: 704
Joined: Fri Apr 25, 2003 5:10 pm
Location: Doubs - France

Post by Denis »

nicolaus wrote:Is it true that your GDI+ works with PB 4.20?
nicolaus, inside Gdiplus.pbi file, the Procedure.l SetAlpha(color.l, a.b = 255) is not used and there is an asm error inside.

Delete this procedure and tell me if it works.

Denis
A+
Denis
nicolaus
Enthusiast
Enthusiast
Posts: 456
Joined: Tue Aug 05, 2003 11:30 pm
Contact:

Post by nicolaus »

thanks for this info,
now it works fine!
byo
Enthusiast
Enthusiast
Posts: 635
Joined: Mon Apr 02, 2007 1:43 am
Location: Brazil

Post by byo »

After testing this for a while I must say it's really impressive, Denis. I like how you created procedures to ease drawing like gdiPlus_StartDrawing() and gdiplus_StopDrawing().

Thanks for sharing it. :)
Proud registered Purebasic user.
Because programming should be fun.
User avatar
idle
Always Here
Always Here
Posts: 5042
Joined: Fri Sep 21, 2007 5:52 am
Location: New Zealand

Post by idle »

thanks what a great contribution, your a legend! :D
Denis
Enthusiast
Enthusiast
Posts: 704
Joined: Fri Apr 25, 2003 5:10 pm
Location: Doubs - France

Post by Denis »

byo wrote:I like how you created procedures to ease drawing like gdiPlus_StartDrawing() and gdiplus_StopDrawing().
Those procedures aren't mine, may be from Fype or Erix14, both are good french coders.


idle wrote:thanks what a great contribution, your a legend! :D
Realy ? :D

I do not believe that. I'm just an amateur.
A+
Denis
SFSxOI
Addict
Addict
Posts: 2970
Joined: Sat Dec 31, 2005 5:24 pm
Location: Where ya would never look.....

Post by SFSxOI »

Denis, your too modest. :)
PureLust
Enthusiast
Enthusiast
Posts: 477
Joined: Mon Apr 16, 2007 3:57 am
Location: Germany, NRW

Re: Gdi+ 1.0 examples for almost all functions

Post by PureLust »

Hello there,

I was looking for a 2D-Drawing lib, to draw (Text, Images, Lines, Boxes, etc.) to a Printer-DC.
As far as I understood THIS thread, it is not possible to use the normal PB-commands for this (anymore).
So, ... at last I came across this thread and have found this great looking Lib (looks very impressive Denis Image).

Because the Lib is nearly 3 years old (and even the last Post is over 2 years old - and PB has experienced a lot of changes since then) I just want to ask, if this Lib (or maybe another GDI-Lib, like Flypes GDIPlus-Lib) is still working under PB 4.51 or maybe someone is still using it (or any other GDI-Drawing lib)?

Thanks and greets from sunny Germany. ;)
PL
[Dynamic-Dialogs] - create complex GUIs the easy way
[DeFlicker] - easily deflicker your resizeable Windows
[WinFX] - Window Effects (incl. 'click-through' Window)
IdeasVacuum
Always Here
Always Here
Posts: 6425
Joined: Fri Oct 23, 2009 2:33 am
Location: Wales, UK
Contact:

Re: Gdi+ 1.0 examples for almost all functions

Post by IdeasVacuum »

...Another Lib that needs work to be compatible with PB4.60. :cry:

Or is it abandoned because Direct2D replaces GDI+?
IdeasVacuum
If it sounds simple, you have not grasped the complexity.
User avatar
Bisonte
Addict
Addict
Posts: 1226
Joined: Tue Oct 09, 2007 2:15 am

Re: Gdi+ 1.0 examples for almost all functions

Post by Bisonte »

PureBasic 6.04 LTS (Windows x86/x64) | Windows10 Pro x64 | Asus TUF X570 Gaming Plus | R9 5900X | 64GB RAM | GeForce RTX 3080 TI iChill X4 | HAF XF Evo | build by vannicom​​
English is not my native language... (I often use DeepL to translate my texts.)
IdeasVacuum
Always Here
Always Here
Posts: 6425
Joined: Fri Oct 23, 2009 2:33 am
Location: Wales, UK
Contact:

Re: Gdi+ 1.0 examples for almost all functions

Post by IdeasVacuum »

...ahh, you beat me to it! Yes, Danilo has kept his work fully up to date.
IdeasVacuum
If it sounds simple, you have not grasped the complexity.
User avatar
RSBasic
Moderator
Moderator
Posts: 1218
Joined: Thu Dec 31, 2009 11:05 pm
Location: Gernsbach (Germany)
Contact:

Re: Gdi+ 1.0 examples for almost all functions

Post by RSBasic »

https://www.rsbasic.de/backups/ :arrow: Gdiplus_1_0_To_PB_4_30_version_61__28_10_2008.exe
Image
Image
Post Reply