Graphviz
2.41.20171026.1811
|
#include "config.h"
#include <stdarg.h>
#include <stdlib.h>
#include <string.h>
#include <inttypes.h>
#include <errno.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.
Macros | |
#define | DECPLACES 4 |
#define | DECPLACES_SCALE 10000 |
#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,...) |
void | gvprintdouble (GVJ_t *job, double num) |
void | gvprintpointf (GVJ_t *job, pointf p) |
void | gvprintpointflist (GVJ_t *job, pointf *p, int n) |
#define DECPLACES 4 |
Definition at line 427 of file gvdevice.c.
#define DECPLACES_SCALE 10000 |
Definition at line 428 of file gvdevice.c.
Definition at line 431 of file gvdevice.c.
void gvdevice_finalize | ( | GVJ_t * | job | ) |
Definition at line 323 of file gvdevice.c.
References GVJ_s::common, GVJ_s::device, gvplugin_active_device_s::engine, GVCOMMON_s::errorfn, FALSE, gvdevice_engine_s::finalize, GVJ_s::flags, GVDEVICE_COMPRESSED_FORMAT, gvflush(), and TRUE.
Referenced by graphcmd(), gvrender_end_job(), gvRenderContext(), and gvRenderFilename().
void gvdevice_format | ( | GVJ_t * | job | ) |
Definition at line 314 of file gvdevice.c.
References GVJ_s::device, gvplugin_active_device_s::engine, gvdevice_engine_s::format, and gvflush().
Referenced by gvrender_end_graph().
Definition at line 126 of file gvdevice.c.
References GVCOMMON_s::auto_outfile_names, GVC_s::common, GVJ_s::common, GVJ_s::device, gvplugin_active_device_s::engine, GVCOMMON_s::errorfn, GVJ_s::flags, gvc, GVJ_s::gvc, GVDEVICE_BINARY_FORMAT, GVDEVICE_COMPRESSED_FORMAT, gvdevice_engine_s::initialize, NULL, GVJ_s::output_data, GVJ_s::output_file, and GVJ_s::output_filename.
Referenced by gvrender_begin_job().
int gvferror | ( | FILE * | stream | ) |
Definition at line 254 of file gvdevice.c.
References GVJ_s::gvc, GVJ_s::output_data, GVJ_s::output_file, and GVC_s::write_fn.
Definition at line 290 of file gvdevice.c.
References GVJ_s::external_context, GVJ_s::gvc, GVJ_s::output_file, and GVC_s::write_fn.
Referenced by gvdevice_finalize(), and gvdevice_format().
size_t gvfwrite | ( | const void * | ptr, |
size_t | size, | ||
size_t | nmemb, | ||
FILE * | stream | ||
) |
Definition at line 264 of file gvdevice.c.
void gvprintdouble | ( | GVJ_t * | job, |
double | num | ||
) |
Definition at line 557 of file gvdevice.c.
References gvwrite().
void gvprintf | ( | GVJ_t * | job, |
const char * | format, | ||
... | |||
) |
Definition at line 389 of file gvdevice.c.
References agerr(), AGERR, gmalloc(), and gvwrite().
Referenced by epsf_define().
Definition at line 573 of file gvdevice.c.
References gvwrite(), pointf_s::x, and pointf_s::y.
Referenced by gvprintpointflist().
Definition at line 585 of file gvdevice.c.
References gvprintpointf(), gvwrite(), and TRUE.
Definition at line 270 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 190 of file gvdevice.c.
References GVJ_s::common, GVCOMMON_s::errorfn, GVJ_s::flags, and GVDEVICE_COMPRESSED_FORMAT.
Referenced by gvdevice_gd_putBuf(), gvdevice_gd_putC(), gvfwrite(), gvprintdouble(), gvprintf(), gvprintpointf(), gvprintpointflist(), gvputc(), and gvputs().