Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Drawing lines,angles&Circles on Graphic LCD.

Status
Not open for further replies.

venz

Full Member level 2
Joined
May 30, 2001
Messages
129
Helped
2
Reputation
4
Reaction score
2
Trophy points
1,298
Activity points
795
Hi,

I'm looking for some information on drawing graphic primitives on a Graphic LCD.
The primitives i'm interested in are, lines (Not horizontal or vertical ones offcourse) circles and elipses. Also angled arcs offcourse.
These should be the basic ones i'm looking for.

I want to program in C so please don't send me to much assembly examples.

Thanx, venz.
 

For lines drawing look on the net for "Bresenham algorithm".

Google gives many answers. The first of them as some C code :

"h**p://www.gamedev.net/reference/articles/article1275.asp"
 
  • Like
Reactions: gigel and venz

    venz

    Points: 2
    Helpful Answer Positive Rating

    gigel

    Points: 2
    Helpful Answer Positive Rating
Hi

I've now a best idea : a page on "programmers heaven's" site
give you access to many 2D drawing algorithms anc codes.

--> h**p://www.programmersheaven.com/zone10/cat458/

You will find and download all what you are looking for !
 

Hi, thanks for the link...

very usefull..

greetz, venz.
 

Hi i found these papers on drawing lines, circles and ellipses.

greetz, venz.

Drawing a Circle
 

Drawing a line
 

Drawing a line
 

Drawing a Ellipse
 
  • Like
Reactions: fiwi

    fiwi

    Points: 2
    Helpful Answer Positive Rating
**broken link removed**
has some code in AVRGCC
 

I hope these code will be hepful
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top