GDS-Render v1.2.1
Command Line Interface

Data Structures

struct  external_renderer_params
 External renderer paramameters to command line renderer. More...
 

Functions

static int string_array_count (char **string_array)
 
static int create_renderers (char **renderers, char **output_file_names, gboolean tex_layers, gboolean tex_standalone, const struct external_renderer_params *ext_params, GList **renderer_list, LayerSettings *layer_settings)
 
static struct gds_cellfind_gds_cell_in_lib (struct gds_library *lib, const char *cell_name)
 
int command_line_convert_gds (const char *gds_name, const char *cell_name, char **renderers, char **output_file_names, const char *layer_file, struct external_renderer_params *ext_param, gboolean tex_standalone, gboolean tex_layers, double scale)
 Convert GDS according to command line parameters. More...
 

Detailed Description

Function Documentation

◆ command_line_convert_gds()

int command_line_convert_gds ( const char *  gds_name,
const char *  cell_name,
char **  renderers,
char **  output_file_names,
const char *  layer_file,
struct external_renderer_params ext_param,
gboolean  tex_standalone,
gboolean  tex_layers,
double  scale 
)

Convert GDS according to command line parameters.

Parameters
gds_namePath to GDS File
cell_nameCell name
renderersRenderer ids
output_file_namesOutput file names
layer_fileLayer mapping file
ext_paramSettings for external library renderer
tex_standaloneStandalone TeX
tex_layersTeX OCR layers
scaleScale value
Returns
Error code, 0 if successful

Definition at line 138 of file command-line.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ create_renderers()

static int create_renderers ( char **  renderers,
char **  output_file_names,
gboolean  tex_layers,
gboolean  tex_standalone,
const struct external_renderer_params ext_params,
GList **  renderer_list,
LayerSettings *  layer_settings 
)
static

Definition at line 55 of file command-line.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ find_gds_cell_in_lib()

static struct gds_cell * find_gds_cell_in_lib ( struct gds_library lib,
const char *  cell_name 
)
static

Definition at line 122 of file command-line.c.

Here is the caller graph for this function:

◆ string_array_count()

static int string_array_count ( char **  string_array)
static

Definition at line 42 of file command-line.c.

Here is the caller graph for this function: