izzi
SVG SUBSET C++ API
Loading...
Searching...
No Matches
a60-svg-radial-arc.h File Reference

Go to the source code of this file.

Namespaces

namespace  svg
 

Typedefs

using svg::id_value_umap = std::unordered_map<string, value_type>
 Hash multimap of unique value to (perhaps multiple) unique ids. Use this form for sorting by value.
 
using svg::value_id_ummap = std::unordered_multimap<value_type, string>
 
using svg::value_set = std::set<value_type>
 
using svg::value_type = long long
 Hash map of unique id to (not necessarily) unique value. Use this for sorting by id.
 

Functions

void svg::radiate_id_at_value (svg_element &obj, const point_2t origin, const typography &typo, string pname, ssize_type pvalue, ssize_type pmax, double r, bool rotatep)
 
void svg::radiate_ids_at_uvalue (svg_element &obj, const point_2t origin, const typography &typo, const strings &ids, ssize_type pvalue, ssize_type pmax, double r, double rspace)
 Map ids with one value to a point cluster radiating out from a center.
 
svg_element svg::radiate_ids_per_uvalue_on_arc (svg_element &obj, const point_2t origin, const typography &typo, const id_value_umap &ivm, const ssize_type value_max, const int radius, const int rspace)
 
svg_element svg::radiate_ids_per_value_on_arc (svg_element &obj, const point_2t origin, const typography &typo, const id_value_umap &ivm, const ssize_type value_max, const int radius, bool rotatep)
 
id_value_umap svg::remove_matches_id_value_map (id_value_umap &ivm, const strings &matches)
 Remove all from map that match the input (matches) strings. Return found match entries.
 
value_id_ummap svg::to_value_id_mmap (const id_value_umap &ivm, value_set &uniquev)
 Convert id_value_umap to value_id_mmap + set of unique values.