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

Go to the source code of this file.

Namespaces

namespace  svg
 
namespace  svg::constants
 

Variables

typography::anchor svg::constants::a = typography::anchor::middle
 Useful typography constants.
 
constexpr area svg::constants::a2_096_h = { 2245, 1587 }
 Area Constants in pixel units. Pixel constants are using 96 PPI unless otherwise noted.
 
constexpr area svg::constants::a2_096_v = { 1587, 2245 }
 
constexpr area svg::constants::a2_mm_h = { 420, 594 }
 
constexpr area svg::constants::a4_096_h = { 1123, 794 }
 
constexpr area svg::constants::a4_096_v = { 794, 1123 }
 
constexpr area svg::constants::a4_mm_h = { 210, 297 }
 
constexpr area svg::constants::a5_096_h = { 794, 559 }
 
constexpr area svg::constants::a5_096_v = { 559, 794 }
 
constexpr area svg::constants::a5_mm_h = { 148, 210 }
 
constexpr area svg::constants::a6_096_h = { 559, 397 }
 
constexpr area svg::constants::a6_096_v = { 397, 559 }
 
constexpr area svg::constants::a6_mm_h = { 105, 148 }
 
typography::align svg::constants::al = typography::align::center
 
const typography svg::constants::apercu_typo = { aprcu, 12, b_style, a, al, b, w, p }
 
const typography svg::constants::apercumo_typo = { aprcumo, 12, b_style, a, al, b, w, p }
 
const char * svg::constants::aprcu = "Apercu"
 
const char * svg::constants::aprcumo = "Apercu Mono"
 
typography::baseline svg::constants::b = typography::baseline::none
 
const style svg::constants::b_style = { color::black, 1.0, color::white, 0.0, 0.5 }
 
const char * svg::constants::ccode = "Calling Code"
 
const typography svg::constants::ccode_typo = { ccode, 12, b_style, a, al, b, w, p }
 
const typography svg::constants::d_typo = shsans_typo
 
const char * svg::constants::hyperl = "Atkinson Hyperlegible"
 
const typography svg::constants::hyperl_typo = { hyperl, 12, b_style, a, al, b, w, p }
 
constexpr area svg::constants::instagram_4ks = { 2160, 2160 }
 
constexpr area svg::constants::instagram_s = { 1080, 1080 }
 
constexpr area svg::constants::instagram_v = { 1080, 1350 }
 
constexpr area svg::constants::letter_096_h = { 1056, 816 }
 
constexpr area svg::constants::letter_096_v = { 816, 1056 }
 
constexpr area svg::constants::letter_mm_h = { 216, 279 }
 Area Constants in millimeter units.
 
constexpr area svg::constants::letterb_096_h = { 1056, 816 }
 
constexpr area svg::constants::letterb_096_v = { 816, 1056 }
 Letter bleed (8.625 w x 11.25 h)
 
const char * svg::constants::mexcellent = "Mexcellent"
 
const typography svg::constants::mxcllnt_typo = { mexcellent, 12, b_style, a, al, b, w, p }
 
constexpr area svg::constants::no_area = { 0, 0 }
 
const style svg::constants::no_style = { color::none, 0.0, color::none, 0.0, 0 }
 Style constants.
 
typography::property svg::constants::p = typography::property::normal
 
constexpr area svg::constants::p17x22_096_v = { 1632, 2112 }
 
constexpr area svg::constants::p22x17_096_h = { 2112, 1632 }
 Engineering C, aka 22 x 17 letter quattro.
 
const style svg::constants::r_style = { color::red, 1.0, color::red, 0.0, 0.5 }
 
const char * svg::constants::shsans = "Source Han Sans CN"
 
const typography svg::constants::shsans_typo = { shsans, 12, b_style, a, al, b, w, p }
 
const char * svg::constants::smono = "Source Code Pro"
 
const typography svg::constants::smono_typo = { smono, 12, b_style, a, al, b, w, p }
 
constexpr area svg::constants::square17b_096_h = { 1680, 1656 }
 
constexpr area svg::constants::square17b_096_v = { 1656, 1680 }
 Square 17 bleed 2 x (8.625 w x 8.75 h) for above at 2x.
 
constexpr area svg::constants::square8_096 = { 768, 768 }
 Square 8 (8 w x 8 h)
 
constexpr area svg::constants::square8bis_096 = { 816, 816 }
 Square 8bis (8.5 w x 8.5 h)
 
constexpr area svg::constants::square8bisb_096_h = { 840, 826 }
 
constexpr area svg::constants::square8bisb_096_v = { 828, 840 }
 Square 8bis bleed (8.625 w x 8.75 h) (219 x 222 mm)
 
const char * svg::constants::ssans = "Source Sans Pro"
 
const typography svg::constants::ssans_typo = { ssans, 12, b_style, a, al, b, w, p }
 
const char * svg::constants::sserif = "Source Serif Pro"
 
const typography svg::constants::sserif_typo = { sserif, 12, b_style, a, al, b, w, p }
 
constexpr area svg::constants::v1080p_h = { 1920, 1080 }
 
constexpr area svg::constants::v1080p_v = { 1080, 1920 }
 
constexpr area svg::constants::v4k_h = { 3840, 2160 }
 
constexpr area svg::constants::v4k_v = { 2160, 3840 }
 
typography::weight svg::constants::w = typography::weight::normal
 
const style svg::constants::w_style = { color::white, 1.0, color::black, 0.0, 0.5 }
 
const style svg::constants::wcagdg_style = { color::wcag_dgray, 1.0, color::wcag_dgray, 0.0, 0.5 }
 
const style svg::constants::wcagg_style = { color::wcag_gray, 1.0, color::wcag_gray, 0.0, 0.5 }
 
const style svg::constants::wcaglg_style = { color::wcag_lgray, 1.0, color::wcag_lgray, 0.0, 0.5 }
 
const char * svg::constants::zslab = "Zilla Slab"
 
const typography svg::constants::zslab_typo = { zslab, 12, b_style, a, al, b, w, p }