AttributeNames.h 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  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/FlyString.h>
  8. namespace Web::SVG::AttributeNames {
  9. #define ENUMERATE_SVG_ATTRIBUTES(E) \
  10. E(attributeName) \
  11. E(attributeType) \
  12. E(baseFrequency) \
  13. E(baseProfile) \
  14. E(calcMode) \
  15. E(clipPathUnits) \
  16. E(contentScriptType) \
  17. E(contentStyleType) \
  18. E(diffuseConstant) \
  19. E(edgeMode) \
  20. E(filterUnits) \
  21. E(glyphRef) \
  22. E(gradientTransform) \
  23. E(gradientUnits) \
  24. E(height) \
  25. E(kernelMatrix) \
  26. E(kernelUnitLength) \
  27. E(keyPoints) \
  28. E(keySplines) \
  29. E(keyTimes) \
  30. E(lengthAdjust) \
  31. E(limitingConeAngle) \
  32. E(markerHeight) \
  33. E(markerUnits) \
  34. E(markerWidth) \
  35. E(maskContentUnits) \
  36. E(maskUnits) \
  37. E(numOctaves) \
  38. E(pathLength) \
  39. E(patternContentUnits) \
  40. E(patternTransform) \
  41. E(patternUnits) \
  42. E(pointsAtX) \
  43. E(pointsAtY) \
  44. E(pointsAtZ) \
  45. E(preserveAlpha) \
  46. E(preserveAspectRatio) \
  47. E(primitiveUnits) \
  48. E(refX) \
  49. E(refY) \
  50. E(repeatCount) \
  51. E(repeatDur) \
  52. E(requiredExtensions) \
  53. E(requiredFeatures) \
  54. E(specularConstant) \
  55. E(specularExponent) \
  56. E(spreadMethod) \
  57. E(startOffset) \
  58. E(stdDeviation) \
  59. E(stitchTiles) \
  60. E(surfaceScale) \
  61. E(systemLanguage) \
  62. E(tableValues) \
  63. E(targetX) \
  64. E(targetY) \
  65. E(textLength) \
  66. E(version) \
  67. E(viewBox) \
  68. E(viewTarget) \
  69. E(width) \
  70. E(x) \
  71. E(xChannelSelector) \
  72. E(y) \
  73. E(yChannelSelector) \
  74. E(zoomAndPan)
  75. #define __ENUMERATE_SVG_ATTRIBUTE(name) extern FlyString name;
  76. ENUMERATE_SVG_ATTRIBUTES(__ENUMERATE_SVG_ATTRIBUTE)
  77. #undef __ENUMERATE_SVG_ATTRIBUTE
  78. }