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 / 2D graphics

Author
Message
andycb
16
Years of Service
User Offline
Joined: 12th Jan 2008
Location:
Posted: 6th Feb 2008 21:28
Does anyone know how to and even if it is possible to fill 2D shapes like circles?
IanM
Retired Moderator
22
Years of Service
User Offline
Joined: 11th Sep 2002
Location: In my moon base
Posted: 6th Feb 2008 22:09
Yes, for simple shapes like circles, triangles and boxes you can fill as you draw fairly easily.

Here's code for filled triangles:


Here's code to draw a filled circle:


And finally, filled boxes can be done using the built-in BOX command.

Login to post a reply

Server time is: 2024-09-27 10:37:31
Your offset time is: 2024-09-27 10:37:31