The Birdfont Source Code


All Repositories / birdfont.git / blobdiff – RSS feed

Merge branch 'master' of github.com:johanmattssonm/birdfont

Changes made to libbirdfont/EditPointHandle.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/EditPointHandle.vala +++ libbirdfont/EditPointHandle.vala @@ -77,7 +77,41 @@ } } } - + + public double independent_x { + get { + double r = px (); + + if (unlikely (r <= -100000)) { + print_position (); + move_to (0, 0); + } + + return r; + } + + set { + move_to_coordinate_internal (value, py ()); + } + } + + public double independent_y { + get { + double r = py (); + + if (unlikely (r <= -100000)) { + print_position (); + move_to (0, 0); + } + + return r; + } + + set { + move_to_coordinate_internal (px (), value); + } + } + public EditPointHandle.empty() { this.parent = none; this.angle = 0;