izzi
SVG SUBSET C++ API
|
Go to the source code of this file.
Classes | |
struct | svg::collection_rstate |
Collection derived states. More... | |
struct | svg::color_rstate |
Render settings for collections. More... | |
struct | svg::id_rstate |
Named render state. Datum to take id string and tie it to visual representation. More... | |
struct | svg::render_state_base |
Settings for glyph, graphic, chart, and collection object render. More... | |
Namespaces | |
namespace | svg |
Typedefs | |
using | svg::id_rstate_umap = std::unordered_map<string, id_rstate> |
Enumerations | |
enum class | svg::scale { svg::r5s , svg::r4s , svg::r3s , svg::r2s , svg::r1s , svg::xxsmall , svg::xsmall , svg::small , svg::medium , svg::baseline , svg::large , svg::xlarge , svg::xxlarge , svg::e1s , svg::e2s , svg::e3s , svg::e4s , svg::e5s } |
enum class | svg::select { svg::none = 1u << 0 , svg::cartography = 1u << 1 , svg::image = 1u << 2 , svg::raster = 1u << 3 , svg::vector = 1u << 4 , svg::blur = 1u << 5 , svg::echo = 1u << 6 , svg::text = 1u << 7 , svg::title = 1u << 8 , svg::legend = 1u << 9 , svg::axis = 1u << 10 , svg::grid = 1u << 11 , svg::linex = 1u << 12 , svg::liney = 1u << 13 , svg::ticks = 1u << 14 , svg::tooltip = 1u << 15 , svg::telecom = 1u << 16 , svg::tor = 1u << 17 , svg::satellite = 1u << 18 , svg::cable = 1u << 19 , svg::glyph = 1u << 20 , svg::svg = 1u << 21 , svg::alt = 1u << 22 , svg::background = 1u << 23 , svg::top = 1u << 24 , svg::bottom = 1u << 25 , svg::odd = 1u << 26 , svg::even = 1u << 27 , svg::all = 1u << 29 , svg::_S_end = 1u << 30 } |
Functions | |
void | svg::add_to_id_rstate_cache (const string id, const style styl, const select vis) |
Add value to cache with base style of styl, colors klr, visibility vis. | |
void | svg::clear_select (select &a, const select &b) |
void | svg::flip_select (select &a, const select &b) |
const id_rstate | svg::get_id_rstate (const string id) |
Given identifier/name/id, get corresponding id_rstate from cache. | |
id_rstate_umap & | svg::get_id_rstate_cache () |
color_rstate & | svg::get_render_state () |
Global state. | |
constexpr select | svg::operator& (select __a, select __b) |
const select & | svg::operator&= (select &__a, select __b) |
constexpr select | svg::operator^ (select __a, select __b) |
const select & | svg::operator^= (select &__a, select __b) |
constexpr select | svg::operator| (select __a, select __b) |
const select & | svg::operator|= (select &__a, select __b) |
constexpr select | svg::operator~ (select __a) |
void | svg::set_select (select &a, const select &b) |
Forwarding functions. | |
string | svg::to_string (const scale e) |
const id_rstate | svg::traverse_states (const strings &values) |
Roll through render states given in values squentially, index starts with zero. | |