Update doxygen

This commit is contained in:
Mario Hüttel 2018-12-10 19:16:07 +01:00
parent eaf692e046
commit 2a860ab949
3 changed files with 20 additions and 0 deletions

1
.gitignore vendored
View File

@ -72,4 +72,5 @@ Thumbs.db
*.exe *.exe
*.user *.user
*.user*
*.buildconfig *.buildconfig

View File

@ -178,6 +178,15 @@ 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

@ -248,6 +248,16 @@ 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)
{ {