A toolkit for working with phylogenetic data.
v0.19.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
utils/formats/svg/helper.hpp File Reference
#include "genesis/utils/math/common.hpp"
#include <algorithm>
#include <ostream>
#include <sstream>
#include <string>
#include <vector>

Go to the source code of this file.

Classes

struct  SvgBox
 
struct  SvgDrawingOptions
 
struct  SvgMargin
 
struct  SvgPoint
 
struct  SvgSize
 

Namespaces

 genesis
 Container namespace for all symbols of genesis in order to keep them separate when used as a library.
 
 genesis::utils
 

Functions

std::string svg_arc (double center_x, double center_y, double radius, double start_angle, double end_angle)
 Create an arc to use in an SvgPath. More...
 
template<typename T >
std::string svg_attribute (std::string const &name, T const &value, std::string const &unit="")
 
std::string svg_comment (std::string const &content)