The Birdfont Source Code


All Repositories / birdfont.git / commitdiff – RSS feed

Resize stroked paths

These changes was commited to the Birdfont repository Thu, 30 Jun 2016 11:02:42 +0000.

Contributing

Send patches or pull requests to johan.mattsson.m@gmail.com.
Clone this repository: git clone https://github.com/johanmattssonm/birdfont.git
[Thu, 30 Jun 2016 11:02:42 +0000]

Updated Files

libbirdfont/ResizeTool.vala
--- a/libbirdfont/ResizeTool.vala +++ b/libbirdfont/ResizeTool.vala @@ -278,6 +278,7 @@ path.transform (matrix); path.rotation += angle; rotation = path.rotation; + path.reset_stroke (); } } @@ -405,6 +406,7 @@ transform.resize (ratio_x, ratio_y, x, y); Matrix matrix = transform.get_matrix (); path.transform (matrix); + path.reset_stroke (); } } @@ -554,6 +556,7 @@ Path p = ((PathObject) path).get_path (); SvgParser.apply_matrix (p, 1, 0, s, 1, 0, 0); p.skew = skew; + p.reset_stroke (); path.update_boundaries_for_object (); } }