svgpathtoolss/svgpathtools/__init__.py

23 lines
1.1 KiB
Python
Raw Normal View History

2016-07-06 04:51:11 +00:00
from .bezier import (bezier_point, bezier2polynomial,
polynomial2bezier, split_bezier,
bezier_bounding_box, bezier_intersections,
bezier_by_line_intersections)
from .path import (Path, Line, QuadraticBezier, CubicBezier, Arc,
bezier_segment, is_bezier_segment, is_path_segment,
is_bezier_path, concatpaths, poly2bez, bpoints2bezier,
closest_point_in_path, farthest_point_in_path,
path_encloses_pt, bbox2path, polygon, polyline)
2016-07-06 04:51:11 +00:00
from .parser import parse_path
2018-10-19 04:28:34 +00:00
from .paths2svg import disvg, wsvg, paths2Drawing
2016-07-24 00:15:22 +00:00
from .polytools import polyroots, polyroots01, rational_limit, real, imag
2016-07-06 04:51:11 +00:00
from .misctools import hex2rgb, rgb2hex
from .smoothing import smoothed_path, smoothed_joint, is_differentiable, kinks
2020-06-24 05:18:26 +00:00
from .document import (Document, CONVERSIONS, CONVERT_ONLY_PATHS,
SVG_GROUP_TAG, SVG_NAMESPACE)
from .svg_io_sax import SaxDocument
2016-07-06 04:51:11 +00:00
try:
from .svg_to_paths import svg2paths, svg2paths2
2016-07-06 04:51:11 +00:00
except ImportError:
pass