QSAS_2_3/QSAS_dist/src/Utilities/qplplot/svg.c File Reference

#include <stdarg.h>
#include <math.h>
#include "plplotP.h"
#include "drivers.h"

Defines

#define SVG_Default_X   720
#define SVG_Default_Y   540
#define DPI   90
#define MAX_STRING_LEN   1000

Functions

static void svg_open (char *)
static void svg_open_end (void)
static void svg_attr_value (char *, char *)
static void svg_attr_values (char *, char *,...)
static void svg_close (char *)
static void svg_general (char *)
static void svg_indent (void)
static void svg_stroke_width (PLStream *)
static void svg_stroke_color (PLStream *)
static void svg_fill_color (PLStream *)
static void svg_fill_background_color (PLStream *)
static void poly_line (PLStream *, short *, short *, PLINT, short)
static void write_hex (unsigned char)
static void write_unicode (PLUNICODE)
static short desired_offset (short, double)
static void specify_font (PLUNICODE)
static void proc_str (PLStream *, EscText *)
void plD_dispatch_init_svg (PLDispatchTable *pdt)
void plD_init_svg (PLStream *)
void plD_line_svg (PLStream *, short, short, short, short)
void plD_polyline_svg (PLStream *, short *, short *, PLINT)
void plD_eop_svg (PLStream *)
void plD_bop_svg (PLStream *)
void plD_tidy_svg (PLStream *)
void plD_state_svg (PLStream *, PLINT)
void plD_esc_svg (PLStream *, PLINT, void *)

Variables

const char * plD_DEVICE_INFO_svg = "svg:Scalable Vector Graphics (SVG 1.1):1:svg:57:svg"
static int canvasXSize = 0
static int canvasYSize = 0
static int svgIndent = 0
static FILE * svgFile
static char curColor [7]

Define Documentation

#define DPI   90

#define MAX_STRING_LEN   1000

#define SVG_Default_X   720

#define SVG_Default_Y   540


Function Documentation

short desired_offset ( short  level,
double  ftHt 
) [static]

void plD_bop_svg ( PLStream pls  ) 

void plD_dispatch_init_svg ( PLDispatchTable pdt  ) 

void plD_eop_svg ( PLStream pls  ) 

void plD_esc_svg ( PLStream pls,
PLINT  op,
void *  ptr 
)

void plD_init_svg ( PLStream pls  ) 

void plD_line_svg ( PLStream pls,
short  x1a,
short  y1a,
short  x2a,
short  y2a 
)

void plD_polyline_svg ( PLStream pls,
short *  xa,
short *  ya,
PLINT  npts 
)

void plD_state_svg ( PLStream pls,
PLINT  op 
)

void plD_tidy_svg ( PLStream pls  ) 

void poly_line ( PLStream pls,
short *  xa,
short *  ya,
PLINT  npts,
short  fill 
) [static]

void proc_str ( PLStream pls,
EscText args 
) [static]

void specify_font ( PLUNICODE  ucs4_char  )  [static]

void svg_attr_value ( char *  attribute,
char *  value 
) [static]

void svg_attr_values ( char *  attribute,
char *  format,
  ... 
) [static]

void svg_close ( char *  tag  )  [static]

void svg_fill_background_color ( PLStream pls  )  [static]

void svg_fill_color ( PLStream pls  )  [static]

void svg_general ( char *  text  )  [static]

void svg_indent ( void   )  [static]

void svg_open ( char *  tag  )  [static]

void svg_open_end ( void   )  [static]

void svg_stroke_color ( PLStream pls  )  [static]

void svg_stroke_width ( PLStream pls  )  [static]

void write_hex ( unsigned char  val  )  [static]

void write_unicode ( PLUNICODE  ucs4_char  )  [static]


Variable Documentation

int canvasXSize = 0 [static]

int canvasYSize = 0 [static]

char curColor[7] [static]

const char* plD_DEVICE_INFO_svg = "svg:Scalable Vector Graphics (SVG 1.1):1:svg:57:svg"

FILE* svgFile [static]

int svgIndent = 0 [static]


Generated on Tue Dec 9 16:55:35 2008 for QSAS by  doxygen 1.5.7