kiva.arc_conversion module

kiva.arc_conversion.arc_to_tangent_points(start, p1, p2, radius)[source]

Given a starting point, two endpoints of a line segment, and a radius, calculate the tangent points for arc_to().

kiva.arc_conversion.two_point_arc_to_kiva_arc(p1, p2, theta)[source]

Converts an arc in two point and subtended angle format (startpoint, endpoint, theta (positive for ccw, negative for cw)) into kiva format (x, y, radius, start_angle, end_angle, cw)