Win32 - New 2D drawing commands - v0.07

Developed or developing a new product in PureBasic? Tell the world about it.
va!n
Addict
Addict
Posts: 1104
Joined: Wed Apr 20, 2005 12:48 pm

Win32 - New 2D drawing commands - v0.07

Post 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
Last edited by va!n on Thu Oct 06, 2005 5:48 pm, edited 2 times in total.
va!n aka Thorsten

Intel i7-980X Extreme Edition, 12 GB DDR3, Radeon 5870 2GB, Windows7 x64,
Brice Manuel

Post by Brice Manuel »

You are my new best friend, lol. It looks awesome!
srod
PureBasic Expert
PureBasic Expert
Posts: 10589
Joined: Wed Oct 29, 2003 4:35 pm
Location: Beyond the pale...

Post by srod »

Looks very good. Can't wait for the lib.
I may look like a mule, but I'm not a complete ass.
Dr. Dri
Enthusiast
Enthusiast
Posts: 243
Joined: Sat Aug 23, 2003 6:45 pm

Post by Dr. Dri »

my triangles are better than yours :lol:

Dri ;)
gnozal
PureBasic Expert
PureBasic Expert
Posts: 4229
Joined: Sat Apr 26, 2003 8:27 am
Location: Strasbourg / France
Contact:

Post by gnozal »

Crash on WinNT4sp6a (access violation)
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
yashaa
User
User
Posts: 19
Joined: Sun Jun 12, 2005 8:19 pm

Post by yashaa »

You have just wrapped some OS functions, right?
va!n
Addict
Addict
Posts: 1104
Joined: Wed Apr 20, 2005 12:48 pm

Post 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
va!n aka Thorsten

Intel i7-980X Extreme Edition, 12 GB DDR3, Radeon 5870 2GB, Windows7 x64,
Dr. Dri
Enthusiast
Enthusiast
Posts: 243
Joined: Sat Aug 23, 2003 6:45 pm

Post 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
va!n
Addict
Addict
Posts: 1104
Joined: Wed Apr 20, 2005 12:48 pm

Post by va!n »

@Dr.Dri:
Check your PM box ;)

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

Intel i7-980X Extreme Edition, 12 GB DDR3, Radeon 5870 2GB, Windows7 x64,
porfirio
Enthusiast
Enthusiast
Posts: 111
Joined: Mon Nov 15, 2004 11:00 pm
Location: portugal

Post 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....
Forgive-me for my english, i'm portuguese!
Post Reply