File indexing completed on 2025-01-05 04:01:18

0001 /*
0002  * SPDX-FileCopyrightText: 2019-2023 Mattia Basaglia <dev@dragon.best>
0003  *
0004  * SPDX-License-Identifier: GPL-3.0-or-later
0005  */
0006 
0007 #include "detail.hpp"
0008 
0009 
0010 const std::map<QString, QString> glaxnimate::io::svg::detail::xmlns = {
0011     {"osb", "http://www.openswatchbook.org/uri/2009/osb"},
0012     {"dc", "http://purl.org/dc/elements/1.1/"},
0013     {"cc", "http://creativecommons.org/ns#"},
0014     {"rdf", "http://www.w3.org/1999/02/22-rdf-syntax-ns#"},
0015     {"svg", "http://www.w3.org/2000/svg"},
0016     {"sodipodi", "http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"},
0017     {"inkscape", "http://www.inkscape.org/namespaces/inkscape"},
0018     {"xlink", "http://www.w3.org/1999/xlink"},
0019     {"android", "http://schemas.android.com/apk/res/android"},
0020     {"aapt", "http://schemas.android.com/aapt"},
0021 };
0022 
0023 const std::unordered_set<QString> glaxnimate::io::svg::detail::css_atrrs = {
0024     "fill",
0025     "alignment-baseline",
0026     "baseline-shift",
0027     "clip-path",
0028     "clip-rule",
0029     "color",
0030     "color-interpolation",
0031     "color-interpolation-filters",
0032     "color-rendering",
0033     "cursor",
0034     "direction",
0035     "display",
0036     "dominant-baseline",
0037     "fill-opacity",
0038     "fill-rule",
0039     "filter",
0040     "flood-color",
0041     "flood-opacity",
0042     "font-family",
0043     "font-size",
0044     "font-size-adjust",
0045     "font-stretch",
0046     "font-style",
0047     "font-variant",
0048     "font-weight",
0049     "glyph-orientation-horizontal",
0050     "glyph-orientation-vertical",
0051     "image-rendering",
0052     "letter-spacing",
0053     "lighting-color",
0054     "marker-end",
0055     "marker-mid",
0056     "marker-start",
0057     "mask",
0058     "opacity",
0059     "overflow",
0060     "paint-order",
0061     "pointer-events",
0062     "shape-rendering",
0063     "stop-color",
0064     "stop-opacity",
0065     "stroke",
0066     "stroke-dasharray",
0067     "stroke-dashoffset",
0068     "stroke-linecap",
0069     "stroke-linejoin",
0070     "stroke-miterlimit",
0071     "stroke-opacity",
0072     "stroke-width",
0073     "text-anchor",
0074     "text-decoration",
0075     "text-overflow",
0076     "text-rendering",
0077     "unicode-bidi",
0078     "vector-effect",
0079     "visibility",
0080     "white-space",
0081     "word-spacing",
0082     "writing-mode"
0083 };