|
TPCCLIB
|
Create SVG plot titles for TPC SVG C library. More...
#include "libtpcsvg.h"Go to the source code of this file.
Functions | |
| int | svg_create_main_title (FILE *fp, const char *main_title_text, const char *sub_title_text, struct svg_viewports *vp, char *errmsg, int verbose) |
| int | svg_create_xaxis_title (FILE *fp, const char *title_text, struct svg_viewports *vp, char *errmsg, int verbose) |
| int | svg_create_yaxis_title (FILE *fp, const char *title_text, struct svg_viewports *vp, char *errmsg, int verbose) |
Variables | |
| int | SVG_INLINE |
Create SVG plot titles for TPC SVG C library.
Definition in file svg_title.c.
| int svg_create_main_title | ( | FILE * | fp, |
| const char * | main_title_text, | ||
| const char * | sub_title_text, | ||
| struct svg_viewports * | vp, | ||
| char * | errmsg, | ||
| int | verbose ) |
Create SVG plot main title.
| fp | SVG graphics file pointer. |
| main_title_text | Text for main title. |
| sub_title_text | Text for sub title. |
| vp | Struct containing the viewport sizes. |
| errmsg | Char pointer to string (at least of length 128) where possible error description is copied; set to NULL if not necessary. |
| verbose | Verbose level; if zero, then nothing is printed to stderr or stdout. |
Definition at line 17 of file svg_title.c.
Referenced by plot_fit_svg(), plot_fitrange_svg(), and plot_svg().
| int svg_create_xaxis_title | ( | FILE * | fp, |
| const char * | title_text, | ||
| struct svg_viewports * | vp, | ||
| char * | errmsg, | ||
| int | verbose ) |
Create SVG plot x axis title.
| fp | SVG graphics file pointer. |
| title_text | Text for x axis title. |
| vp | Struct containing the viewport sizes. |
| errmsg | Char pointer to string (at least of length 128) where possible error description is copied; set to NULL if not necessary. |
| verbose | Verbose level; if zero, then nothing is printed to stderr or stdout. |
Definition at line 126 of file svg_title.c.
Referenced by plot_fit_svg(), plot_fitrange_svg(), and plot_svg().
| int svg_create_yaxis_title | ( | FILE * | fp, |
| const char * | title_text, | ||
| struct svg_viewports * | vp, | ||
| char * | errmsg, | ||
| int | verbose ) |
Create SVG plot y axis title.
| fp | SVG graphics file pointer. |
| title_text | Text for y axis title. |
| vp | Struct containing the viewport sizes. |
| errmsg | Char pointer to string (at least of length 128) where possible error description is copied; set to NULL if not necessary. |
| verbose | Verbose level; if zero, then nothing is printed to stderr or stdout. |
Definition at line 197 of file svg_title.c.
Referenced by plot_fit_svg(), plot_fitrange_svg(), and plot_svg().
|
extern |
Write inline SVG (1) or separate SVG file (0)
Definition at line 12 of file svg_file.c.