code: персональный вариант 2.0
Этот коммит содержится в:
@@ -26,7 +26,7 @@ svg_text(double left, double baseline, string text) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
svg_rect(double x, double y, double width, double height, string stroke, string fill){
|
svg_rect(double x, double y, double width, double height, string stroke = "midnightblue", string fill = "deeppink"){
|
||||||
cout << "<rect x='" << x << "' y='" << y << "' width='" << width << "' height='" << height << "' stroke='" << stroke << "' fill='" << fill << "'/>";
|
cout << "<rect x='" << x << "' y='" << y << "' width='" << width << "' height='" << height << "' stroke='" << stroke << "' fill='" << fill << "'/>";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Ссылка в новой задаче
Block a user