AttributeNames.h 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106
  1. /*
  2. * Copyright (c) 2021-2023, Andreas Kling <kling@serenityos.org>
  3. *
  4. * SPDX-License-Identifier: BSD-2-Clause
  5. */
  6. #pragma once
  7. #include <AK/Error.h>
  8. #include <AK/FlyString.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(dx) \
  22. E(dy) \
  23. E(diffuseConstant) \
  24. E(edgeMode) \
  25. E(filterUnits) \
  26. E(fr) \
  27. E(fx) \
  28. E(fy) \
  29. E(glyphRef) \
  30. E(gradientTransform) \
  31. E(gradientUnits) \
  32. E(height) \
  33. E(href) \
  34. E(kernelMatrix) \
  35. E(kernelUnitLength) \
  36. E(keyPoints) \
  37. E(keySplines) \
  38. E(keyTimes) \
  39. E(lengthAdjust) \
  40. E(limitingConeAngle) \
  41. E(markerHeight) \
  42. E(markerUnits) \
  43. E(markerWidth) \
  44. E(maskContentUnits) \
  45. E(maskUnits) \
  46. E(numOctaves) \
  47. E(offset) \
  48. E(opacity) \
  49. E(pathLength) \
  50. E(patternContentUnits) \
  51. E(patternTransform) \
  52. E(patternUnits) \
  53. E(points) \
  54. E(pointsAtX) \
  55. E(pointsAtY) \
  56. E(pointsAtZ) \
  57. E(preserveAlpha) \
  58. E(preserveAspectRatio) \
  59. E(primitiveUnits) \
  60. E(r) \
  61. E(refX) \
  62. E(refY) \
  63. E(repeatCount) \
  64. E(repeatDur) \
  65. E(requiredExtensions) \
  66. E(requiredFeatures) \
  67. E(rx) \
  68. E(ry) \
  69. E(specularConstant) \
  70. E(specularExponent) \
  71. E(spreadMethod) \
  72. E(startOffset) \
  73. E(stdDeviation) \
  74. E(stitchTiles) \
  75. E(surfaceScale) \
  76. E(systemLanguage) \
  77. E(tableValues) \
  78. E(targetX) \
  79. E(targetY) \
  80. E(textLength) \
  81. E(version) \
  82. E(viewBox) \
  83. E(viewTarget) \
  84. E(width) \
  85. E(x) \
  86. E(x1) \
  87. E(x2) \
  88. E(xChannelSelector) \
  89. E(xlink_href) \
  90. E(y) \
  91. E(y1) \
  92. E(y2) \
  93. E(yChannelSelector) \
  94. E(zoomAndPan)
  95. #define __ENUMERATE_SVG_ATTRIBUTE(name) extern FlyString name;
  96. ENUMERATE_SVG_ATTRIBUTES(__ENUMERATE_SVG_ATTRIBUTE)
  97. #undef __ENUMERATE_SVG_ATTRIBUTE
  98. void initialize_strings();
  99. }