Page 1 of 1

Win32 - New 2D drawing commands - v0.07

Posted: Tue Oct 04, 2005 11:10 pm
by va!n
Hi everybody!
Atm i am working on some new and extented 2d drawing commands for the Win32 version of PureBasic! All commands are working fine on windowed and screen mode!

Btw, because you can use the drawing commands on your application-window too, it uses GDI only - so there isnt any DX support! But you can use any command wihtout any problems to draw objects on your DX screen! ;)

Atm, the project contains over 10 working drawing functions! I have to spend some more time to include some more drawing related commands! If all is done, i will release it as lib!

You can download a very small example to let you see whats possible with my planed lib! Not all functions are showed! Please note, each drawing object contains of only ONE command !!!! ;-)

please give me your feedback... thanks


News in v0.07 - 06-October-2005
Nothing special new! Only some small experience and showing you a new beta example, drawing on DX screen! I think i have to change some things in my code... :roll:


download here

Posted: Tue Oct 04, 2005 11:33 pm
by Brice Manuel
You are my new best friend, lol. It looks awesome!

Posted: Tue Oct 04, 2005 11:52 pm
by srod
Looks very good. Can't wait for the lib.

Posted: Wed Oct 05, 2005 8:24 am
by Dr. Dri
my triangles are better than yours :lol:

Dri ;)

Posted: Wed Oct 05, 2005 11:41 am
by gnozal
Crash on WinNT4sp6a (access violation)

Posted: Wed Oct 05, 2005 2:42 pm
by yashaa
You have just wrapped some OS functions, right?

Posted: Wed Oct 05, 2005 3:38 pm
by va!n
@Dr. Dri:
:wink:

@gnozal:
The example is using InitSprite() and it not compiled for NT4 compatiblity! I will release a modified version (compiled for NT4 and error handling) very soon!

@yashaa:
Yes thats right! But later you will have more control for any drawing operations.

@all:
Thanks for your feedback :D

Posted: Wed Oct 05, 2005 3:50 pm
by Dr. Dri
I guess you use the tip i use in my "IsDrawing()" function to make your lib.

When you try to use a drawing function outside a valid start/stopdrawing() the debugger stop the process and explain why.
Does anyone know how to raise such an error ?

Dri

Posted: Wed Oct 05, 2005 4:08 pm
by va!n
@Dr.Dri:
Check your PM box ;)

@all:
Maybe i will release this night a new demo showing some new features!?

Posted: Sun Dec 18, 2005 11:36 am
by porfirio
va!n wrote:@Dr.Dri:
Check your PM box ;)

@all:
Maybe i will release this night a new demo showing some new features!?
This is good :)

Do you use GDI or GDI+??

And when will you reease the lib....