Commit Graph

11 Commits

Author SHA1 Message Date
Matthew Einhorn 4f24ad57a1 replace all unschedule with event canceling. 2016-06-21 21:23:15 -04:00
Meet Udeshi 0be548fed7 Fallback to simpler algorithm for chaining using itertools
Ignores the case when self._points is a mix of list/tuple/float
Only works in cases where self._points is a list of iterables
2016-01-06 01:27:38 +05:30
Meet Udeshi 171fd32d0a Make PEP 8 friendly 2015-12-25 13:13:01 +05:30
Meet Udeshi 1baeeebb99 Allow Line.points definition to be a mix of lists/tuples
Fix for issue #3481
Line.points can be defined as list of lists, tuples and
coordinates (float values)
setter method modified to check each element of the argument
list and append it to self._points accordingly
Line example file /examples/canvas/line.py updated with the new
possible way of defining points
2015-12-23 23:23:25 +05:30
Charles Merriam 02c30a4e9f Fix examples/ PEP8 errors. Mostly white space.
This fixes a large number of white space errors in the examples/
directory.
When I upgraded Makefile to check the 'make style' on the examples
directory,
the output was hundreds of lines long.   Currently, the output is
managable
and consists solely of "lines too long", as kv lines cannot be split.
This
commit touches an obscene number of files in trivial ways.
2015-02-01 17:09:20 -08:00
Charles Merriam 2639b1731b examples/canvas/lines.py Add docstring. 2015-02-01 03:57:16 -08:00
Mathieu Virbel 3070a93b89 WIP smooth lines 2014-05-27 18:31:26 +02:00
Mathieu Virbel bae94bc3db first 2to3 pass + manual fix for metaclass, UserDict and OrderedDict 2013-03-18 17:39:56 -06:00
Mathieu Virbel 8c642388af line: add close property, use it for both legacy or extended mode.
+ don't draw cap if line is closed
+ optimize cos/sin calculation
+ fix crash due to invalid calculation if some round joint are avoided
2012-09-24 15:41:13 +02:00
Mathieu Virbel 9f4a649a3e enhance line example with 2 lines and sin/cos animation 2012-09-22 01:02:19 +02:00
Mathieu Virbel a217c363bc line: add an example 2012-09-22 00:08:49 +02:00