Thread: Draw Shapes.

  1. #1

    Draw Shapes.

    Hello. i am currenty making a project and i am using a graphic LCD
    (seiko 128x128). what i want now is more related to programming
    than electronics, so i decided to post my question here.

    so, this is my questions, i want to make some functions in C that
    will make my life easier when it comes to draw some shapes. for
    example someone gave me the Bresenham Algorithm in order to
    draw lines. now, i would like to know what algorithms exists for
    drawing circles and eclipses. it would be good to know if there
    are other algorithms for creating more complex shapes, like draw
    many lines together, so that they can create a new shape.
    that's all. thanks a lot and i apologize for my bad english.

    Draw lines : Bresenham Algorithm
    Draw circle : ?
    Draw eclipse : ?

  2. #2
    Code Goddess Prelude's Avatar
    Join Date
    Sep 2001
    >Draw circle : ?
    >Draw eclipse : ?

    I don't know about the quality of those pages. If they do not work out for you there are plenty more on google.

    My best code is written with the delete key.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. How to draw shapes and output?
    By Diablo02 in forum C# Programming
    Replies: 3
    Last Post: 11-20-2007, 07:11 PM
  2. Which is the better way to draw?
    By g4j31a5 in forum Game Programming
    Replies: 16
    Last Post: 01-22-2007, 11:56 PM
  3. Program with Shapes using Virtual Functions
    By goron350 in forum C++ Programming
    Replies: 12
    Last Post: 07-17-2005, 01:42 PM
  4. draw function HELP!!!
    By sunoflight77 in forum C++ Programming
    Replies: 1
    Last Post: 05-10-2005, 11:28 PM
  5. ray casting
    By lambs4 in forum Game Programming
    Replies: 62
    Last Post: 01-09-2003, 06:57 PM