|
Graphviz
2.31.20130523.0446
|
#include <stdarg.h>#include <stdlib.h>#include <string.h>#include "const.h"#include "memory.h"#include "gvplugin_device.h"#include "gvcjob.h"#include "gvcint.h"#include "gvcproc.h"#include "logic.h"#include "gvio.h"
Go to the source code of this file.
Defines | |
| #define | DECPLACES 2 |
| #define | DECPLACES_SCALE 100 |
| #define | val_str(n, x) static double n = x; static char n##str[] = #x; |
Functions | |
| int | gvdevice_initialize (GVJ_t *job) |
| size_t | gvwrite (GVJ_t *job, const char *s, size_t len) |
| int | gvferror (FILE *stream) |
| size_t | gvfwrite (const void *ptr, size_t size, size_t nmemb, FILE *stream) |
| int | gvputs (GVJ_t *job, const char *s) |
| int | gvputc (GVJ_t *job, int c) |
| int | gvflush (GVJ_t *job) |
| void | gvdevice_format (GVJ_t *job) |
| void | gvdevice_finalize (GVJ_t *job) |
| void | gvprintf (GVJ_t *job, const char *format,...) |
| val_str (maxnegnum,-999999999999999.99) static char *gvprintnum(size_t *len | |
| #define DECPLACES 2 |
Definition at line 431 of file gvdevice.c.
| #define DECPLACES_SCALE 100 |
Definition at line 432 of file gvdevice.c.
| #define val_str | ( | n, | |
| x | |||
| ) | static double n = x; static char n##str[] = #x; |
Definition at line 435 of file gvdevice.c.
| void gvdevice_finalize | ( | GVJ_t * | job | ) |
Definition at line 327 of file gvdevice.c.
References GVJ_s::device, gvplugin_active_device_s::engine, FALSE, GVJ_s::flags, GVDEVICE_COMPRESSED_FORMAT, GVJ_s::common, GVCOMMON_s::errorfn, gvdevice_engine_s::finalize, TRUE, and gvflush().
Referenced by gvRenderFilename(), gvRenderContext(), and gvrender_end_job().
| void gvdevice_format | ( | GVJ_t * | job | ) |
Definition at line 318 of file gvdevice.c.
References GVJ_s::device, gvplugin_active_device_s::engine, gvdevice_engine_s::format, and gvflush().
Referenced by gvrender_end_graph().
| int gvdevice_initialize | ( | GVJ_t * | job | ) |
Definition at line 130 of file gvdevice.c.
References GVJ_s::device, gvplugin_active_device_s::engine, GVJ_s::gvc, gvdevice_engine_s::initialize, GVJ_s::output_data, GVJ_s::output_file, GVC_s::common, GVCOMMON_s::auto_outfile_names, GVJ_s::output_filename, NULL, GVJ_s::common, GVCOMMON_s::errorfn, GVJ_s::flags, GVDEVICE_BINARY_FORMAT, and GVDEVICE_COMPRESSED_FORMAT.
Referenced by gvrender_begin_job().
| int gvferror | ( | FILE * | stream | ) |
Definition at line 258 of file gvdevice.c.
References GVJ_s::gvc, GVC_s::write_fn, GVJ_s::output_data, and GVJ_s::output_file.
Referenced by gvplugin_graph().
| int gvflush | ( | GVJ_t * | job | ) |
Definition at line 294 of file gvdevice.c.
References GVJ_s::output_file, GVJ_s::external_context, GVJ_s::gvc, and GVC_s::write_fn.
Referenced by gvdevice_format(), and gvdevice_finalize().
| size_t gvfwrite | ( | const void * | ptr, |
| size_t | size, | ||
| size_t | nmemb, | ||
| FILE * | stream | ||
| ) |
Definition at line 268 of file gvdevice.c.
References assert, and gvwrite().
Referenced by gvplugin_graph().
| void gvprintf | ( | GVJ_t * | job, |
| const char * | format, | ||
| ... | |||
| ) |
Definition at line 393 of file gvdevice.c.
References agerr(), AGERR, gmalloc(), gvwrite(), and free().
Referenced by epsf_define().
| int gvputc | ( | GVJ_t * | job, |
| int | c | ||
| ) |
| int gvputs | ( | GVJ_t * | job, |
| const char * | s | ||
| ) |
Definition at line 274 of file gvdevice.c.
References gvwrite().
Referenced by cat_libfile(), and epsf_define().
| size_t gvwrite | ( | GVJ_t * | job, |
| const char * | s, | ||
| size_t | len | ||
| ) |
Definition at line 194 of file gvdevice.c.
References GVJ_s::flags, GVDEVICE_COMPRESSED_FORMAT, realloc(), GVJ_s::common, and GVCOMMON_s::errorfn.
Referenced by gvfwrite(), gvputs(), gvputc(), and gvprintf().
| val_str | ( | maxnegnum | , |
| -999999999999999. | 99 | ||
| ) |
1.7.5