Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Newcomers DBPro Corner / how do you fill in a circle?

Author
Message
WoW is WOW
21
Years of Service
User Offline
Joined: 21st Jun 2003
Location: Australia
Posted: 4th Jan 2004 07:58
i know that the box command draws a box and can fill it in, but what of a circle, you can't get a colored circle. How would you do it?
Rpg_freak.
Philip
21
Years of Service
User Offline
Joined: 15th Jun 2003
Location: United Kingdom
Posted: 4th Jan 2004 08:56
Have a look in the Codebase and find the post entitled something like "Missing 2d graphics commands". Its from IanM and amongst the other goodies inside it is a replacement filledcircle() function.

I personally use it myself, with full credit to IanM. This is because both IanM and myself are cartoon characters and cartoon characters should always stick together... although I have to admit I don't think much of his wife (Wilma)'s cooking.

He's got a cool car though.

Philip

What do you mean, bears aren't supposed to wear hats and a tie? P1.3ghz / 384 megs / GeForce MX 5200 128meg / WinXP home
Philip
21
Years of Service
User Offline
Joined: 15th Jun 2003
Location: United Kingdom
Posted: 4th Jan 2004 09:01
In fact I'm such a nice bear that I looked in codebase for you, cut and paste'd the relevant function and have attached it in the source box (below).

Obviously its from IanM so be sure to include a credit in your programme for this. If not, very very very bad things will happen to you. Ooooo.

Philip

What do you mean, bears aren't supposed to wear hats and a tie? P1.3ghz / 384 megs / GeForce MX 5200 128meg / WinXP home
IanM
Retired Moderator
22
Years of Service
User Offline
Joined: 11th Sep 2002
Location: In my moon base
Posted: 4th Jan 2004 14:21
*I* don't think much of her cooking, but she has other compensating features ... for instance, she has a beautiful singing voice, and take a look at the way she is drawn

As far as credits go, I don't mind if I don't get them, but they are nice to have

For free Plug-ins, source and the DBPro Interface library for Visual C++ 6 and .NET
http://www.matrix1.demon.co.uk
Philip
21
Years of Service
User Offline
Joined: 15th Jun 2003
Location: United Kingdom
Posted: 5th Jan 2004 06:45
Sort of sideways 2d aspect?

Me too

Philip

What do you mean, bears aren't supposed to wear hats and a tie? P1.3ghz / 384 megs / GeForce MX 5200 128meg / WinXP home

Login to post a reply

Server time is: 2024-11-25 23:28:09
Your offset time is: 2024-11-25 23:28:09