| 61 | } // namespace |
| 62 | |
| 63 | double lineWidthValue(LineWidth line_width) noexcept { |
| 64 | constexpr std::array<double, 4> kLineWidths = {1.0, 1.5, 2.0, 3.0}; |
| 65 | return 1.4 * kLineWidths[static_cast<std::size_t>(line_width)]; |
| 66 | } |
| 67 | |
| 68 | double dotWidthValue(LineWidth line_width) noexcept { |
| 69 | return (lineWidthValue(line_width) * 1.5) + 1.0; |
no outgoing calls