|
izzi
SVG SUBSET C++ API
|
Enumerations | |
| enum class | rrotation { none , cw , ccw } |
| Radial rotation direction. More... | |
Functions | |
| constexpr char | space (' ') |
| Formatting character constants. | |
| constexpr char | quote ('"') |
| constexpr char | hyphen ('-') |
| constexpr char | comma (',') |
| constexpr char | tab ('\t') |
| constexpr char | newline ('\n') |
| constexpr double | pi (3.14159265358979323846) |
Variables | |
| constexpr area | no_area = { 0, 0 } |
| constexpr area | letter_mm_h = { 216, 279 } |
| Area Constants in millimeter units. | |
| constexpr area | a2_mm_h = { 420, 594 } |
| constexpr area | a4_mm_h = { 210, 297 } |
| constexpr area | a5_mm_h = { 148, 210 } |
| constexpr area | a6_mm_h = { 105, 148 } |
| constexpr area | a2_096_h = { 2245, 1587 } |
| Area Constants in pixel units. Pixel constants are using 96 PPI unless otherwise noted. | |
| constexpr area | a4_096_h = { 1123, 794 } |
| constexpr area | a5_096_h = { 794, 559 } |
| constexpr area | a6_096_h = { 559, 397 } |
| constexpr area | a2_096_v = { 1587, 2245 } |
| constexpr area | a4_096_v = { 794, 1123 } |
| constexpr area | a5_096_v = { 559, 794 } |
| constexpr area | a6_096_v = { 397, 559 } |
| constexpr area | letter_096_v = { 816, 1056 } |
| constexpr area | letter_096_h = { 1056, 816 } |
| constexpr area | letterb_096_v = { 816, 1056 } |
| Letter bleed (8.625 w x 11.25 h) | |
| constexpr area | letterb_096_h = { 1056, 816 } |
| 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_v = { 828, 840 } |
| Square 8bis bleed (8.625 w x 8.75 h) (219 x 222 mm) | |
| constexpr area | square8bisb_096_h = { 840, 826 } |
| 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 | square17b_096_h = { 1680, 1656 } |
| constexpr area | p22x17_096_h = { 2112, 1632 } |
| Engineering C, aka 22 x 17 letter quattro. | |
| constexpr area | p17x22_096_v = { 1632, 2112 } |
| constexpr area | instagram_v = { 1080, 1350 } |
| constexpr area | instagram_s = { 1080, 1080 } |
| constexpr area | instagram_4ks = { 2160, 2160 } |
| constexpr area | v1080p_h = { 1920, 1080 } |
| constexpr area | v1080p_v = { 1080, 1920 } |
| constexpr area | v4k_h = { 3840, 2160 } |
| constexpr area | v4k_v = { 2160, 3840 } |
| constexpr area | p44x30_h = { 4224, 2880 } |
| Fine Art max sheet, aka 44 x 30 (1.47:1 ~ 3:2) | |
| constexpr area | p30x44_v = { 2880, 4224 } |
| constexpr area | p44x22_h = { 4224, 2112 } |
| Fine Art roll, aka 44 x 22 (2:1) | |
| constexpr area | p22x44_v = { 2112, 4224 } |
| const style | no_style = { color::none, 0.0, color::none, 0.0, 0 } |
| Style constants. | |
| const style | b_style = { color::black, 1.0, color::white, 0.0, 0.5 } |
| const style | w_style = { color::white, 1.0, color::black, 0.0, 0.5 } |
| const style | r_style = { color::red, 1.0, color::red, 0.0, 0.5 } |
| const style | wcaglg_style = { color::wcag_lgray, 1.0, color::wcag_lgray, 0.0, 0.5 } |
| const style | wcagg_style = { color::wcag_gray, 1.0, color::wcag_gray, 0.0, 0.5 } |
| const style | wcagdg_style = { color::wcag_dgray, 1.0, color::wcag_dgray, 0.0, 0.5 } |
| typography::anchor | a = typography::anchor::middle |
| Useful typography constants. | |
| typography::align | al = typography::align::center |
| typography::weight | w = typography::weight::normal |
| typography::property | p = typography::property::normal |
| typography::baseline | b = typography::baseline::none |
| const char * | sserif = "Source Serif Pro" |
| const char * | ssans = "Source Sans Pro" |
| const char * | smono = "Source Code Pro" |
| const char * | shsans = "Source Han Sans CN" |
| const char * | aprcu = "Apercu" |
| const char * | aprcumo = "Apercu Mono" |
| const char * | ccode = "Calling Code" |
| const char * | zslab = "Zilla Slab" |
| const char * | mexcellent = "Mexcellent" |
| const char * | hyperl = "Atkinson Hyperlegible" |
| const typography | smono_typo = { smono, 12, b_style, a, al, b, w, p } |
| const typography | sserif_typo = { sserif, 12, b_style, a, al, b, w, p } |
| const typography | ssans_typo = { ssans, 12, b_style, a, al, b, w, p } |
| const typography | shsans_typo = { shsans, 12, b_style, a, al, b, w, p } |
| 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 typography | ccode_typo = { ccode, 12, b_style, a, al, b, w, p } |
| const typography | zslab_typo = { zslab, 12, b_style, a, al, b, w, p } |
| const typography | mxcllnt_typo = { mexcellent, 12, b_style, a, al, b, w, p } |
| const typography | hyperl_typo = { hyperl, 12, b_style, a, al, b, w, p } |
SVG Constants
|
strong |
Radial rotation direction.
| Enumerator | |
|---|---|
| none | None. |
| cw | Clockwise. |
| ccw | Counter-clockwise. |
Definition at line 134 of file a60-svg-constants.h.
|
constexpr |
Formatting character constants.
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
Numeric constants. pi = double(22)/double(7); pi = 3.14159265358979323846
|
constexpr |
Area constants use [h, v] suffix as per
Definition at line 27 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 32 of file a60-svg-constants.h.
|
constexpr |
Definition at line 33 of file a60-svg-constants.h.
|
constexpr |
Definition at line 34 of file a60-svg-constants.h.
|
constexpr |
Definition at line 35 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 40 of file a60-svg-constants.h.
|
constexpr |
Definition at line 41 of file a60-svg-constants.h.
|
constexpr |
Definition at line 42 of file a60-svg-constants.h.
|
constexpr |
Definition at line 44 of file a60-svg-constants.h.
|
constexpr |
Definition at line 45 of file a60-svg-constants.h.
|
constexpr |
Definition at line 46 of file a60-svg-constants.h.
|
constexpr |
Definition at line 47 of file a60-svg-constants.h.
|
constexpr |
Definition at line 49 of file a60-svg-constants.h.
|
constexpr |
Definition at line 50 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.
|
constexpr |
Definition at line 54 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 |
Square 8bis bleed (8.625 w x 8.75 h) (219 x 222 mm)
Definition at line 63 of file a60-svg-constants.h.
|
constexpr |
Definition at line 64 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 |
Definition at line 68 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.
|
constexpr |
Definition at line 72 of file a60-svg-constants.h.
|
constexpr |
Definition at line 74 of file a60-svg-constants.h.
|
constexpr |
Definition at line 75 of file a60-svg-constants.h.
|
constexpr |
Definition at line 76 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.
|
constexpr |
Fine Art max sheet, aka 44 x 30 (1.47:1 ~ 3:2)
Definition at line 85 of file a60-svg-constants.h.
|
constexpr |
Definition at line 86 of file a60-svg-constants.h.
|
constexpr |
Fine Art roll, aka 44 x 22 (2:1)
Definition at line 89 of file a60-svg-constants.h.
|
constexpr |
Definition at line 90 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 94 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 95 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 96 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 98 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 99 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 100 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 101 of file a60-svg-constants.h.
| typography::anchor svg::constants::a = typography::anchor::middle |
Useful typography constants.
Definition at line 105 of file a60-svg-constants.h.
| typography::align svg::constants::al = typography::align::center |
Definition at line 106 of file a60-svg-constants.h.
| typography::weight svg::constants::w = typography::weight::normal |
Definition at line 107 of file a60-svg-constants.h.
| typography::property svg::constants::p = typography::property::normal |
Definition at line 108 of file a60-svg-constants.h.
| typography::baseline svg::constants::b = typography::baseline::none |
Definition at line 109 of file a60-svg-constants.h.
| const char* svg::constants::sserif = "Source Serif Pro" |
Definition at line 111 of file a60-svg-constants.h.
| const char* svg::constants::ssans = "Source Sans Pro" |
Definition at line 112 of file a60-svg-constants.h.
| const char* svg::constants::smono = "Source Code Pro" |
Definition at line 113 of file a60-svg-constants.h.
| const char* svg::constants::shsans = "Source Han Sans CN" |
Definition at line 114 of file a60-svg-constants.h.
| const char* svg::constants::aprcu = "Apercu" |
Definition at line 115 of file a60-svg-constants.h.
| const char* svg::constants::aprcumo = "Apercu Mono" |
Definition at line 116 of file a60-svg-constants.h.
| const char* svg::constants::ccode = "Calling Code" |
Definition at line 117 of file a60-svg-constants.h.
| const char* svg::constants::zslab = "Zilla Slab" |
Definition at line 118 of file a60-svg-constants.h.
| const char* svg::constants::mexcellent = "Mexcellent" |
Definition at line 119 of file a60-svg-constants.h.
| const char* svg::constants::hyperl = "Atkinson Hyperlegible" |
Definition at line 120 of file a60-svg-constants.h.
Definition at line 122 of file a60-svg-constants.h.
Definition at line 123 of file a60-svg-constants.h.
Definition at line 124 of file a60-svg-constants.h.
Definition at line 125 of file a60-svg-constants.h.
Definition at line 126 of file a60-svg-constants.h.
Definition at line 127 of file a60-svg-constants.h.
Definition at line 128 of file a60-svg-constants.h.
Definition at line 129 of file a60-svg-constants.h.
| const typography svg::constants::mxcllnt_typo = { mexcellent, 12, b_style, a, al, b, w, p } |
Definition at line 130 of file a60-svg-constants.h.
Definition at line 131 of file a60-svg-constants.h.