GDS-Render v1.2.1
cairo-renderer.h
Go to the documentation of this file.
1/*
2 * GDSII-Converter
3 * Copyright (C) 2018 Mario Hüttel <mario.huettel@gmx.net>
4 *
5 * This file is part of GDSII-Converter.
6 *
7 * GDSII-Converter is free software: you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License version 2 as
9 * published by the Free Software Foundation.
10 *
11 * GDSII-Converter is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
15 *
16 * You should have received a copy of the GNU General Public License
17 * along with GDSII-Converter. If not, see <http://www.gnu.org/licenses/>.
18 */
24#ifndef _CAIRO_OUTPUT_H_
25#define _CAIRO_OUTPUT_H_
26
29#include <glib-object.h>
30
31G_BEGIN_DECLS
32
37G_DECLARE_FINAL_TYPE(CairoRenderer, cairo_renderer, GDS_RENDER, CAIRO_RENDERER, GdsOutputRenderer)
38
39#define GDS_RENDER_TYPE_CAIRO_RENDERER (cairo_renderer_get_type())
40
41#define MAX_LAYERS (5000)
47CairoRenderer *cairo_renderer_new_svg();
48
49
54CairoRenderer *cairo_renderer_new_pdf();
55
58G_END_DECLS
59
60#endif /* _CAIRO_OUTPUT_H_ */
Header for output renderer base class.
Defines types and macros used by the GDS-Parser.
CairoRenderer * cairo_renderer_new_pdf()
Create new CairoRenderer for PDF output.
CairoRenderer * cairo_renderer_new_svg()
Create new CairoRenderer for SVG output.
G_BEGIN_DECLS G_DECLARE_FINAL_TYPE(GdsRenderGui, gds_render_gui, RENDERER, GUI, GObject)