cairo ouput svg modifications. Still doesn't work. Only for integer coordinates (scaling 1) it seems to work

This commit is contained in:
Mario Hüttel 2018-08-01 12:36:31 +02:00
parent 54d5148c9d
commit 299d65aa6c
2 changed files with 2 additions and 2 deletions

View File

@ -258,7 +258,7 @@ void cairo_render_cell_to_vector_file(struct gds_cell *cell, GList *layer_infos,
}
if (svg_file) {
svg_surface = cairo_svg_surface_create(svg_file, 200, 200);
svg_surface = cairo_svg_surface_create(svg_file, xmax-xmin, ymax-ymin);
svg_cr = cairo_create(svg_surface);
}

View File

@ -48,7 +48,7 @@
</child>
<child>
<object class="GtkRadioButton" id="cairo-svg-radio">
<property name="label" translatable="yes">Render SVG using Cairographics</property>
<property name="label" translatable="yes">Render SVG using Cairographics (too buggy at the moment)</property>
<property name="use_action_appearance">True</property>
<property name="visible">True</property>
<property name="sensitive">False</property>