- y_top = 0.5 * casing_width
- y_bottom = options["height"] - (0.5 * casing_width)
- concat tag.g(tag.line(:x2 => "100%", :y1 => y_top, :y2 => y_top) +
- tag.line(:x2 => "100%", :y1 => y_bottom, :y2 => y_bottom),
- **stroke_attrs(options, "casing"))
+ y_top = format("%g", 0.5 * casing_width)
+ y_bottom = format("%g", options["height"] - (0.5 * casing_width))
+ concat tag.path(:d => "M0,#{y_top} #{horizontal} M0,#{y_bottom} #{horizontal}", **stroke_attrs(options, "casing"))