The Birdfont Source Code


All Repositories / birdfont.git / commit – RSS feed

Remove old code

These changes was commited to the Birdfont repository Fri, 11 Dec 2015 21:47:03 +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>
Fri, 11 Dec 2015 21:47:03 +0000 (22:47 +0100)
committer Johan Mattsson <johan.mattsson.m@gmail.com>
Fri, 11 Dec 2015 21:47:03 +0000 (22:47 +0100)
commit 5a6958bef287347c3dea3bfa3c47604906e787c4
tree 38e20f33565e6cfabb356fea49930b646f8d4cd5
parent 8a035060b0b59af6c620a0779ac88e8d88883d96
Remove old code

libbirdfont/EditPoint.vala
--- a/libbirdfont/EditPoint.vala +++ b/libbirdfont/EditPoint.vala @@ -1,5 +1,5 @@ /* - Copyright (C) 2012, 2013, 2014 Johan Mattsson + Copyright (C) 2012 2013 2014 2015 Johan Mattsson This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as @@ -504,64 +504,8 @@ s.append (@"Flags $(flags)\n"); return s.str; - } - - public double max_x () { - double mx = x; - - if (get_right_handle ().x > mx) { - mx = get_right_handle ().x; - } - - if (get_left_handle ().x > mx) { - mx = get_left_handle ().x; - } - - return mx; - } - - public double min_x () { - double mx = x; - - if (get_right_handle ().x < mx) { - mx = get_right_handle ().x; - } - - if (get_left_handle ().x < mx) { - mx = get_left_handle ().x; - } - - return mx; - } - - public double max_y () { - double my = y; - - if (get_right_handle ().y > my) { - my = get_right_handle ().y; - } - - if (get_left_handle ().y > my) { - my = get_left_handle ().y; - } - - return my; - } - - public double min_y () { - double my = y; - - if (get_right_handle ().y < my) { - my = get_right_handle ().y; - } - - if (get_left_handle ().y < my) { - my = get_left_handle ().y; - } - - return my; } } }