Contents Up << >>
segment
Segments are complex. They are the portion of an circle between a
chord and the perimeter of the circle. dy sets the
radius of the circle. Segments start with the center of the chord
located at (0,0) and the chord horizontal. The half-width
of the chord is set by dx. The portion of an circle
lying below the chord is then added. The imaginary center of this
circle is located at (0,-dy). The segment is then rotated
by r and then translated by (cx,cy).