Drawing Rounded Rectangles

Just starting out? Need help? Post your questions and find answers here.
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by jardi.

How?
I'm wanting to draw end to end connected, filled line segments items in the form of "RoundRect(x,y,x,y... etc)". (Used as PCB 'track' segements).
PB doesn't have this built in so would imply some kind of windows API call.

If possible, what would that be ?. I've tried a number of ways (only at learner level!) but PB won't accept the "Roundrect" keyword.
Anybody used this one?
thanks
john
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by Andre.

If you use WinAPI calls, you must add a "_" to the command name. Here roundrect_(...)


Regards
André

*** German PureBasic Support ***
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by jardi.

[quote]Originally posted by Andre

If you use WinAPI calls, you must add a "_" to the command name. Here roundrect_(...)


Regards
André

*** German PureBasic Support ***

Ahhhh!. So that's it :wink:.

Andre, Many, many thanks.
regards
john
Post Reply