|
|
|
@ -26,7 +26,7 @@ svg_text(double left, double baseline, string text) {
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
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 << "'/>";
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|