A library for working with phylogenetic and population genetic data.
v0.32.0
utils/formats/svg/helper.cpp File Reference
#include "genesis/utils/formats/svg/helper.hpp"
#include "genesis/utils/formats/svg/attributes.hpp"
#include <algorithm>
#include <limits>
#include <ostream>

Go to the source code of this file.

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, bool wedge=false)
 Create an arc to use in an SvgPath. More...
 
SvgBox svg_bounding_box (std::vector< SvgPoint > const &points)
 Compute the bounding box of a set of points. More...
 
SvgBox svg_bounding_box (std::vector< SvgPoint > const &points, SvgTransform const &transform)
 Compute the bounding box of a set of points, including their transformation. More...