Родитель
5cd6030edb
Сommit
52a3ea05a1
@ -0,0 +1,23 @@
|
||||
#ifndef SVG_H_INCLUDED
|
||||
#define SVG_H_INCLUDED
|
||||
#include <iostream>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
// Ôóíêöèÿ çàãîëîâêà.
|
||||
|
||||
void svg_begin(double width, double height);
|
||||
|
||||
// Ôóíêöèÿ îêîí÷àíèÿ.
|
||||
|
||||
void svg_end();
|
||||
|
||||
// Ôóíêöèÿ âûâîäà ñòðîêè.
|
||||
|
||||
void svg_text(double left, double baseline, std::string text);
|
||||
|
||||
// Ôóíêöèÿ âûâîäà ïðÿìîóãîëüíèêà.
|
||||
|
||||
void svg_rect(double x, double y, double width, double height, std::string stroke = "black", std::string fill = "green");//Öâåòà çàäàíû ïî óìîë÷àíèþ.
|
||||
|
||||
#endif // SVG_H_INCLUDED
|
Загрузка…
Ссылка в новой задаче