CodeBase - Enhanced/Additional 2D Graphics Commands

Return to the CodeBase listing

Category: Basic 2D

Version: 1.0

0
0

Information

Uploaded: 15th Feb 2005 18:57

Modified: 15th Feb 2005 19:17

Author:  Ade

Summary

Triangle, TriangleFill, CircleFill, EllipseFill, FloodFill, BoxFill

Full Description

Existing 2D graphics commands are limited and as I am teaching my kids to program they need a bit more to play around with. They wanted to colour in their programmed drawings with so I wrote a FloodFill routine which is slightly different to the other one presented in the codebase. Also, it seemed odd that there was no triangle command and that circles and ellipses could not be filled in - so here are some initial additional 2d commands:<br /> <br /> Triangle, TriangleFill, CircleFill, EllipseFill, BoxFill, FloodFill (any outline shape)<br /> <br /> NB Should work in all bpp display modes and in standard version of DarkBasic.<br />

Comments

No comments yet.