faq
flatforty
contribute
subscribe
configure
search
rdf
main
parent
thread
|
Re: Any use as a general-purpose canvas?
by James Richard Tyrer on Friday 19/Sep/2003, @07:53
|
Thank you for explaining what I and/or the previous poster didn't understand.
However, what you say doesn't quite make sense to me.
I think that what you are doing is confusing the lack of a WYSIWYG PostScript editor program with the language used in a PostScript file. If such a program existed, it would clearly have some of the same capabilities as Sketch or Sodipodi, and it would output a PostScript file, not a bit map.
OTOH (IIUC), SVG stores more information than just the strokes and fills -- it stores information that several of these primative objects go together to make a more complex object, this is an advantage of SVG over PostScript for this use. IIUC, this is what is meant by the vector model. PostScript would need to use comments to do this and this would not be very elegant.
However, Cairo *does* appears to be an attempt to integrate PS, PDF, and screen rendering. I see nothing specific about a native file format for it. But I would assume that it will be XML with embedded SVG. In that case, it would be able to export to PS and PDF but not use them as input, or if useable as input then an export and reinport would result in the loss of information.
--
JRT |
|
|
The Fine Print: The following comments
are owned by whomever posted them.
( Reply )
|
Re: Any use as a general-purpose canvas?
by Tim Jansen on Friday 19/Sep/2003, @09:12
|
>>Cairo *does* appears to be an attempt to integrate PS, PDF, and screen rendering. I see nothing specific about a native file format for it. But I would assume that it will be XML with embedded SVG. In that case, it would be able to export to PS and PDF but not use them as input, or if useable as input then an export and reinport would result in the loss of information.<<
Cairo is just a renderer that happens to have a X11 extension and is integrated in the X11 server. You call a few C methods, and it will paint something. Usually it will paint on the screen, but with the right driver it may print to PS or PDF stream.
It can not load or save data, and it does not know anything about XML. It does not know anything about PS or PDF either.
PDF rendering model refers to the type of commands that it processes. There are different ways to describe vector graphics, and Cairo happens to go the Adobe way.
|
[
Reply To This | View ]
|
The Fine Print: The previous
comments are owned by whomever posted them.
( Reply )
|
|