Graphviz 12.0.1~dev.20240715.2254
Loading...
Searching...
No Matches
gvio.h File Reference
#include "gvcjob.h"
Include dependency graph for gvio.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define GVIO_API   /* nothing */
 
#define GV_PRINTF_LIKE(index, first)   /* nothing */
 

Functions

GVIO_API size_t gvwrite (GVJ_t *job, const char *s, size_t len)
 
GVIO_API int gvferror (FILE *stream)
 
GVIO_API int gvputc (GVJ_t *job, int c)
 
GVIO_API int gvputs (GVJ_t *job, const char *s)
 
GVIO_API int gvputs_xml (GVJ_t *job, const char *s)
 
GVIO_API void gvputs_nonascii (GVJ_t *job, const char *s)
 
GVIO_API int gvflush (GVJ_t *job)
 
GVIO_API GV_PRINTF_LIKE (2, 3) void gvprintf(GVJ_t *job
 
GVIO_API const char GVIO_API void gvprintdouble (GVJ_t *job, double num)
 
GVIO_API void gvprintpointf (GVJ_t *job, pointf p)
 
GVIO_API void gvprintpointflist (GVJ_t *job, pointf *p, size_t n)
 

Variables

GVIO_API const char * format
 

Macro Definition Documentation

◆ GV_PRINTF_LIKE

#define GV_PRINTF_LIKE (   index,
  first 
)    /* nothing */

Definition at line 48 of file gvio.h.

◆ GVIO_API

#define GVIO_API   /* nothing */

Definition at line 28 of file gvio.h.

Function Documentation

◆ GV_PRINTF_LIKE()

GVIO_API GV_PRINTF_LIKE ( ,
 
)

◆ gvferror()

GVIO_API int gvferror ( FILE *  stream)

Definition at line 253 of file gvdevice.c.

References GVJ_s::gvc, GVJ_s::output_data, GVJ_s::output_file, and GVC_s::write_fn.

◆ gvflush()

GVIO_API int gvflush ( GVJ_t job)

Definition at line 300 of file gvdevice.c.

References GVJ_s::external_context, GVJ_s::gvc, GVJ_s::output_file, and GVC_s::write_fn.

Referenced by dot_end_graph(), gvdevice_finalize(), gvdevice_format(), and json_end_graph().

Here is the caller graph for this function:

◆ gvprintdouble()

GVIO_API const char GVIO_API void gvprintdouble ( GVJ_t job,
double  num 
)

Definition at line 506 of file gvdevice.c.

References gv_trim_zeros(), gvwrite(), and len().

Referenced by ps_set_pen_style(), ps_set_pen_style(), psgen_textspan(), svg_begin_page(), svg_bzptarray(), svg_ellipse(), svg_gradstyle(), svg_grstyle(), svg_polygon(), svg_polyline(), svg_textspan(), tkgen_bezier(), tkgen_ellipse(), and tkgen_polygon().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ gvprintpointf()

GVIO_API void gvprintpointf ( GVJ_t job,
pointf  p 
)

Definition at line 523 of file gvdevice.c.

References agxbfree(), agxbuse(), gvwrite(), pointf_s::x, and pointf_s::y.

Referenced by gvprintpointflist(), lasi_bezier(), lasi_library_shape(), lasi_polygon(), lasi_polyline(), lasi_textspan(), psgen_bezier(), psgen_library_shape(), psgen_polygon(), psgen_polyline(), psgen_textspan(), and tkgen_textspan().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ gvprintpointflist()

GVIO_API void gvprintpointflist ( GVJ_t job,
pointf p,
size_t  n 
)

Definition at line 537 of file gvdevice.c.

References gvprintpointf(), and gvputs().

Referenced by lasi_begin_anchor(), lasi_bezier(), lasi_ellipse(), lasi_library_shape(), psgen_begin_anchor(), psgen_bezier(), psgen_ellipse(), psgen_library_shape(), tkgen_bezier(), tkgen_ellipse(), tkgen_polygon(), and tkgen_polyline().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ gvputc()

GVIO_API int gvputc ( GVJ_t job,
int  c 
)

Definition at line 290 of file gvdevice.c.

References gvwrite().

Referenced by epsf_emit_body(), gvputs_nonascii(), pic_textspan(), stoj(), svg_begin_anchor(), svg_begin_page(), svg_bzptarray(), svg_gradstyle(), svg_grstyle(), svg_polygon(), svg_polyline(), svg_print_id_class(), svg_rgradstyle(), svg_textspan(), write_stops(), and write_xdot().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ gvputs()

GVIO_API int gvputs ( GVJ_t job,
const char *  s 
)

Definition at line 263 of file gvdevice.c.

References gvwrite(), and len().

Referenced by cat_libfile(), core_loadimage_svg(), dot_end_graph(), epsf_define(), fig_begin_graph(), fig_bezier(), fig_end_graph(), fig_textspan(), figptarray(), gd_loadimage_ps(), gvprintpointflist(), gvputs_nonascii(), gvputs_xml(), indent(), json_end_graph(), lasi_begin_anchor(), lasi_begin_cluster(), lasi_begin_edge(), lasi_begin_graph(), lasi_begin_node(), lasi_bezier(), lasi_comment(), lasi_ellipse(), lasi_end_cluster(), lasi_end_edge(), lasi_end_job(), lasi_end_node(), lasi_end_page(), lasi_library_shape(), lasi_polygon(), lasi_polyline(), lasi_textspan(), map_begin_page(), map_end_page(), map_output_shape(), pango_loadimage_ps(), pic_bezier(), picptarray(), pov_begin_cluster(), pov_begin_edge(), pov_begin_graph(), pov_begin_job(), pov_begin_page(), pov_bezier(), pov_ellipse(), pov_end_cluster(), pov_end_edge(), pov_end_graph(), pov_end_layer(), pov_end_node(), pov_end_page(), pov_polygon(), pov_polyline(), pov_textspan(), ps_set_pen_style(), ps_set_pen_style(), psgen_begin_anchor(), psgen_begin_cluster(), psgen_begin_edge(), psgen_begin_graph(), psgen_begin_job(), psgen_begin_node(), psgen_bezier(), psgen_comment(), psgen_ellipse(), psgen_end_cluster(), psgen_end_edge(), psgen_end_job(), psgen_end_node(), psgen_end_page(), psgen_library_shape(), psgen_polygon(), psgen_polyline(), psgen_textspan(), stoj(), svg_begin_anchor(), svg_begin_cluster(), svg_begin_edge(), svg_begin_graph(), svg_begin_job(), svg_begin_layer(), svg_begin_node(), svg_begin_page(), svg_bezier(), svg_comment(), svg_ellipse(), svg_end_anchor(), svg_end_cluster(), svg_end_edge(), svg_end_graph(), svg_end_layer(), svg_end_node(), svg_end_page(), svg_gradstyle(), svg_grstyle(), svg_polygon(), svg_polyline(), svg_print_gradient_color(), svg_print_id_class(), svg_print_paint(), svg_print_stop(), svg_rgradstyle(), svg_textspan(), tkgen_begin_graph(), tkgen_bezier(), tkgen_canvas(), tkgen_ellipse(), tkgen_polygon(), tkgen_polyline(), tkgen_print_color(), tkgen_textspan(), write_attrs(), write_edge(), write_edges(), write_graph(), write_hdr(), write_node(), write_nodes(), write_subg(), write_subgs(), write_xdot(), write_xdots(), and xml_url_puts().

Here is the call graph for this function:

◆ gvputs_nonascii()

GVIO_API void gvputs_nonascii ( GVJ_t job,
const char *  s 
)

Definition at line 278 of file gvdevice.c.

References gvprintf(), gvputc(), and gvputs().

Referenced by fig_textspan(), and pic_textspan().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ gvputs_xml()

GVIO_API int gvputs_xml ( GVJ_t job,
const char *  s 
)

Definition at line 273 of file gvdevice.c.

References xml_flags_t::dash, flags, gvputs(), and xml_escape().

Referenced by map_begin_page(), map_output_shape(), svg_begin_anchor(), svg_begin_cluster(), svg_begin_edge(), svg_begin_graph(), svg_begin_job(), svg_begin_node(), svg_begin_page(), svg_bezier(), svg_comment(), svg_gradstyle(), svg_grstyle(), svg_print_id_class(), svg_rgradstyle(), and svg_textspan().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ gvwrite()

GVIO_API size_t gvwrite ( GVJ_t job,
const char *  s,
size_t  len 
)

Definition at line 179 of file gvdevice.c.

References GVJ_s::common, GVCOMMON_s::errorfn, GVJ_s::flags, graphviz_exit(), GVDEVICE_COMPRESSED_FORMAT, gvwrite_no_z(), len(), offset, and z.

Referenced by cat_libfile(), device_data_consumer_put_bytes(), gdiplus_format(), gdiplusgen_end_job(), gvdevice_gd_putBuf(), gvdevice_gd_putC(), gvprintdouble(), gvprintf(), gvprintpointf(), gvputc(), gvputs(), svg_bzptarray(), and writer().

Here is the call graph for this function:
Here is the caller graph for this function:

Variable Documentation

◆ format