/misc/src/release/graphviz-2.18-1/src/graphviz-2.18/lib/gvc/gvdevice.c File Reference

#include <stdarg.h>
#include <stdlib.h>
#include <string.h>
#include "logic.h"
#include "const.h"
#include "gvplugin_device.h"
#include "gvcjob.h"
#include "gvcint.h"
#include "gvcproc.h"

Include dependency graph for gvdevice.c:

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 unsigned char n##str[] = #x;

Functions

size_t gvdevice_write (GVJ_t *job, const unsigned char *s, unsigned int len)
void gvdevice_fputs (GVJ_t *job, char *s)
void gvdevice_printf (GVJ_t *job, const char *format,...)
 val_str (maxnegnum,-999999999999999.99) static unsigned char *gvprintnum(int *len


Define Documentation

#define DECPLACES   2

Definition at line 115 of file gvdevice.c.

#define DECPLACES_SCALE   100

Definition at line 116 of file gvdevice.c.

#define val_str ( n,
 )     static double n = x; static unsigned char n##str[] = #x;

Definition at line 119 of file gvdevice.c.


Function Documentation

void gvdevice_fputs ( GVJ_t job,
char *  s 
)

Definition at line 81 of file gvdevice.c.

References gvdevice_write().

void gvdevice_printf ( GVJ_t job,
const char *  format,
  ... 
)

Definition at line 93 of file gvdevice.c.

References gvdevice_write().

size_t gvdevice_write ( GVJ_t job,
const unsigned char *  s,
unsigned int  len 
)

Definition at line 54 of file gvdevice.c.

References GVJ_s::flags, GVJ_s::gvc, GVDEVICE_COMPRESSED_FORMAT, GVJ_s::output_data, GVJ_s::output_data_allocated, GVJ_s::output_data_position, GVJ_s::output_file, realloc(), and GVC_s::write_fn.

Referenced by gvdevice_fputs(), and gvdevice_printf().

val_str ( maxnegnum  ,
-999999999999999.  99 
)


Generated on Mon Mar 31 19:06:10 2008 for Graphviz by  doxygen 1.5.1