cairo: Add a cairo graphics device type. And many fixes...
authorMatt Birkholz <puck@birchwood-abbey.net>
Wed, 28 May 2014 23:04:27 +0000 (16:04 -0700)
committerMatt Birkholz <puck@birchwood-abbey.net>
Wed, 28 May 2014 23:04:27 +0000 (16:04 -0700)
commitfd9f0d054aadcf8206cfc1dddc08fb062ba20c4c
treeea6702fb5a2d18deff30cf1b719a73d1875d29da
parentf5681ab4214586ce513ef1597c865f9696752408
cairo: Add a cairo graphics device type.  And many fixes...

Use the cairo graphics device in the planetarium's mit-snapshot.scm
script to draw the tellurion to a PNG image file without loading Gtk.

Fix the linker commandline(!) and cairo-line-to(!!).  Add cairo-save/
restore around polygon fill options, just because all the rest do.
Punt gtk-graphics/make since a window-less gtk output device is no
longer necessary for planetarium/mit-snapshot.scm.  Clean up some free
variables, other CREF complains, unknown texinfo references, etc.

Rename add-gc-cleanups add-GLIB-cleanups because they are run by the
glib-thread.  Replaced punt-gc-cleanup with execute-glib-cleanup
because you probably should not use the former, rather the latter.
32 files changed:
src/cairo/Makefile.in
src/cairo/cairo-graphics.scm [new file with mode: 0644]
src/cairo/cairo.pkg
src/cairo/cairo.scm
src/cairo/compile.scm
src/gl/check.scm
src/gl/gl-glx.scm
src/gl/gl.pkg
src/glib/gio.scm
src/glib/glib-thread.scm
src/glib/glib.pkg
src/glib/glib.scm
src/glib/glib.texinfo
src/glib/glibio.c
src/glib/gobject.scm
src/gtk/check-doc.scm
src/gtk/fix-layout.scm
src/gtk/gdk.scm
src/gtk/gtk-check.scm
src/gtk/gtk-graphics.scm
src/gtk/gtk-widget.scm
src/gtk/gtk.pkg
src/gtk/gtk.texinfo
src/pango/pango.scm
src/planetarium/Makefile [new file with mode: 0644]
src/planetarium/geometry.scm
src/planetarium/mit-3d.pkg
src/planetarium/mit-cairo.scm [new file with mode: 0644]
src/planetarium/mit-compile.scm
src/planetarium/mit-snapshot.scm
src/planetarium/mit.pkg
src/planetarium/tellurion.scm