#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)) |
| |
◆ FONT_SHIFT_OFFSET
| #define FONT_SHIFT_OFFSET 0.5 |
Definition at line 51 of file svg.c.
◆ FONT_SHIFT_RATIO
| #define FONT_SHIFT_RATIO 0.705 |
Definition at line 50 of file svg.c.
◆ FONT_SIZE_RATIO
| #define FONT_SIZE_RATIO 1.34 |
Definition at line 49 of file svg.c.
◆ MAX_STRING_LEN
| #define MAX_STRING_LEN 1000 |
Definition at line 44 of file svg.c.
◆ POINTS_PER_INCH
| #define POINTS_PER_INCH 72 |
Definition at line 42 of file svg.c.
◆ SVG_Default_X
| #define SVG_Default_X 720 |
Definition at line 39 of file svg.c.
◆ SVG_Default_Y
| #define SVG_Default_Y 540 |
Definition at line 40 of file svg.c.
◆ gradient()
| void gradient |
( |
PLStream * |
pls, |
|
|
short * |
xa, |
|
|
short * |
ya, |
|
|
PLINT |
npts |
|
) |
| |
|
static |
◆ plD_bop_svg()
◆ plD_dispatch_init_svg()
◆ plD_eop_svg()
◆ plD_esc_svg()
◆ plD_init_svg()
◆ plD_line_svg()
| void plD_line_svg |
( |
PLStream * |
pls, |
|
|
short |
x1a, |
|
|
short |
y1a, |
|
|
short |
x2a, |
|
|
short |
y2a |
|
) |
| |
◆ plD_polyline_svg()
| void plD_polyline_svg |
( |
PLStream * |
pls, |
|
|
short * |
xa, |
|
|
short * |
ya, |
|
|
PLINT |
npts |
|
) |
| |
◆ plD_state_svg() [1/2]
◆ plD_state_svg() [2/2]
| void plD_state_svg |
( |
PLStream * |
PL_UNUSEDpls, |
|
|
PLINT |
PL_UNUSEDop |
|
) |
| |
◆ plD_tidy_svg()
◆ poly_line()
| void poly_line |
( |
PLStream * |
pls, |
|
|
short * |
xa, |
|
|
short * |
ya, |
|
|
PLINT |
npts, |
|
|
short |
fill |
|
) |
| |
|
static |
◆ proc_str()
◆ specify_font()
| void specify_font |
( |
FILE * |
svgFile, |
|
|
PLUNICODE |
ucs4_char |
|
) |
| |
|
static |
◆ svg_attr_value()
| void svg_attr_value |
( |
SVG * |
aStream, |
|
|
const char * |
attribute, |
|
|
const char * |
value |
|
) |
| |
|
static |
◆ svg_attr_values()
| void svg_attr_values |
( |
SVG * |
aStream, |
|
|
const char * |
attribute, |
|
|
const char * |
format, |
|
|
|
... |
|
) |
| |
|
static |
◆ svg_close()
| void svg_close |
( |
SVG * |
aStream, |
|
|
const char * |
tag |
|
) |
| |
|
static |
◆ svg_family_check()
◆ svg_fill_background_color()
| void svg_fill_background_color |
( |
PLStream * |
pls | ) |
|
|
static |
◆ svg_fill_color()
◆ svg_general()
| void svg_general |
( |
SVG * |
aStream, |
|
|
const char * |
text |
|
) |
| |
|
static |
◆ svg_indent()
| void svg_indent |
( |
SVG * |
aStream | ) |
|
|
static |
◆ svg_open()
| void svg_open |
( |
SVG * |
aStream, |
|
|
const char * |
tag |
|
) |
| |
|
static |
◆ svg_open_end()
| void svg_open_end |
( |
SVG * |
aStream | ) |
|
|
static |
◆ svg_stroke_color()
◆ svg_stroke_width()
◆ write_hex()
| void write_hex |
( |
FILE * |
svgFile, |
|
|
unsigned char |
val |
|
) |
| |
|
static |
◆ write_unicode()
| void write_unicode |
( |
FILE * |
svgFile, |
|
|
PLUNICODE |
ucs4_char |
|
) |
| |
|
static |
◆ already_warned
Definition at line 57 of file svg.c.
◆ plD_DEVICE_INFO_svg
| 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.
◆ svg_options
Definition at line 60 of file svg.c.
◆ text_clipping
Definition at line 59 of file svg.c.