izzi
SVG SUBSET C++ API
|
Enumerations | |
enum class | rrotation { cw , ccw } |
Radial rotation direction. More... | |
Functions | |
constexpr char | comma (',') |
constexpr char | hyphen ('-') |
constexpr char | newline ('\n') |
constexpr double | pi (3.14159265358979323846) |
constexpr char | quote ('"') |
constexpr char | space (' ') |
Formatting character constants. | |
constexpr char | tab ('\t') |
Variables | |
typography::anchor | a = typography::anchor::middle |
Useful typography constants. | |
constexpr area | a2_096_h = { 2245, 1587 } |
Area Constants in pixel units. Pixel constants are using 96 PPI unless otherwise noted. | |
constexpr area | a2_096_v = { 1587, 2245 } |
constexpr area | a2_mm_h = { 420, 594 } |
constexpr area | a4_096_h = { 1123, 794 } |
constexpr area | a4_096_v = { 794, 1123 } |
constexpr area | a4_mm_h = { 210, 297 } |
constexpr area | a5_096_h = { 794, 559 } |
constexpr area | a5_096_v = { 559, 794 } |
constexpr area | a5_mm_h = { 148, 210 } |
constexpr area | a6_096_h = { 559, 397 } |
constexpr area | a6_096_v = { 397, 559 } |
constexpr area | a6_mm_h = { 105, 148 } |
typography::align | al = typography::align::center |
const typography | apercu_typo = { aprcu, 12, b_style, a, al, b, w, p } |
const typography | apercumo_typo = { aprcumo, 12, b_style, a, al, b, w, p } |
const char * | aprcu = "Apercu" |
const char * | aprcumo = "Apercu Mono" |
typography::baseline | b = typography::baseline::none |
const style | b_style = { color::black, 1.0, color::white, 0.0, 0.5 } |
const char * | ccode = "Calling Code" |
const typography | ccode_typo = { ccode, 12, b_style, a, al, b, w, p } |
const typography | d_typo = shsans_typo |
const char * | hyperl = "Atkinson Hyperlegible" |
const typography | hyperl_typo = { hyperl, 12, b_style, a, al, b, w, p } |
constexpr area | instagram_4ks = { 2160, 2160 } |
constexpr area | instagram_s = { 1080, 1080 } |
constexpr area | instagram_v = { 1080, 1350 } |
constexpr area | letter_096_h = { 1056, 816 } |
constexpr area | letter_096_v = { 816, 1056 } |
constexpr area | letter_mm_h = { 216, 279 } |
Area Constants in millimeter units. | |
constexpr area | letterb_096_h = { 1056, 816 } |
constexpr area | letterb_096_v = { 816, 1056 } |
Letter bleed (8.625 w x 11.25 h) | |
const char * | mexcellent = "Mexcellent" |
const typography | mxcllnt_typo = { mexcellent, 12, b_style, a, al, b, w, p } |
constexpr area | no_area = { 0, 0 } |
const style | no_style = { color::none, 0.0, color::none, 0.0, 0 } |
Style constants. | |
typography::property | p = typography::property::normal |
constexpr area | p17x22_096_v = { 1632, 2112 } |
constexpr area | p22x17_096_h = { 2112, 1632 } |
Engineering C, aka 22 x 17 letter quattro. | |
const style | r_style = { color::red, 1.0, color::red, 0.0, 0.5 } |
const char * | shsans = "Source Han Sans CN" |
const typography | shsans_typo = { shsans, 12, b_style, a, al, b, w, p } |
const char * | smono = "Source Code Pro" |
const typography | smono_typo = { smono, 12, b_style, a, al, b, w, p } |
constexpr area | square17b_096_h = { 1680, 1656 } |
constexpr area | square17b_096_v = { 1656, 1680 } |
Square 17 bleed 2 x (8.625 w x 8.75 h) for above at 2x. | |
constexpr area | square8_096 = { 768, 768 } |
Square 8 (8 w x 8 h) | |
constexpr area | square8bis_096 = { 816, 816 } |
Square 8bis (8.5 w x 8.5 h) | |
constexpr area | square8bisb_096_h = { 840, 826 } |
constexpr area | square8bisb_096_v = { 828, 840 } |
Square 8bis bleed (8.625 w x 8.75 h) (219 x 222 mm) | |
const char * | ssans = "Source Sans Pro" |
const typography | ssans_typo = { ssans, 12, b_style, a, al, b, w, p } |
const char * | sserif = "Source Serif Pro" |
const typography | sserif_typo = { sserif, 12, b_style, a, al, b, w, p } |
constexpr area | v1080p_h = { 1920, 1080 } |
constexpr area | v1080p_v = { 1080, 1920 } |
constexpr area | v4k_h = { 3840, 2160 } |
constexpr area | v4k_v = { 2160, 3840 } |
typography::weight | w = typography::weight::normal |
const style | w_style = { color::white, 1.0, color::black, 0.0, 0.5 } |
const style | wcagdg_style = { color::wcag_dgray, 1.0, color::wcag_dgray, 0.0, 0.5 } |
const style | wcagg_style = { color::wcag_gray, 1.0, color::wcag_gray, 0.0, 0.5 } |
const style | wcaglg_style = { color::wcag_lgray, 1.0, color::wcag_lgray, 0.0, 0.5 } |
const char * | zslab = "Zilla Slab" |
const typography | zslab_typo = { zslab, 12, b_style, a, al, b, w, p } |
SVG Constants
|
strong |
Radial rotation direction.
Enumerator | |
---|---|
cw | Clockwise. |
ccw | Counter-clockwise. |
Definition at line 34 of file a60-svg-radial-base.h.
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
Numeric constants. pi = double(22)/double(7); pi = 3.14159265358979323846
|
constexpr |
|
constexpr |
Formatting character constants.
|
constexpr |
typography::anchor svg::constants::a = typography::anchor::middle |
Useful typography constants.
Definition at line 97 of file a60-svg-constants.h.
|
constexpr |
Area Constants in pixel units. Pixel constants are using 96 PPI unless otherwise noted.
Definition at line 39 of file a60-svg-constants.h.
|
constexpr |
Definition at line 44 of file a60-svg-constants.h.
|
constexpr |
Definition at line 32 of file a60-svg-constants.h.
|
constexpr |
Definition at line 40 of file a60-svg-constants.h.
|
constexpr |
Definition at line 45 of file a60-svg-constants.h.
|
constexpr |
Definition at line 33 of file a60-svg-constants.h.
|
constexpr |
Definition at line 41 of file a60-svg-constants.h.
|
constexpr |
Definition at line 46 of file a60-svg-constants.h.
|
constexpr |
Definition at line 34 of file a60-svg-constants.h.
|
constexpr |
Definition at line 42 of file a60-svg-constants.h.
|
constexpr |
Definition at line 47 of file a60-svg-constants.h.
|
constexpr |
Definition at line 35 of file a60-svg-constants.h.
typography::align svg::constants::al = typography::align::center |
Definition at line 98 of file a60-svg-constants.h.
Definition at line 118 of file a60-svg-constants.h.
Definition at line 119 of file a60-svg-constants.h.
const char* svg::constants::aprcu = "Apercu" |
Definition at line 107 of file a60-svg-constants.h.
const char* svg::constants::aprcumo = "Apercu Mono" |
Definition at line 108 of file a60-svg-constants.h.
typography::baseline svg::constants::b = typography::baseline::none |
Definition at line 101 of file a60-svg-constants.h.
const style svg::constants::b_style = { color::black, 1.0, color::white, 0.0, 0.5 } |
Definition at line 87 of file a60-svg-constants.h.
const char* svg::constants::ccode = "Calling Code" |
Definition at line 109 of file a60-svg-constants.h.
Definition at line 120 of file a60-svg-constants.h.
const typography svg::constants::d_typo = shsans_typo |
Default typography.
NB: Using a global locale. So, filenames are in multiple languages, not just en_US.
Make sure that the font with the largest support for random characters is used, ie some variant of Source Sans, Source Han Sans XX, etc. Otherwise, blank spaces in rendered output are likely.
Definition at line 136 of file a60-svg-constants.h.
const char* svg::constants::hyperl = "Atkinson Hyperlegible" |
Definition at line 112 of file a60-svg-constants.h.
Definition at line 123 of file a60-svg-constants.h.
|
constexpr |
Definition at line 76 of file a60-svg-constants.h.
|
constexpr |
Definition at line 75 of file a60-svg-constants.h.
|
constexpr |
Definition at line 74 of file a60-svg-constants.h.
|
constexpr |
Definition at line 50 of file a60-svg-constants.h.
|
constexpr |
Definition at line 49 of file a60-svg-constants.h.
|
constexpr |
Area Constants in millimeter units.
Definition at line 30 of file a60-svg-constants.h.
|
constexpr |
Definition at line 54 of file a60-svg-constants.h.
|
constexpr |
Letter bleed (8.625 w x 11.25 h)
Definition at line 53 of file a60-svg-constants.h.
const char* svg::constants::mexcellent = "Mexcellent" |
Definition at line 111 of file a60-svg-constants.h.
const typography svg::constants::mxcllnt_typo = { mexcellent, 12, b_style, a, al, b, w, p } |
Definition at line 122 of file a60-svg-constants.h.
|
constexpr |
Area constants use [h, v] suffix as per
Definition at line 27 of file a60-svg-constants.h.
const style svg::constants::no_style = { color::none, 0.0, color::none, 0.0, 0 } |
Style constants.
Definition at line 86 of file a60-svg-constants.h.
typography::property svg::constants::p = typography::property::normal |
Definition at line 100 of file a60-svg-constants.h.
|
constexpr |
Definition at line 72 of file a60-svg-constants.h.
|
constexpr |
Engineering C, aka 22 x 17 letter quattro.
Definition at line 71 of file a60-svg-constants.h.
const style svg::constants::r_style = { color::red, 1.0, color::red, 0.0, 0.5 } |
Definition at line 90 of file a60-svg-constants.h.
const char* svg::constants::shsans = "Source Han Sans CN" |
Definition at line 106 of file a60-svg-constants.h.
Definition at line 117 of file a60-svg-constants.h.
const char* svg::constants::smono = "Source Code Pro" |
Definition at line 105 of file a60-svg-constants.h.
Definition at line 114 of file a60-svg-constants.h.
|
constexpr |
Definition at line 68 of file a60-svg-constants.h.
|
constexpr |
Square 17 bleed 2 x (8.625 w x 8.75 h) for above at 2x.
Definition at line 67 of file a60-svg-constants.h.
|
constexpr |
Square 8 (8 w x 8 h)
Definition at line 57 of file a60-svg-constants.h.
|
constexpr |
Square 8bis (8.5 w x 8.5 h)
Definition at line 60 of file a60-svg-constants.h.
|
constexpr |
Definition at line 64 of file a60-svg-constants.h.
|
constexpr |
Square 8bis bleed (8.625 w x 8.75 h) (219 x 222 mm)
Definition at line 63 of file a60-svg-constants.h.
const char* svg::constants::ssans = "Source Sans Pro" |
Definition at line 104 of file a60-svg-constants.h.
Definition at line 116 of file a60-svg-constants.h.
const char* svg::constants::sserif = "Source Serif Pro" |
Definition at line 103 of file a60-svg-constants.h.
Definition at line 115 of file a60-svg-constants.h.
|
constexpr |
Definition at line 78 of file a60-svg-constants.h.
|
constexpr |
Definition at line 79 of file a60-svg-constants.h.
|
constexpr |
Definition at line 81 of file a60-svg-constants.h.
|
constexpr |
Definition at line 82 of file a60-svg-constants.h.
typography::weight svg::constants::w = typography::weight::normal |
Definition at line 99 of file a60-svg-constants.h.
const style svg::constants::w_style = { color::white, 1.0, color::black, 0.0, 0.5 } |
Definition at line 88 of file a60-svg-constants.h.
const style svg::constants::wcagdg_style = { color::wcag_dgray, 1.0, color::wcag_dgray, 0.0, 0.5 } |
Definition at line 93 of file a60-svg-constants.h.
const style svg::constants::wcagg_style = { color::wcag_gray, 1.0, color::wcag_gray, 0.0, 0.5 } |
Definition at line 92 of file a60-svg-constants.h.
const style svg::constants::wcaglg_style = { color::wcag_lgray, 1.0, color::wcag_lgray, 0.0, 0.5 } |
Definition at line 91 of file a60-svg-constants.h.
const char* svg::constants::zslab = "Zilla Slab" |
Definition at line 110 of file a60-svg-constants.h.
Definition at line 121 of file a60-svg-constants.h.