discuss-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: why cairo and the pdf imaging model?


From: Rogelio M . Serrano Jr .
Subject: Re: why cairo and the pdf imaging model?
Date: Sat, 22 Nov 2003 02:29:29 +0800

On 2003-11-22 02:02:31 +0800 Banlu Kemiyatorn <id@project-ile.net> wrote:


All the drawings in GNUstep need (2D) PostScript-like API.


I see.

Cairo is not a windowing system. There is no windowing API in Cairo.
It is for drawing 2D curves, 2D text and 2D images. PDF and PostScript can do that as well as Cairo. X on OpenGL won't have these painting APIs base on OpenGL, so technically you probably need both. Cairo can be used to draw into a frame buffer or can use OpenGL API to draw 2D in future. It doesn't need X.


So thats why cairo works with with X. Cairo needs a windowing system. I was thinking of making a window system running on opengl. It is more of a reimplementation of Mark Thomas`s Y. It is very similar to x so it would be straightforward to "hack up" the
x backend or cairo to run on y.

cairo-back could then run on 'x derivative' and then 'x derivative' could then run on fbdri. cairo does not even need to know it is using opengl or should it?.



_______________________________________________
Discuss-gnustep mailing list
Discuss-gnustep@gnu.org
http://mail.gnu.org/mailman/listinfo/discuss-gnustep






reply via email to

[Prev in Thread] Current Thread [Next in Thread]