(if (< width 0)
(- width)
0))
+ ;; X value farthest from baseline on outside of curve
+ (outer-x (+ base-x width))
+ ;; X extent of bezier sandwich centerline curves
+ (x-extent (ordered-cons base-x outer-x))
(bottom-y (interval-start y-extent))
(top-y (interval-end y-extent))
(if (< width 0)
half-thickness
(- half-thickness))))
- (x-extent (ordered-cons base-x outer-control-x))
;; Vertical distance between a control point
;; and the end point it connects to.