From 88377289109b0aecdb34aa6065019703671d0dec Mon Sep 17 00:00:00 2001 From: "Ivan (BeloziorovIA)" Date: Mon, 5 May 2025 14:24:34 +0300 Subject: [PATCH] =?UTF-8?q?code:=20=D0=B4=D0=BE=D0=B1=D0=B0=D0=B2=D0=BB?= =?UTF-8?q?=D0=B5=D0=BD=D0=B8=D0=B5=20=D0=BF=D0=B0=D1=80=D0=B0=D0=BC=D0=B5?= =?UTF-8?q?=D1=82=D1=80=D0=BE=D0=B2=20=D0=BF=D0=BE=20=D1=83=D0=BC=D0=BE?= =?UTF-8?q?=D0=BB=D0=B0=D0=BD=D0=B8=D1=8E=20=D0=B4=D0=BB=D1=8F=20=D0=B3?= =?UTF-8?q?=D0=B8=D1=81=D1=82=D0=BE=D0=B3=D1=80=D0=B0=D0=BC=D0=BC=D1=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- svg.cpp | 4 ++-- svg.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/svg.cpp b/svg.cpp index f404978..8dd2c79 100644 --- a/svg.cpp +++ b/svg.cpp @@ -40,7 +40,7 @@ void show_histogram_svg(const std::vector& bins){ svg_end(); } -void svg_rect(double x, double y, double width, double height){ - std::cout << ""; +void svg_rect(double x, double y, double width, double height, std::string stroke, std::string fill){ + std::cout << ""; } diff --git a/svg.h b/svg.h index 5dc97d6..2340485 100644 --- a/svg.h +++ b/svg.h @@ -7,6 +7,6 @@ void svg_begin(double width, double height); void svg_end(); void show_histogram_svg(const std::vector& bins); void svg_text(double left, double baseline, std::string text); -void svg_rect(double x, double y, double width, double height); +void svg_rect(double x, double y, double width, double height, std::string stroke = "black", std::string fill = "black"); #endif // SVG_H_INCLUDED