#include <stdarg.h>
#include <math.h>
#include "plplotP.h"
#include "drivers.h"
Go to the source code of this file.
|
static void | svg_open (SVG *, const char *) |
|
static void | svg_open_end (SVG *) |
|
static void | svg_attr_value (SVG *, const char *, const char *) |
|
static void | svg_attr_values (SVG *, const char *, const char *,...) |
|
static void | svg_close (SVG *, const char *) |
|
static void | svg_general (SVG *, const char *) |
|
static void | svg_indent (SVG *) |
|
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 int | svg_family_check (PLStream *) |
|
static void | poly_line (PLStream *, short *, short *, PLINT, short) |
|
static void | gradient (PLStream *, short *, short *, PLINT) |
|
static void | write_hex (FILE *, unsigned char) |
|
static void | write_unicode (FILE *, PLUNICODE) |
|
static void | specify_font (FILE *, 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 *) |
|
void | plD_state_svg (PLStream *PL_UNUSED(pls), PLINT PL_UNUSED(op)) |
|
#define FONT_SHIFT_OFFSET 0.5 |
Definition at line 51 of file svg.c.
#define FONT_SHIFT_RATIO 0.705 |
Definition at line 50 of file svg.c.
#define FONT_SIZE_RATIO 1.34 |
Definition at line 49 of file svg.c.
#define MAX_STRING_LEN 1000 |
Definition at line 44 of file svg.c.
#define POINTS_PER_INCH 72 |
Definition at line 42 of file svg.c.
#define SVG_Default_X 720 |
Definition at line 39 of file svg.c.
#define SVG_Default_Y 540 |
Definition at line 40 of file svg.c.
void gradient |
( |
PLStream * |
pls, |
|
|
short * |
xa, |
|
|
short * |
ya, |
|
|
PLINT |
npts |
|
) |
| |
|
static |
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 * |
PL_UNUSEDpls, |
|
|
PLINT |
PL_UNUSEDop |
|
) |
| |
void poly_line |
( |
PLStream * |
pls, |
|
|
short * |
xa, |
|
|
short * |
ya, |
|
|
PLINT |
npts, |
|
|
short |
fill |
|
) |
| |
|
static |
void specify_font |
( |
FILE * |
svgFile, |
|
|
PLUNICODE |
ucs4_char |
|
) |
| |
|
static |
void svg_attr_value |
( |
SVG * |
aStream, |
|
|
const char * |
attribute, |
|
|
const char * |
value |
|
) |
| |
|
static |
void svg_attr_values |
( |
SVG * |
aStream, |
|
|
const char * |
attribute, |
|
|
const char * |
format, |
|
|
|
... |
|
) |
| |
|
static |
void svg_close |
( |
SVG * |
aStream, |
|
|
const char * |
tag |
|
) |
| |
|
static |
void svg_fill_background_color |
( |
PLStream * |
pls | ) |
|
|
static |
void svg_general |
( |
SVG * |
aStream, |
|
|
const char * |
text |
|
) |
| |
|
static |
void svg_indent |
( |
SVG * |
aStream | ) |
|
|
static |
void svg_open |
( |
SVG * |
aStream, |
|
|
const char * |
tag |
|
) |
| |
|
static |
void svg_open_end |
( |
SVG * |
aStream | ) |
|
|
static |
void write_hex |
( |
FILE * |
svgFile, |
|
|
unsigned char |
val |
|
) |
| |
|
static |
void write_unicode |
( |
FILE * |
svgFile, |
|
|
PLUNICODE |
ucs4_char |
|
) |
| |
|
static |
Definition at line 57 of file svg.c.
PLDLLIMPEXP_DRIVER const char* plD_DEVICE_INFO_svg = "svg:Scalable Vector Graphics (SVG 1.1):1:svg:57:svg\n" |
Definition at line 55 of file svg.c.
Definition at line 60 of file svg.c.
Definition at line 59 of file svg.c.