The Birdfont Source Code


All Repositories / birdfont.git / commit – 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
author Johan Mattsson <johan.mattsson.m@gmail.com>
Wed, 08 Jun 2016 21:05:12 +0000 (23:05 +0200)
committer Johan Mattsson <johan.mattsson.m@gmail.com>
Wed, 08 Jun 2016 21:05:12 +0000 (23:05 +0200)
commit fc0330aee2ee190add456c757f1398c2fbccd97e
tree 94c582be5a22dda56c6b54a4e7383b365e03202f
parent d19de3941396059c5601355b916507a2fdfc0a75
Move to start point in ellipses

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 (); }