[prev in list] [next in list] [prev in thread] [next in thread]
List: cairo
Subject: Re: [cairo] PostScript Import / Watch File
From: Dirk_Schönberger <dirk.schoenberger () sz-online ! de>
Date: 2007-05-24 18:32:38
Message-ID: 008701c79e31$f1ad48c0$14b2a8c0 () rincewind
[Download RAW message or body]
> Since Cairo mirrors so many of the PostScript operators, is there a
library of some sort to import PostScript files and display them
> onscreen? I'm hoping to use Cairo and Gtk to make a WYSIWYG graph
editor --- visually plot data whilst taking it, arrange TeX-generated
> labels (which can be easily embedded into a figure via eps), and do some
annotation using simple PostScript/Cairo operators to draw and
> color lines. I already have a lot of the command line functionality to
generate PostScript graphs and embed TeX labels, but I would like to do it >
visually so one can use the mouse to arrange things rather than guessing at
coordinates in the raw PostScript. As far as I can tell, I can either > keep
recompiling a PostScript file and watch it with a gv-like widget (which I'd
need to write, god help me) or mirror the plot using Cairo and > use the
command line routines to generate PostScript at the end. I'd be grateful for
any suggestions.
I don't know of any Postscript import library, short of a full blown
Postscript interpreter like Ghostscript. Problem is that Postscript is in
reality a a full blown programming language.
What would be easier is to create a import library for a limited graphics
system, like PDF or the "Adobe Illustrator" format.
However, this is not really useful for Cairo, because Cairo is more of a
"direct rendering" system, ie. it doesn't contain any system to actually
hold the "imported" data.
Regards
Dirk
_______________________________________________
cairo mailing list
cairo@cairographics.org
http://cairographics.org/cgi-bin/mailman/listinfo/cairo
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic