The Birdfont Source Code


All Repositories / birdfont.git / blobdiff – RSS feed

Use SVG transform, parse opacity and gradients

Changes made to libbirdfont/Svg/Rectangle.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/Svg/Rectangle.vala +++ libbirdfont/Svg/Rectangle.vala @@ -35,6 +35,8 @@ public override void draw (Context cr, Color? c = null) { cr.save (); + + apply_transform (cr); if (rx == 0 && ry == 0) { cr.rectangle (x, y, width, height);