AttributeNames.h 3.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697
  1. /*
  2. * Copyright (c) 2021, Andreas Kling <kling@serenityos.org>
  3. *
  4. * SPDX-License-Identifier: BSD-2-Clause
  5. */
  6. #pragma once
  7. #include <AK/DeprecatedFlyString.h>
  8. #include <AK/Error.h>
  9. namespace Web::SVG::AttributeNames {
  10. #define ENUMERATE_SVG_ATTRIBUTES(E) \
  11. E(attributeName) \
  12. E(attributeType) \
  13. E(baseFrequency) \
  14. E(baseProfile) \
  15. E(calcMode) \
  16. E(clipPathUnits) \
  17. E(contentScriptType) \
  18. E(contentStyleType) \
  19. E(cx) \
  20. E(cy) \
  21. E(diffuseConstant) \
  22. E(edgeMode) \
  23. E(filterUnits) \
  24. E(glyphRef) \
  25. E(gradientTransform) \
  26. E(gradientUnits) \
  27. E(height) \
  28. E(kernelMatrix) \
  29. E(kernelUnitLength) \
  30. E(keyPoints) \
  31. E(keySplines) \
  32. E(keyTimes) \
  33. E(lengthAdjust) \
  34. E(limitingConeAngle) \
  35. E(markerHeight) \
  36. E(markerUnits) \
  37. E(markerWidth) \
  38. E(maskContentUnits) \
  39. E(maskUnits) \
  40. E(numOctaves) \
  41. E(pathLength) \
  42. E(patternContentUnits) \
  43. E(patternTransform) \
  44. E(patternUnits) \
  45. E(points) \
  46. E(pointsAtX) \
  47. E(pointsAtY) \
  48. E(pointsAtZ) \
  49. E(preserveAlpha) \
  50. E(preserveAspectRatio) \
  51. E(primitiveUnits) \
  52. E(r) \
  53. E(refX) \
  54. E(refY) \
  55. E(repeatCount) \
  56. E(repeatDur) \
  57. E(requiredExtensions) \
  58. E(rx) \
  59. E(ry) \
  60. E(requiredFeatures) \
  61. E(specularConstant) \
  62. E(specularExponent) \
  63. E(spreadMethod) \
  64. E(startOffset) \
  65. E(stdDeviation) \
  66. E(stitchTiles) \
  67. E(surfaceScale) \
  68. E(systemLanguage) \
  69. E(tableValues) \
  70. E(targetX) \
  71. E(targetY) \
  72. E(textLength) \
  73. E(version) \
  74. E(viewBox) \
  75. E(viewTarget) \
  76. E(width) \
  77. E(x) \
  78. E(x1) \
  79. E(x2) \
  80. E(xChannelSelector) \
  81. E(y) \
  82. E(y1) \
  83. E(y2) \
  84. E(yChannelSelector) \
  85. E(zoomAndPan)
  86. #define __ENUMERATE_SVG_ATTRIBUTE(name) extern DeprecatedFlyString name;
  87. ENUMERATE_SVG_ATTRIBUTES(__ENUMERATE_SVG_ATTRIBUTE)
  88. #undef __ENUMERATE_SVG_ATTRIBUTE
  89. ErrorOr<void> initialize_strings();
  90. }