[dylan-lang/opendylan] 4cdce5: [gtk-duim] Fix calls to cairo-arc().

GitHub <[email protected]> Tue, 22 Sep 2015 08:34:55 -0700
Newsgroups gmane.comp.lang.dylan.gwydion.cvs
Message-ID <5601751f1a40_6fb03fe8e98612a0925c5@hookshot-fe2-cp1-prd.iad.github.net.mail>
  Branch: refs/heads/master
  Home:   https://github.com/dylan-lang/opendylan
  Commit: 4cdce587b9213ea162ee4b28daddf0547c7b96bb
      https://github.com/dylan-lang/opendylan/commit/4cdce587b9213ea162ee4b28daddf0547c7b96bb
  Author: Bruce Mitchener <[email protected]>
  Date:   2015-09-22 (Tue, 22 Sep 2015)

  Changed paths:
    M sources/duim/gtk/gtk-draw.dylan

  Log Message:
  -----------
  [gtk-duim] Fix calls to cairo-arc().

cairo-arc takes the angles as radians, so make sure that's what
we're calculating rather than in 64ths of a degree.

* sources/duim/gtk/gtk-draw.dylan
  ($double-2pi): New local constant.
  (draw-point, draw-points,
   draw-ellipse): Calculate and pass angles in radians.

_______________________________________________
chatter mailing list
[email protected]
https://lists.opendylan.org/mailman/listinfo/chatter