comparison toolboxes/graph_visualisation/include/graphviz/gvplugin_render.h @ 0:e9a9cd732c1e tip

first hg version after svn
author wolffd
date Tue, 10 Feb 2015 15:05:51 +0000
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:e9a9cd732c1e
1 /* $Id: gvplugin_render.h,v 1.36 2009/06/03 01:10:53 ellson Exp $ $Revision: 1.36 $ */
2 /* vim:set shiftwidth=4 ts=8: */
3
4 /**********************************************************
5 * This software is part of the graphviz package *
6 * http://www.graphviz.org/ *
7 * *
8 * Copyright (c) 1994-2004 AT&T Corp. *
9 * and is licensed under the *
10 * Common Public License, Version 1.0 *
11 * by AT&T Corp. *
12 * *
13 * Information and Software Systems Research *
14 * AT&T Research, Florham Park NJ *
15 **********************************************************/
16
17 #ifndef GVPLUGIN_RENDER_H
18 #define GVPLUGIN_RENDER_H
19
20 #include "types.h"
21 #include "gvplugin.h"
22 #include "gvcjob.h"
23
24 #ifdef __cplusplus
25 extern "C" {
26 #endif
27
28 struct gvrender_engine_s {
29 void (*begin_job) (GVJ_t * job);
30 void (*end_job) (GVJ_t * job);
31 void (*begin_graph) (GVJ_t * job);
32 void (*end_graph) (GVJ_t * job);
33 void (*begin_layer) (GVJ_t * job, char *layername,
34 int layerNum, int numLayers);
35 void (*end_layer) (GVJ_t * job);
36 void (*begin_page) (GVJ_t * job);
37 void (*end_page) (GVJ_t * job);
38 void (*begin_cluster) (GVJ_t * job);
39 void (*end_cluster) (GVJ_t * job);
40 void (*begin_nodes) (GVJ_t * job);
41 void (*end_nodes) (GVJ_t * job);
42 void (*begin_edges) (GVJ_t * job);
43 void (*end_edges) (GVJ_t * job);
44 void (*begin_node) (GVJ_t * job);
45 void (*end_node) (GVJ_t * job);
46 void (*begin_edge) (GVJ_t * job);
47 void (*end_edge) (GVJ_t * job);
48 void (*begin_anchor) (GVJ_t * job,
49 char *href, char *tooltip, char *target, char *id);
50 void (*end_anchor) (GVJ_t * job);
51 void (*begin_label) (GVJ_t * job, label_type type);
52 void (*end_label) (GVJ_t * job);
53 void (*textpara) (GVJ_t * job, pointf p, textpara_t * str);
54 void (*resolve_color) (GVJ_t * job, gvcolor_t * color);
55 void (*ellipse) (GVJ_t * job, pointf * A, int filled);
56 void (*polygon) (GVJ_t * job, pointf * A, int n, int filled);
57 void (*beziercurve) (GVJ_t * job, pointf * A, int n,
58 int arrow_at_start, int arrow_at_end, int);
59 void (*polyline) (GVJ_t * job, pointf * A, int n);
60 void (*comment) (GVJ_t * job, char *comment);
61 void (*library_shape) (GVJ_t * job, char *name, pointf * A, int n, int filled);
62 };
63
64 #ifdef __cplusplus
65 }
66 #endif
67 #endif /* GVPLUGIN_RENDER_H */