remove redundant is_bezier_segment and is_path_segment defs

hashable-paths
Andrew Port 2021-09-17 22:35:27 -07:00
parent a67de75137
commit 3d22a7cf52
1 changed files with 0 additions and 10 deletions

View File

@ -2351,16 +2351,6 @@ class Arc(object):
current_t = next_t
def is_bezier_segment(x):
return (isinstance(x, Line) or
isinstance(x, QuadraticBezier) or
isinstance(x, CubicBezier))
def is_path_segment(x):
return is_bezier_segment(x) or isinstance(x, Arc)
class Path(MutableSequence):
"""A Path is a sequence of path segments"""