The Birdfont Source Code


All Repositories / birdfont.git / blobdiff – RSS feed

Store boundaries in SVG coordinates

Changes made to libbirdfont/EmbeddedSvg.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/EmbeddedSvg.vala +++ libbirdfont/EmbeddedSvg.vala @@ -26,7 +26,7 @@ public double x { get; set; } public double y { get; set; } - public override double xmin { + public override double left { get { return x; } @@ -35,7 +35,7 @@ } } - public override double xmax { + public override double right { get { return x + drawing.width; } @@ -44,8 +44,7 @@ } } - - public override double ymin { + public override double top { get { return y - drawing.height; } @@ -54,7 +53,7 @@ } } - public override double ymax { + public override double bottom { get { return y; }