dymokomi/luce-browser-engine
Source of release 0.6.1
0.6.1 / src / web / svg / attribute_names.lucb
#==============================================================================================
#
# attribute_names - SVG::AttributeNames: the names of the SVG attributes
#
# DESCRIPTION:
# Port of Libraries/LibWeb/SVG/AttributeNames.cpp (lines 1-16) with AttributeNames.h's
# ENUMERATE_SVG_ATTRIBUTES. C++ initializes the FlyStrings statically; here
# svg_attribute_names_initialize_strings interns them at run time and
# web_initialize_strings runs it at startup (DESIGN.md ยง2.6).
#
#==============================================================================================
## Whether svg_attribute_names_initialize_strings has run.
var svg_attribute_names_strings_initialized: bool
## Ported from Libraries/LibWeb/SVG/AttributeNames.cpp:11 the definitions of Web::SVG::AttributeNames's FlyStrings
## (`FlyString name = attribute##_fly_string;` for each ENUMERATE_SVG_ATTRIBUTES entry).
pub func svg_attribute_names_initialize_strings():
if svg_attribute_names_strings_initialized:
return
svg_attribute_names_amplitude = ak.fly_string_from_str("amplitude")
svg_attribute_names_attribute_name = ak.fly_string_from_str("attributeName")
svg_attribute_names_attribute_type = ak.fly_string_from_str("attributeType")
svg_attribute_names_base_frequency = ak.fly_string_from_str("baseFrequency")
svg_attribute_names_base_profile = ak.fly_string_from_str("baseProfile")
svg_attribute_names_calc_mode = ak.fly_string_from_str("calcMode")
svg_attribute_names_class = ak.fly_string_from_str("class")
svg_attribute_names_clip_path_units = ak.fly_string_from_str("clipPathUnits")
svg_attribute_names_content_script_type = ak.fly_string_from_str("contentScriptType")
svg_attribute_names_content_style_type = ak.fly_string_from_str("contentStyleType")
svg_attribute_names_cx = ak.fly_string_from_str("cx")
svg_attribute_names_cy = ak.fly_string_from_str("cy")
svg_attribute_names_d = ak.fly_string_from_str("d")
svg_attribute_names_diffuse_constant = ak.fly_string_from_str("diffuseConstant")
svg_attribute_names_dx = ak.fly_string_from_str("dx")
svg_attribute_names_dy = ak.fly_string_from_str("dy")
svg_attribute_names_edge_mode = ak.fly_string_from_str("edgeMode")
svg_attribute_names_fill = ak.fly_string_from_str("fill")
svg_attribute_names_exponent = ak.fly_string_from_str("exponent")
svg_attribute_names_filter_units = ak.fly_string_from_str("filterUnits")
svg_attribute_names_fr = ak.fly_string_from_str("fr")
svg_attribute_names_fx = ak.fly_string_from_str("fx")
svg_attribute_names_fy = ak.fly_string_from_str("fy")
svg_attribute_names_glyph_ref = ak.fly_string_from_str("glyphRef")
svg_attribute_names_gradient_transform = ak.fly_string_from_str("gradientTransform")
svg_attribute_names_gradient_units = ak.fly_string_from_str("gradientUnits")
svg_attribute_names_height = ak.fly_string_from_str("height")
svg_attribute_names_href = ak.fly_string_from_str("href")
svg_attribute_names_in = ak.fly_string_from_str("in")
svg_attribute_names_in2 = ak.fly_string_from_str("in2")
svg_attribute_names_intercept = ak.fly_string_from_str("intercept")
svg_attribute_names_kernel_matrix = ak.fly_string_from_str("kernelMatrix")
svg_attribute_names_kernel_unit_length = ak.fly_string_from_str("kernelUnitLength")
svg_attribute_names_k1 = ak.fly_string_from_str("k1")
svg_attribute_names_k2 = ak.fly_string_from_str("k2")
svg_attribute_names_k3 = ak.fly_string_from_str("k3")
svg_attribute_names_k4 = ak.fly_string_from_str("k4")
svg_attribute_names_key_points = ak.fly_string_from_str("keyPoints")
svg_attribute_names_key_splines = ak.fly_string_from_str("keySplines")
svg_attribute_names_key_times = ak.fly_string_from_str("keyTimes")
svg_attribute_names_length_adjust = ak.fly_string_from_str("lengthAdjust")
svg_attribute_names_limiting_cone_angle = ak.fly_string_from_str("limitingConeAngle")
svg_attribute_names_marker_height = ak.fly_string_from_str("markerHeight")
svg_attribute_names_marker_units = ak.fly_string_from_str("markerUnits")
svg_attribute_names_marker_width = ak.fly_string_from_str("markerWidth")
svg_attribute_names_mask_content_units = ak.fly_string_from_str("maskContentUnits")
svg_attribute_names_mask_units = ak.fly_string_from_str("maskUnits")
svg_attribute_names_mode = ak.fly_string_from_str("mode")
svg_attribute_names_num_octaves = ak.fly_string_from_str("numOctaves")
svg_attribute_names_offset = ak.fly_string_from_str("offset")
svg_attribute_names_opacity = ak.fly_string_from_str("opacity")
svg_attribute_names_operator = ak.fly_string_from_str("operator")
svg_attribute_names_path_length = ak.fly_string_from_str("pathLength")
svg_attribute_names_pattern_content_units = ak.fly_string_from_str("patternContentUnits")
svg_attribute_names_pattern_transform = ak.fly_string_from_str("patternTransform")
svg_attribute_names_pattern_units = ak.fly_string_from_str("patternUnits")
svg_attribute_names_points = ak.fly_string_from_str("points")
svg_attribute_names_points_at_x = ak.fly_string_from_str("pointsAtX")
svg_attribute_names_points_at_y = ak.fly_string_from_str("pointsAtY")
svg_attribute_names_points_at_z = ak.fly_string_from_str("pointsAtZ")
svg_attribute_names_preserve_alpha = ak.fly_string_from_str("preserveAlpha")
svg_attribute_names_preserve_aspect_ratio = ak.fly_string_from_str("preserveAspectRatio")
svg_attribute_names_primitive_units = ak.fly_string_from_str("primitiveUnits")
svg_attribute_names_r = ak.fly_string_from_str("r")
svg_attribute_names_radius = ak.fly_string_from_str("radius")
svg_attribute_names_ref_x = ak.fly_string_from_str("refX")
svg_attribute_names_ref_y = ak.fly_string_from_str("refY")
svg_attribute_names_repeat_count = ak.fly_string_from_str("repeatCount")
svg_attribute_names_repeat_dur = ak.fly_string_from_str("repeatDur")
svg_attribute_names_required_extensions = ak.fly_string_from_str("requiredExtensions")
svg_attribute_names_required_features = ak.fly_string_from_str("requiredFeatures")
svg_attribute_names_result = ak.fly_string_from_str("result")
svg_attribute_names_rotate = ak.fly_string_from_str("rotate")
svg_attribute_names_rx = ak.fly_string_from_str("rx")
svg_attribute_names_ry = ak.fly_string_from_str("ry")
svg_attribute_names_scale = ak.fly_string_from_str("scale")
svg_attribute_names_seed = ak.fly_string_from_str("seed")
svg_attribute_names_slope = ak.fly_string_from_str("slope")
svg_attribute_names_specular_constant = ak.fly_string_from_str("specularConstant")
svg_attribute_names_specular_exponent = ak.fly_string_from_str("specularExponent")
svg_attribute_names_spread_method = ak.fly_string_from_str("spreadMethod")
svg_attribute_names_start_offset = ak.fly_string_from_str("startOffset")
svg_attribute_names_std_deviation = ak.fly_string_from_str("stdDeviation")
svg_attribute_names_stitch_tiles = ak.fly_string_from_str("stitchTiles")
svg_attribute_names_stop_color = ak.fly_string_from_str("stop-color")
svg_attribute_names_stop_opacity = ak.fly_string_from_str("stop-opacity")
svg_attribute_names_surface_scale = ak.fly_string_from_str("surfaceScale")
svg_attribute_names_system_language = ak.fly_string_from_str("systemLanguage")
svg_attribute_names_table_values = ak.fly_string_from_str("tableValues")
svg_attribute_names_target_x = ak.fly_string_from_str("targetX")
svg_attribute_names_target_y = ak.fly_string_from_str("targetY")
svg_attribute_names_text_length = ak.fly_string_from_str("textLength")
svg_attribute_names_type = ak.fly_string_from_str("type")
svg_attribute_names_values = ak.fly_string_from_str("values")
svg_attribute_names_version = ak.fly_string_from_str("version")
svg_attribute_names_view_box = ak.fly_string_from_str("viewBox")
svg_attribute_names_view_target = ak.fly_string_from_str("viewTarget")
svg_attribute_names_width = ak.fly_string_from_str("width")
svg_attribute_names_x = ak.fly_string_from_str("x")
svg_attribute_names_x1 = ak.fly_string_from_str("x1")
svg_attribute_names_x2 = ak.fly_string_from_str("x2")
svg_attribute_names_x_channel_selector = ak.fly_string_from_str("xChannelSelector")
svg_attribute_names_xlink_href = ak.fly_string_from_str("xlink:href")
svg_attribute_names_xmlns = ak.fly_string_from_str("xmlns")
svg_attribute_names_y = ak.fly_string_from_str("y")
svg_attribute_names_y1 = ak.fly_string_from_str("y1")
svg_attribute_names_y2 = ak.fly_string_from_str("y2")
svg_attribute_names_y_channel_selector = ak.fly_string_from_str("yChannelSelector")
svg_attribute_names_zoom_and_pan = ak.fly_string_from_str("zoomAndPan")
svg_attribute_names_strings_initialized = true