~ubuntu-branches/ubuntu/lucid/graphviz/lucid-updates

« back to all changes in this revision

Viewing changes to plugin/core/gvloadimage_core.c

  • Committer: Bazaar Package Importer
  • Author(s): Bryce Harrington
  • Date: 2008-06-19 20:23:23 UTC
  • mfrom: (1.2.5 upstream)
  • Revision ID: james.westby@ubuntu.com-20080619202323-ls23h96ntj9ny94m
Tags: 2.18-1ubuntu1
* Merge from debian unstable, remaining changes:
  - Build depend on liblualib50-dev instead of liblua5.1-0-dev.
  - Drop libttf-dev (libttf-dev is in universe) (LP: #174749).
  - Replace gs-common with ghostscript.
  - Build-depend on python-dev instead of python2.4-dev or python2.5-dev.
  - Mention the correct python version for the python bindings in the
    package description.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/* $Id: gvloadimage_core.c,v 1.23 2007/10/26 17:57:45 ellson Exp $ $Revision: 1.23 $ */
 
1
/* $Id: gvloadimage_core.c,v 1.24 2007/12/26 16:53:24 ellson Exp $ $Revision: 1.24 $ */
2
2
/* vim:set shiftwidth=4 ts=8: */
3
3
 
4
4
/**********************************************************
39
39
    FORMAT_PNG_XDOT, FORMAT_GIF_XDOT, FORMAT_JPEG_XDOT,
40
40
    FORMAT_PNG_FIG, FORMAT_GIF_FIG, FORMAT_JPEG_FIG,
41
41
    FORMAT_PNG_VRML, FORMAT_GIF_VRML, FORMAT_JPEG_VRML,
42
 
    FORMAT_PS_PS, FORMAT_PSLIB_PS,
 
42
    FORMAT_PS_PS, FORMAT_PSLIB_PS, FORMAT_SVG_SVG,
43
43
} format_type;
44
44
 
45
45
static void core_loadimage_svg(GVJ_t * job, usershape_t *us, boxf b, boolean filled)
294
294
    {FORMAT_JPEG_XDOT, "jpeg:xdot", 1, &engine_xdot, NULL},
295
295
    {FORMAT_JPEG_XDOT, "jpe:xdot", 1, &engine_xdot, NULL},
296
296
    {FORMAT_JPEG_XDOT, "jpg:xdot", 1, &engine_xdot, NULL},
 
297
    {FORMAT_SVG_SVG, "svg:svg", 1, &engine_svg, NULL},
297
298
    {0, NULL, 0, NULL, NULL}
298
299
};