The Birdfont Source Code


All Repositories / birdfont.git / commitdiff – RSS feed

Move to start point in ellipses

These changes was commited to the Birdfont repository Wed, 08 Jun 2016 21:05:12 +0000.

Contributing

Send patches or pull requests to johan.mattsson.m@gmail.com.
Clone this repository: git clone https://github.com/johanmattssonm/birdfont.git
[Wed, 08 Jun 2016 21:05:12 +0000]

Updated Files

libbirdfont/Glyph.vala
libsvgbird/Circle.vala
libsvgbird/Ellipse.vala
--- a/libbirdfont/Glyph.vala +++ b/libbirdfont/Glyph.vala @@ -1826,8 +1826,6 @@ if (clear_redo) { redo_list.clear (); } - - set_glyph_data (g); // FIXME: DELETE } public void print_layers (Layer layer, int indent = 0) {
--- a/libsvgbird/Circle.vala +++ b/libsvgbird/Circle.vala @@ -30,6 +30,7 @@ } public override void draw_outline (Context cr) { + cr.move_to (cx + r, cy); cr.arc (cx, cy, r, 0, 2 * Math.PI); }
--- a/libsvgbird/Ellipse.vala +++ b/libsvgbird/Ellipse.vala @@ -35,6 +35,7 @@ cr.save (); cr.translate (cx, cy); cr.scale (rx, ry); + cr.move_to (1, 0); cr.arc (0, 0, 1, 0, 2 * PI); cr.restore (); }