Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronic 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.

Register Log in

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.
 

sc/mp

Full Member level 2
Joined
Feb 10, 2002
Messages
128
Helped
7
Reputation
14
Reaction score
6
Trophy points
1,298
Activity points
1,054
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

sc/mp

Full Member level 2
Joined
Feb 10, 2002
Messages
128
Helped
7
Reputation
14
Reaction score
6
Trophy points
1,298
Activity points
1,054
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 !
 

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, thanks for the link...

very usefull..

greetz, venz.
 

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 found these papers on drawing lines, circles and ellipses.

greetz, venz.

Drawing a Circle
 

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
Drawing a line
 

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
Drawing a line
 

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
Drawing a Ellipse
 
  • Like
Reactions: fiwi

    fiwi

    points: 2
    Helpful Answer Positive Rating

zhu_bin

Newbie level 5
Joined
Dec 10, 2003
Messages
8
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
72
I hope these code will be hepful
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top