#include "genesis/utils/io/base64.hpp"
#include "genesis/utils/math/common.hpp"
#include <algorithm>
#include <cmath>
#include <ostream>
#include <sstream>
#include <string>
#include <vector>
Go to the source code of this file.
|
| genesis |
| Container namespace for all symbols of genesis in order to keep them separate when used as a library.
|
|
| genesis::utils |
|
|
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...
|
|
template<typename T > |
std::string | svg_attribute (std::string const &name, T const &value, std::string const &unit="") |
|
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...
|
|
std::string | svg_comment (std::string const &content) |
|
std::string | svg_data_uri (std::string const &media_type, std::string const &content, bool encode_base64=false) |
|