Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

c++ drawing a circle

Status
Not open for further replies.

palreddy

Programmer
Jan 19, 2001
9
0
0
US
hello all,
I was wondering if I cud get c++ code for drawing a
solid or hollow circle.I mean solid means it shud be filled with chaarcter like * or watever character...and hollow means outline shud be formed by a char like *...am loooking for a for loop kinda deal than with formula of a circle...
thanks in adavnce.
--Pradeep
 
Do a google search for Bresenham's algorithm. His method is very fast for drawing circles because it only uses integer arithmetic.

Chip H.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top