diff --git a/svg.cpp b/svg.cpp index 7b1ccd0..2fcfa13 100644 --- a/svg.cpp +++ b/svg.cpp @@ -5,6 +5,14 @@ using namespace std; +bool +check_width(double width) { + if (width >= 3 && width <= 30) + return true; + else + return false; +} + void svg_text(double left, double baseline, string text) { cout << "