[cairo] Vector screen capture with Cairo
Nguyen Thai Ngoc Duy
pclouds at gmail.com
Wed Apr 4 07:40:05 PDT 2007
On 4/4/07, Peter Clifton <pcjc2 at cam.ac.uk> wrote:
> Hi, I asked this question on the GTK app-devel list, but so far no-one
> has anything to say about it. I get the feeling the solution is quite
> involved technically - either with Cairo or Gdk + GTK internals.
> I want to get a vector-based a window capture of a program for inclusion
> in user-documentation. This would produce a nice scalable, (and
> hopefully memory efficient) way to embed the window capture.
IIRC, Gtk+ does not always use Cairo. I can draw directly to X surface
> Since GTK and Gdk use Cairo, and Cairo supports Postscript output, it
> seems logical to think it might be possible to use a suitably modified
> Gdk library to produce such output.
> Does anyone know of similar attempts? I presume the place to start is in
> the back-ends of Gdk, along the lines of the x11, or quartz directories.
> There would also presumably be need to ensure the program starts up and
> displays its-self as intended for the screen shot, then exits.
> I realise this isn't "easy", but does any one have any suggestions how
> it might be possible to proceed?
> Peter Clifton
> Electrical Engineering Division,
> Engineering Department,
> University of Cambridge,
> 9, JJ Thomson Avenue,
> CB3 0FA
> Tel: +44 (0)7729 980173 - (No signal in the lab!)
More information about the cairo