Revert previous commit, fix typos

This commit is contained in:
Mario Hüttel 2018-12-10 19:23:54 +01:00
parent 2a860ab949
commit 8b1626c111
4 changed files with 2 additions and 21 deletions

View File

@ -178,15 +178,6 @@ static void render_cell(struct gds_cell *cell, struct cairo_layer *layers, doubl
} }
/**
* @brief Toplevel function of cairo output renderer
* @param cell Cell to render
* @param layer_infos Layer information
* @param pdf_file Destination PDF file
* @param svg_file Destination SVG file
* @param scale Image will be scaled by scale^-1
* @warning SVG output doesn't behave as expected
*/
void cairo_render_cell_to_vector_file(struct gds_cell *cell, GList *layer_infos, char *pdf_file, char *svg_file, double scale) void cairo_render_cell_to_vector_file(struct gds_cell *cell, GList *layer_infos, char *pdf_file, char *svg_file, double scale)
{ {
cairo_surface_t *pdf_surface, *svg_surface; cairo_surface_t *pdf_surface, *svg_surface;

View File

@ -35,7 +35,7 @@
/** /**
* @brief Render \p cell to a PDF file specified by \p pdf_file * @brief Render \p cell to a PDF file specified by \p pdf_file
* @param cell Toplevel cell to render * @param cell Toplevel cell to @ref Cairo-Renderer
* @param layer_infos List of layer information. Specifies color and layer stacking * @param layer_infos List of layer information. Specifies color and layer stacking
* @param pdf_file PDF output file. Set to NULL if no PDF file has to be generated * @param pdf_file PDF output file. Set to NULL if no PDF file has to be generated
* @param svg_file SVG output file. Set to NULL if no SVG file has to be generated * @param svg_file SVG output file. Set to NULL if no SVG file has to be generated

View File

@ -18,7 +18,7 @@ Application options:
The graphical user interface (GUI) can be used to open GDS Files, configure the layer rendering (colors, order, transparency etc.), and convert cells. The graphical user interface (GUI) can be used to open GDS Files, configure the layer rendering (colors, order, transparency etc.), and convert cells.
It is possible to export the layer configurations so theycan be used later on. Even in the @ref cmd It is possible to export the layer configurations so they can be used later on. Even in the @ref cmd
@image html gui.svg @image html gui.svg

View File

@ -248,16 +248,6 @@ static void render_cell(struct gds_cell *cell, GList *layer_infos, FILE *tex_fil
} }
/**
* @brief Renders \p cell with its subcells to TikZ code.
* @note Preferences \p create_pdf_layers and \p standalone_document can be changed in LaTeX code afterwards.
* @param cell Cell to render
* @param layer_infos Layer information
* @param tex_file Destination file
* @param scale Scaling factor. Image will be scaled by scale^-1
* @param create_pdf_layers Default value for pdf OCR layers
* @param standalone_document Default value for standalone document class
*/
void latex_render_cell_to_code(struct gds_cell *cell, GList *layer_infos, FILE *tex_file, double scale, void latex_render_cell_to_code(struct gds_cell *cell, GList *layer_infos, FILE *tex_file, double scale,
gboolean create_pdf_layers, gboolean standalone_document) gboolean create_pdf_layers, gboolean standalone_document)
{ {