The Birdfont Source Code


All Repositories / birdfont.git / commitdiff – RSS feed

Fix view matrix in layers

These changes was commited to the Birdfont repository Mon, 11 Jul 2016 12:52:41 +0000.

Contributing

Send patches or pull requests to johan.mattsson.m@gmail.com.
Clone this repository: git clone https://github.com/johanmattssonm/birdfont.git
[Mon, 11 Jul 2016 12:52:41 +0000]

Updated Files

libsvgbird/Layer.vala
--- a/libsvgbird/Layer.vala +++ b/libsvgbird/Layer.vala @@ -44,8 +44,7 @@ right = CANVAS_MIN; cr.save (); - apply_transform (cr); - + foreach (Object object in objects) { bool has_size = false; @@ -53,6 +52,7 @@ if (object is Layer) { Layer sublayer = (Layer) object; + sublayer.apply_transform (cr); object.view_matrix = cr.get_matrix (); has_size = sublayer.update_boundaries (cr); } else {