The Birdfont Source Code


All Repositories / birdfont.git / blobdiff – RSS feed

SVG boundaries for ellipses

Changes made to libbirdfont/Glyph.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/Glyph.vala +++ libbirdfont/Glyph.vala @@ -2459,7 +2459,10 @@ return g2; } - // FIXME: convert everything to the new SvgBird.Object code + public Gee.ArrayList<SvgBird.Object> get_active_objects () { + return active_paths; + } + public Gee.ArrayList<Path> get_active_paths () { Gee.ArrayList<Path> paths = new Gee.ArrayList<Path> (); @@ -2567,7 +2570,7 @@ px2 = CANVAS_MIN; py2 = CANVAS_MIN; - foreach (Path p in get_active_paths ()) { + foreach (SvgBird.Object p in get_active_objects ()) { if (px > p.xmin) { px = p.xmin; }