Graphviz 13.0.0~dev.20241220.2304
Loading...
Searching...
No Matches
gvplugin_render.h
Go to the documentation of this file.
1
3/*************************************************************************
4 * Copyright (c) 2011 AT&T Intellectual Property
5 * All rights reserved. This program and the accompanying materials
6 * are made available under the terms of the Eclipse Public License v1.0
7 * which accompanies this distribution, and is available at
8 * https://www.eclipse.org/legal/epl-v10.html
9 *
10 * Contributors: Details at https://graphviz.org
11 *************************************************************************/
12
13#pragma once
14
15#include "types.h"
16#include "gvplugin.h"
17#include "gvcjob.h"
18#include <stddef.h>
19
20#ifdef __cplusplus
21extern "C" {
22#endif
23
26 void (*begin_job) (GVJ_t * job);
27 void (*end_job) (GVJ_t * job);
28 void (*begin_graph) (GVJ_t * job);
29 void (*end_graph) (GVJ_t * job);
30 void (*begin_layer) (GVJ_t * job, char *layername,
31 int layerNum, int numLayers);
32 void (*end_layer) (GVJ_t * job);
33 void (*begin_page) (GVJ_t * job);
34 void (*end_page) (GVJ_t * job);
35 void (*begin_cluster) (GVJ_t * job);
36 void (*end_cluster) (GVJ_t * job);
37 void (*begin_nodes) (GVJ_t * job);
38 void (*end_nodes) (GVJ_t * job);
39 void (*begin_edges) (GVJ_t * job);
40 void (*end_edges) (GVJ_t * job);
41 void (*begin_node) (GVJ_t * job);
42 void (*end_node) (GVJ_t * job);
43 void (*begin_edge) (GVJ_t * job);
44 void (*end_edge) (GVJ_t * job);
45 void (*begin_anchor) (GVJ_t * job,
46 char *href, char *tooltip, char *target, char *id);
47 void (*end_anchor) (GVJ_t * job);
48 void (*begin_label) (GVJ_t * job, label_type type);
49 void (*end_label) (GVJ_t * job);
50 void (*textspan) (GVJ_t * job, pointf p, textspan_t * span);
51 void (*resolve_color) (GVJ_t * job, gvcolor_t * color);
52 void (*ellipse) (GVJ_t * job, pointf * A, int filled);
53 void (*polygon)(GVJ_t *job, pointf *A, size_t n, int filled);
54 void (*beziercurve)(GVJ_t *job, pointf *A, size_t n, int);
55 void (*polyline)(GVJ_t *job, pointf *A, size_t n);
56 void (*comment) (GVJ_t * job, char *comment);
57 void (*library_shape)(GVJ_t *job, char *name, pointf *A, size_t n, int filled);
58 };
59
60#ifdef __cplusplus
61}
62#endif
expr procedure type
Definition exparse.y:208
#define A(n, t)
Definition expr.h:76
static uint64_t id
Definition gv2gml.c:42
label_type
Definition gvcjob.h:38
static void color(Agraph_t *g)
Definition gvcolor.c:129
void(* end_label)(GVJ_t *job)
void(* begin_layer)(GVJ_t *job, char *layername, int layerNum, int numLayers)
void(* begin_anchor)(GVJ_t *job, char *href, char *tooltip, char *target, char *id)
void(* begin_cluster)(GVJ_t *job)
void(* begin_page)(GVJ_t *job)
void(* resolve_color)(GVJ_t *job, gvcolor_t *color)
void(* library_shape)(GVJ_t *job, char *name, pointf *A, size_t n, int filled)
void(* end_job)(GVJ_t *job)
void(* begin_node)(GVJ_t *job)
void(* ellipse)(GVJ_t *job, pointf *A, int filled)
void(* end_page)(GVJ_t *job)
void(* textspan)(GVJ_t *job, pointf p, textspan_t *span)
void(* end_edge)(GVJ_t *job)
void(* end_node)(GVJ_t *job)
void(* end_anchor)(GVJ_t *job)
void(* polyline)(GVJ_t *job, pointf *A, size_t n)
void(* begin_edge)(GVJ_t *job)
void(* begin_nodes)(GVJ_t *job)
void(* end_graph)(GVJ_t *job)
void(* end_layer)(GVJ_t *job)
void(* begin_job)(GVJ_t *job)
void(* begin_edges)(GVJ_t *job)
void(* end_edges)(GVJ_t *job)
void(* end_cluster)(GVJ_t *job)
void(* beziercurve)(GVJ_t *job, pointf *A, size_t n, int)
void(* begin_graph)(GVJ_t *job)
void(* begin_label)(GVJ_t *job, label_type type)
void(* end_nodes)(GVJ_t *job)
void(* comment)(GVJ_t *job, char *comment)
graphs, nodes and edges info: Agraphinfo_t, Agnodeinfo_t and Agedgeinfo_t