file
aux_svg.cppimplements drawing commands to generate svg-files
Functions
- auto size_t2Coords(std::pair<size_t, size_t>& input) -> Coords
- convert coordinate of type
size_t
to type Coord. - auto svg_arrowhead(const Coords& x, const Degrees& angle, const std::string& colour, const Length& width) -> std::string
- svg arrowhead
- auto svg_bezier(const Coords& x, const Coords& y, const Coords& z, const Coords& w, const std::string& colour, const Length& width, const std::string& options) -> std::string
- svg bezier curve
- auto svg_circle(const Coords& x, const Length& r, const std::string& linecolour, const std::string& fillcolour, const Length& width) -> std::string
- svg circle
- auto svg_line(const Coords& x, const Coords& y, const std::string& colour, const Length& width) -> std::string
- svg line
- auto svg_mask(const std::string& inner, const std::string& mask_id) -> std::string
- svg mask for under-strands of crossings
- auto svg_text(const Coords& x, const std::string& text, const std::string& colour, const Length& pixel) -> std::string
- svg text