2021-09-15 01:26:16 +03:00
|
|
|
/*
|
2023-06-20 13:57:54 +03:00
|
|
|
* Copyright (c) 2021-2023, Andreas Kling <kling@serenityos.org>
|
2021-09-15 01:26:16 +03:00
|
|
|
*
|
|
|
|
* SPDX-License-Identifier: BSD-2-Clause
|
|
|
|
*/
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
2023-03-18 17:39:37 +03:00
|
|
|
#include <AK/Error.h>
|
2023-10-08 01:42:00 +03:00
|
|
|
#include <AK/FlyString.h>
|
2021-09-15 01:26:16 +03:00
|
|
|
|
|
|
|
namespace Web::SVG::AttributeNames {
|
|
|
|
|
|
|
|
#define ENUMERATE_SVG_ATTRIBUTES(E) \
|
|
|
|
E(attributeName) \
|
|
|
|
E(attributeType) \
|
|
|
|
E(baseFrequency) \
|
|
|
|
E(baseProfile) \
|
|
|
|
E(calcMode) \
|
|
|
|
E(clipPathUnits) \
|
|
|
|
E(contentScriptType) \
|
|
|
|
E(contentStyleType) \
|
2022-02-11 19:14:58 +03:00
|
|
|
E(cx) \
|
|
|
|
E(cy) \
|
2023-06-08 21:32:33 +03:00
|
|
|
E(dx) \
|
|
|
|
E(dy) \
|
2021-09-15 01:26:16 +03:00
|
|
|
E(diffuseConstant) \
|
|
|
|
E(edgeMode) \
|
|
|
|
E(filterUnits) \
|
2023-05-03 00:48:48 +03:00
|
|
|
E(fr) \
|
|
|
|
E(fx) \
|
|
|
|
E(fy) \
|
2021-09-15 01:26:16 +03:00
|
|
|
E(glyphRef) \
|
|
|
|
E(gradientTransform) \
|
|
|
|
E(gradientUnits) \
|
|
|
|
E(height) \
|
2023-05-30 23:23:52 +03:00
|
|
|
E(href) \
|
2021-09-15 01:26:16 +03:00
|
|
|
E(kernelMatrix) \
|
|
|
|
E(kernelUnitLength) \
|
|
|
|
E(keyPoints) \
|
|
|
|
E(keySplines) \
|
|
|
|
E(keyTimes) \
|
|
|
|
E(lengthAdjust) \
|
|
|
|
E(limitingConeAngle) \
|
|
|
|
E(markerHeight) \
|
|
|
|
E(markerUnits) \
|
|
|
|
E(markerWidth) \
|
|
|
|
E(maskContentUnits) \
|
|
|
|
E(maskUnits) \
|
|
|
|
E(numOctaves) \
|
2023-04-20 20:51:00 +03:00
|
|
|
E(offset) \
|
2023-06-20 13:57:54 +03:00
|
|
|
E(opacity) \
|
2021-09-15 01:26:16 +03:00
|
|
|
E(pathLength) \
|
|
|
|
E(patternContentUnits) \
|
|
|
|
E(patternTransform) \
|
|
|
|
E(patternUnits) \
|
2022-02-11 20:28:24 +03:00
|
|
|
E(points) \
|
2021-09-15 01:26:16 +03:00
|
|
|
E(pointsAtX) \
|
|
|
|
E(pointsAtY) \
|
|
|
|
E(pointsAtZ) \
|
|
|
|
E(preserveAlpha) \
|
|
|
|
E(preserveAspectRatio) \
|
|
|
|
E(primitiveUnits) \
|
2022-02-11 19:14:58 +03:00
|
|
|
E(r) \
|
2021-09-15 01:26:16 +03:00
|
|
|
E(refX) \
|
|
|
|
E(refY) \
|
|
|
|
E(repeatCount) \
|
|
|
|
E(repeatDur) \
|
|
|
|
E(requiredExtensions) \
|
2023-04-20 20:51:00 +03:00
|
|
|
E(requiredFeatures) \
|
2022-02-11 18:52:42 +03:00
|
|
|
E(rx) \
|
|
|
|
E(ry) \
|
2021-09-15 01:26:16 +03:00
|
|
|
E(specularConstant) \
|
|
|
|
E(specularExponent) \
|
|
|
|
E(spreadMethod) \
|
|
|
|
E(startOffset) \
|
|
|
|
E(stdDeviation) \
|
|
|
|
E(stitchTiles) \
|
|
|
|
E(surfaceScale) \
|
|
|
|
E(systemLanguage) \
|
|
|
|
E(tableValues) \
|
|
|
|
E(targetX) \
|
|
|
|
E(targetY) \
|
|
|
|
E(textLength) \
|
|
|
|
E(version) \
|
|
|
|
E(viewBox) \
|
|
|
|
E(viewTarget) \
|
|
|
|
E(width) \
|
|
|
|
E(x) \
|
2022-02-11 19:56:36 +03:00
|
|
|
E(x1) \
|
|
|
|
E(x2) \
|
2021-09-15 01:26:16 +03:00
|
|
|
E(xChannelSelector) \
|
2023-11-14 03:52:56 +03:00
|
|
|
E(xlink_href) \
|
2021-09-15 01:26:16 +03:00
|
|
|
E(y) \
|
2022-02-11 19:56:36 +03:00
|
|
|
E(y1) \
|
|
|
|
E(y2) \
|
2021-09-15 01:26:16 +03:00
|
|
|
E(yChannelSelector) \
|
|
|
|
E(zoomAndPan)
|
|
|
|
|
2023-10-08 01:42:00 +03:00
|
|
|
#define __ENUMERATE_SVG_ATTRIBUTE(name) extern FlyString name;
|
2021-09-15 01:26:16 +03:00
|
|
|
ENUMERATE_SVG_ATTRIBUTES(__ENUMERATE_SVG_ATTRIBUTE)
|
|
|
|
#undef __ENUMERATE_SVG_ATTRIBUTE
|
|
|
|
|
2023-08-07 13:07:35 +03:00
|
|
|
void initialize_strings();
|
2023-03-18 17:39:37 +03:00
|
|
|
|
2021-09-15 01:26:16 +03:00
|
|
|
}
|