Graphics library of linux

Booting, installing, newbie
Post Reply
Message
Author
snayak
Posts: 422
Joined: Wed 14 Sep 2011, 05:49

Graphics library of linux

#1 Post by snayak »

Dear All,

In Linux, when we jump from text mode to graphical mode, which library in linux drawas the graphics, I mean, in which library drawline, drawrectangle, drawcircle, putpixel etc function has been written?

What is X?
Does it do this?
Do in puppy we have X?
Then what is the graphics library for puppy who draws on screen?

Sincerely,
Srinivas Nayak
[Precise 571 on AMD Athlon XP 2000+ with 512MB RAM]
[Fatdog 720 on Intel Pentium B960 with 4GB RAM]

[url]http://srinivas-nayak.blogspot.com/[/url]

User avatar
vovchik
Posts: 1507
Joined: Tue 24 Oct 2006, 00:02
Location: Ukraine

#2 Post by vovchik »

You should really write in beginners help, not programming, because you are FAR FROM THAT, as I opine. Puppy uses graphics like all Unix systems. Just read and consult Google. I don't want to be rude, but if you know nothing about UNIX/Linux, do not post in the programming section, where you are expected to know basics.

With kind regards, vovchik

User avatar
bigpup
Posts: 13886
Joined: Sun 11 Oct 2009, 18:15
Location: S.C. USA

#3 Post by bigpup »

The X window system is used in Puppy.
http://en.wikipedia.org/wiki/X_Window_System
The things they do not tell you, are usually the clue to solving the problem.
When I was a kid I wanted to be older.... This is not what I expected :shock:
YaPI(any iso installer)

snayak
Posts: 422
Joined: Wed 14 Sep 2011, 05:49

#4 Post by snayak »

Dear All,

Actually my inrest is to know something about: How linux handles console mode and graphics mode...which drivers are necessary for it...how the layers in linux architecture looks like...etc.

Can anybody help me get these fundamental knowledge?

Sincerely,
Srinivas Nayak
[Precise 571 on AMD Athlon XP 2000+ with 512MB RAM]
[Fatdog 720 on Intel Pentium B960 with 4GB RAM]

[url]http://srinivas-nayak.blogspot.com/[/url]

User avatar
darkcity
Posts: 2534
Joined: Sun 23 May 2010, 19:16
Location: near here
Contact:

#5 Post by darkcity »

X is the GUI part, you should check out these two wiki pages as well

more detailed description of X
http://en.wikipedia.org/wiki/X_Window_S ... e_protocol

Xlib - provides functions for interacting with an X server
http://en.wikipedia.org/wiki/Xlib

X Window System is a protocol, X.org is an implementation of it. It doesn't provide window tools and widgets, the window managers does - JWM often in Puppy.

Not sure what draws the console display.

Post Reply