93 const string si = std::to_string(
static_cast<uint>(i));
100 auto m7 =
make_marker_x(
"x" + si +
"wcagg", {i, i}, {h, h}, h, k::wcaglg_style);
101 auto m8 =
make_marker_rect(
"r" + si +
"wcaglg", {i, i}, {h, h}, k::wcaglg_style);
102 auto m9 =
make_marker_rect(
"r" + si +
"wcagdg", {i, i}, {h, h}, k::wcagdg_style);
104 std::ostringstream oss;
105 oss << m1.
str() << m2.str() << m3.str() << m4.str()
106 << m5.str() << m6.str() << m7.str() << m8.str() << m9.str();
path_element make_path_center_mark(const point_2t &origin, const style styl, const int len, const int width)
Plus or x tilt mark as closed path that can be filled.
marker_element make_marker_element(const std::string id, const area<> ma, const point_2t mcp, const std::string raw)
Base function for generating SVG markers in a defs section.
path_element make_path_triangle(const point_2t origin, const style styl, const double r=4, const double angle=120, const bool selfclosingtagp=true)
Center a triangle at this point.
rect_element make_rect_centered(const point_2t origin, const style s, const area<> a, const string filterstr="")
Create rect_element centered at origin.