The Birdfont Source Code


All Repositories / birdfont.git / blobdiff – RSS feed

Move the SVG parser and the SVG rendering code to libsvgbird

Changes made to libbirdfont/EmbeddedSvg.vala

Contributing

Send patches or pull requests to johan.mattsson.m@gmail.com.
Clone this repository: git clone https://github.com/johanmattssonm/birdfont.git
--- libbirdfont/EmbeddedSvg.vala +++ libbirdfont/EmbeddedSvg.vala @@ -15,10 +15,11 @@ using B; using Math; using Cairo; + using SvgBird; namespace BirdFont { - public class EmbeddedSvg : Object { + public class EmbeddedSvg : SvgBird.Object { public string svg_data = ""; public SvgDrawing drawing = new SvgDrawing (); @@ -86,7 +87,7 @@ cr.restore (); } - public override Object copy () { + public override SvgBird.Object copy () { EmbeddedSvg svg = new EmbeddedSvg (drawing); svg.svg_data = svg_data; return svg;