#include <stdio.h>#include <stdlib.h>#include <math.h>#include <string.h>#include <time.h>#include "libtpcsvg.h"Go to the source code of this file.
Functions | |
| int | svg_define_viewports (int main_viewport_width, int main_viewport_height, int is_main_title, int is_yaxis_title, int is_xaxis_title, int is_label_area, struct svg_viewports *vp) |
Variables | |
| int | SVG_INLINE |
| int | SVG_TEST |
| int svg_define_viewports | ( | int | main_viewport_width, |
| int | main_viewport_height, | ||
| int | is_main_title, | ||
| int | is_yaxis_title, | ||
| int | is_xaxis_title, | ||
| int | is_label_area, | ||
| struct svg_viewports * | vp | ||
| ) |
Define the viewport positions for further use. All measures are in pixels.
| main_viewport_width | Main viewport width (zero if default is used) |
| main_viewport_height | Main viewport height (zero if default is used) |
| is_main_title | Is there main title? no=0, yes<>0 |
| is_yaxis_title | Is there y axis title? no=0, yes<>0 |
| is_xaxis_title | Is there x axis title? no=0, yes<>0 |
| is_label_area | Is there label area? no=0, yes<>0 |
| vp | Pointer to structure which will be filled with viewport positions and sizes |
Definition at line 53 of file svg_vport.c.
References svg_viewport_pos::chr_size, svg_viewports::coordinate_area_viewport, svg_viewport_pos::h, svg_viewport_pos::is, svg_viewports::label_area_viewport, svg_viewports::main_title_viewport, svg_viewports::main_viewport, svg_viewports::plot_area_viewport, SVG_TEST, SVG_VIEWPORT_HEIGHT, SVG_VIEWPORT_WIDTH, svg_coord::tick_label, svg_coord::tick_nr, svg_viewport_pos::w, svg_viewport_pos::x, svg_viewports::xaxis_title_viewport, svg_viewport_pos::y, svg_viewports::y, and svg_viewports::yaxis_title_viewport.
| int SVG_INLINE |
Definition at line 50 of file svg_file.c.
| int SVG_TEST |
Definition at line 51 of file svg_file.c.
1.8.0