cairo ouput svg modifications. Still doesn't work. Only for integer coordinates (scaling 1) it seems to work
This commit is contained in:
parent
54d5148c9d
commit
299d65aa6c
@ -258,7 +258,7 @@ void cairo_render_cell_to_vector_file(struct gds_cell *cell, GList *layer_infos,
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (svg_file) {
|
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);
|
svg_cr = cairo_create(svg_surface);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -48,7 +48,7 @@
|
|||||||
</child>
|
</child>
|
||||||
<child>
|
<child>
|
||||||
<object class="GtkRadioButton" id="cairo-svg-radio">
|
<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="use_action_appearance">True</property>
|
||||||
<property name="visible">True</property>
|
<property name="visible">True</property>
|
||||||
<property name="sensitive">False</property>
|
<property name="sensitive">False</property>
|
||||||
|
Loading…
Reference in New Issue
Block a user