📄 lsr_tables.c
字号:
if (!gf_svg_attributes_equal(&f_elt, &f_base)) return 0; f_elt.fieldType = f_base.fieldType = SVG_Length_datatype; f_elt.fieldIndex = f_base.fieldIndex = TAG_SVG_ATT_stroke_dashoffset; f_elt.far_ptr = elt_atts->stroke_dashoffset; f_base.far_ptr = base_atts->stroke_dashoffset; if (!gf_svg_attributes_equal(&f_elt, &f_base)) return 0; f_elt.fieldType = f_base.fieldType = SVG_StrokeLineCap_datatype; f_elt.fieldIndex = f_base.fieldIndex = TAG_SVG_ATT_stroke_linecap; f_elt.far_ptr = elt_atts->stroke_linecap; f_base.far_ptr = base_atts->stroke_linecap; if (!gf_svg_attributes_equal(&f_elt, &f_base)) return 0; f_elt.fieldType = f_base.fieldType = SVG_StrokeLineJoin_datatype; f_elt.fieldIndex = f_base.fieldIndex = TAG_SVG_ATT_stroke_linejoin; f_elt.far_ptr = elt_atts->stroke_linejoin; f_base.far_ptr = base_atts->stroke_linejoin; if (!gf_svg_attributes_equal(&f_elt, &f_base)) return 0; f_elt.fieldType = f_base.fieldType = SVG_Number_datatype; f_elt.fieldIndex = f_base.fieldIndex = TAG_SVG_ATT_stroke_miterlimit; f_elt.far_ptr = elt_atts->stroke_miterlimit; f_base.far_ptr = base_atts->stroke_miterlimit; if (!gf_svg_attributes_equal(&f_elt, &f_base)) return 0; f_elt.fieldType = f_base.fieldType = SVG_Number_datatype; f_elt.fieldIndex = f_base.fieldIndex = TAG_SVG_ATT_stroke_opacity; f_elt.far_ptr = elt_atts->stroke_opacity; f_base.far_ptr = base_atts->stroke_opacity; if (!gf_svg_attributes_equal(&f_elt, &f_base)) return 0; f_elt.fieldType = f_base.fieldType = SVG_Length_datatype; f_elt.fieldIndex = f_base.fieldIndex = TAG_SVG_ATT_stroke_width; f_elt.far_ptr = elt_atts->stroke_width; f_base.far_ptr = base_atts->stroke_width; if (!gf_svg_attributes_equal(&f_elt, &f_base)) return 0; f_elt.fieldType = f_base.fieldType = SVG_TextAnchor_datatype; f_elt.fieldIndex = f_base.fieldIndex = TAG_SVG_ATT_text_anchor; f_elt.far_ptr = elt_atts->text_anchor; f_base.far_ptr = base_atts->text_anchor; if (!gf_svg_attributes_equal(&f_elt, &f_base)) return 0; f_elt.fieldType = f_base.fieldType = SVG_RenderingHint_datatype; f_elt.fieldIndex = f_base.fieldIndex = TAG_SVG_ATT_text_rendering; f_elt.far_ptr = elt_atts->text_rendering; f_base.far_ptr = base_atts->text_rendering; if (!gf_svg_attributes_equal(&f_elt, &f_base)) return 0; f_elt.fieldType = f_base.fieldType = SVG_Paint_datatype; f_elt.fieldIndex = f_base.fieldIndex = TAG_SVG_ATT_viewport_fill; f_elt.far_ptr = elt_atts->viewport_fill; f_base.far_ptr = base_atts->viewport_fill; if (!gf_svg_attributes_equal(&f_elt, &f_base)) return 0; f_elt.fieldType = f_base.fieldType = SVG_Number_datatype; f_elt.fieldIndex = f_base.fieldIndex = TAG_SVG_ATT_viewport_fill_opacity; f_elt.far_ptr = elt_atts->viewport_fill_opacity; f_base.far_ptr = base_atts->viewport_fill_opacity; if (!gf_svg_attributes_equal(&f_elt, &f_base)) return 0; f_elt.fieldType = f_base.fieldType = SVG_VectorEffect_datatype; f_elt.fieldIndex = f_base.fieldIndex = TAG_SVG_ATT_vector_effect; f_elt.far_ptr = elt_atts->vector_effect; f_base.far_ptr = base_atts->vector_effect; if (!gf_svg_attributes_equal(&f_elt, &f_base)) return 0; f_elt.fieldType = f_base.fieldType = SVG_Visibility_datatype; f_elt.fieldIndex = f_base.fieldIndex = TAG_SVG_ATT_visibility; f_elt.far_ptr = elt_atts->visibility; f_base.far_ptr = base_atts->visibility; if (!gf_svg_attributes_equal(&f_elt, &f_base)) return 0; f_elt.fieldType = f_base.fieldType = SVG_ListOfIRI_datatype; f_elt.fieldIndex = f_base.fieldIndex = TAG_SVG_ATT_requiredExtensions; f_elt.far_ptr = elt_atts->requiredExtensions; f_base.far_ptr = base_atts->requiredExtensions; if (!gf_svg_attributes_equal(&f_elt, &f_base)) return 0; f_elt.fieldType = f_base.fieldType = SVG_ListOfIRI_datatype; f_elt.fieldIndex = f_base.fieldIndex = TAG_SVG_ATT_requiredFeatures; f_elt.far_ptr = elt_atts->requiredFeatures; f_base.far_ptr = base_atts->requiredFeatures; if (!gf_svg_attributes_equal(&f_elt, &f_base)) return 0; f_elt.fieldType = f_base.fieldType = SVG_FormatList_datatype; f_elt.fieldIndex = f_base.fieldIndex = TAG_SVG_ATT_requiredFormats; f_elt.far_ptr = elt_atts->requiredFormats; f_base.far_ptr = base_atts->requiredFormats; if (!gf_svg_attributes_equal(&f_elt, &f_base)) return 0; f_elt.fieldType = f_base.fieldType = SVG_LanguageIDs_datatype; f_elt.fieldIndex = f_base.fieldIndex = TAG_SVG_ATT_systemLanguage; f_elt.far_ptr = elt_atts->systemLanguage; f_base.far_ptr = base_atts->systemLanguage; if (!gf_svg_attributes_equal(&f_elt, &f_base)) return 0; f_elt.fieldType = f_base.fieldType = XMLRI_datatype; f_elt.fieldIndex = f_base.fieldIndex = TAG_SVG_ATT_xml_base; f_elt.far_ptr = elt_atts->xml_base; f_base.far_ptr = base_atts->xml_base; if (!gf_svg_attributes_equal(&f_elt, &f_base)) return 0; f_elt.fieldType = f_base.fieldType = SVG_LanguageID_datatype; f_elt.fieldIndex = f_base.fieldIndex = TAG_SVG_ATT_xml_lang; f_elt.far_ptr = elt_atts->xml_lang; f_base.far_ptr = base_atts->xml_lang; if (!gf_svg_attributes_equal(&f_elt, &f_base)) return 0; f_elt.fieldType = f_base.fieldType = XML_Space_datatype; f_elt.fieldIndex = f_base.fieldIndex = TAG_SVG_ATT_xml_space; f_elt.far_ptr = elt_atts->xml_space; f_base.far_ptr = base_atts->xml_space; if (!gf_svg_attributes_equal(&f_elt, &f_base)) return 0; f_elt.fieldType = f_base.fieldType = SVG_Focus_datatype; f_elt.fieldIndex = f_base.fieldIndex = TAG_SVG_ATT_nav_next; f_elt.far_ptr = elt_atts->nav_next; f_base.far_ptr = base_atts->nav_next; if (!gf_svg_attributes_equal(&f_elt, &f_base)) return 0; f_elt.fieldType = f_base.fieldType = SVG_Focus_datatype; f_elt.fieldIndex = f_base.fieldIndex = TAG_SVG_ATT_nav_up; f_elt.far_ptr = elt_atts->nav_up; f_base.far_ptr = base_atts->nav_up; if (!gf_svg_attributes_equal(&f_elt, &f_base)) return 0; f_elt.fieldType = f_base.fieldType = SVG_Focus_datatype; f_elt.fieldIndex = f_base.fieldIndex = TAG_SVG_ATT_nav_up_left; f_elt.far_ptr = elt_atts->nav_up_left; f_base.far_ptr = base_atts->nav_up_left; if (!gf_svg_attributes_equal(&f_elt, &f_base)) return 0; f_elt.fieldType = f_base.fieldType = SVG_Focus_datatype; f_elt.fieldIndex = f_base.fieldIndex = TAG_SVG_ATT_nav_up_right; f_elt.far_ptr = elt_atts->nav_up_right; f_base.far_ptr = base_atts->nav_up_right; if (!gf_svg_attributes_equal(&f_elt, &f_base)) return 0; f_elt.fieldType = f_base.fieldType = SVG_Focus_datatype; f_elt.fieldIndex = f_base.fieldIndex = TAG_SVG_ATT_nav_prev; f_elt.far_ptr = elt_atts->nav_prev; f_base.far_ptr = base_atts->nav_prev; if (!gf_svg_attributes_equal(&f_elt, &f_base)) return 0; f_elt.fieldType = f_base.fieldType = SVG_Focus_datatype; f_elt.fieldIndex = f_base.fieldIndex = TAG_SVG_ATT_nav_down; f_elt.far_ptr = elt_atts->nav_down; f_base.far_ptr = base_atts->nav_down; if (!gf_svg_attributes_equal(&f_elt, &f_base)) return 0; f_elt.fieldType = f_base.fieldType = SVG_Focus_datatype; f_elt.fieldIndex = f_base.fieldIndex = TAG_SVG_ATT_nav_down_left; f_elt.far_ptr = elt_atts->nav_down_left; f_base.far_ptr = base_atts->nav_down_left; if (!gf_svg_attributes_equal(&f_elt, &f_base)) return 0; f_elt.fieldType = f_base.fieldType = SVG_Focus_datatype; f_elt.fieldIndex = f_base.fieldIndex = TAG_SVG_ATT_nav_down_right; f_elt.far_ptr = elt_atts->nav_down_right; f_base.far_ptr = base_atts->nav_down_right; if (!gf_svg_attributes_equal(&f_elt, &f_base)) return 0; f_elt.fieldType = f_base.fieldType = SVG_Focus_datatype; f_elt.fieldIndex = f_base.fieldIndex = TAG_SVG_ATT_nav_left; f_elt.far_ptr = elt_atts->nav_left; f_base.far_ptr = base_atts->nav_left; if (!gf_svg_attributes_equal(&f_elt, &f_base)) return 0; f_elt.fieldType = f_base.fieldType = SVG_Focusable_datatype; f_elt.fieldIndex = f_base.fieldIndex = TAG_SVG_ATT_focusable; f_elt.far_ptr = elt_atts->focusable; f_base.far_ptr = base_atts->focusable; if (!gf_svg_attributes_equal(&f_elt, &f_base)) return 0; f_elt.fieldType = f_base.fieldType = SVG_Focus_datatype; f_elt.fieldIndex = f_base.fieldIndex = TAG_SVG_ATT_nav_right; f_elt.far_ptr = elt_atts->nav_right; f_base.far_ptr = base_atts->nav_right; if (!gf_svg_attributes_equal(&f_elt, &f_base)) return 0; f_elt.fieldType = f_base.fieldType = SVG_Transform_datatype; f_elt.fieldIndex = f_base.fieldIndex = TAG_SVG_ATT_transform; f_elt.far_ptr = elt_atts->transform; f_base.far_ptr = base_atts->transform; if (!gf_svg_attributes_equal(&f_elt, &f_base)) return 0; f_elt.fieldType = f_base.fieldType = SVG_String_datatype; f_elt.fieldIndex = f_base.fieldIndex = TAG_SVG_ATT_text_decoration; f_elt.far_ptr = elt_atts->text_decoration; f_base.far_ptr = base_atts->text_decoration; if (!gf_svg_attributes_equal(&f_elt, &f_base)) return 0; f_elt.fieldType = f_base.fieldType = SVG_FontVariant_datatype; f_elt.fieldIndex = f_base.fieldIndex = TAG_SVG_ATT_font_variant; f_elt.far_ptr = elt_atts->font_variant; f_base.far_ptr = base_atts->font_variant; if (!gf_svg_attributes_equal(&f_elt, &f_base)) return 0; f_elt.fieldType = f_base.fieldType = SVG_FontFamily_datatype; f_elt.fieldIndex = f_base.fieldIndex = TAG_SVG_ATT_font_family; f_elt.far_ptr = elt_atts->font_family; f_base.far_ptr = base_atts->font_family; if (!gf_svg_attributes_equal(&f_elt, &f_base)) return 0; f_elt.fieldType = f_base.fieldType = SVG_FontSize_datatype; f_elt.fieldIndex = f_base.fieldIndex = TAG_SVG_ATT_font_size; f_elt.far_ptr = elt_atts->font_size; f_base.far_ptr = base_atts->font_size; if (!gf_svg_attributes_equal(&f_elt, &f_base)) return 0; f_elt.fieldType = f_base.fieldType = SVG_FontStyle_datatype; f_elt.fieldIndex = f_base.fieldIndex = TAG_SVG_ATT_font_style; f_elt.far_ptr = elt_atts->font_style; f_base.far_ptr = base_atts->font_style; if (!gf_svg_attributes_equal(&f_elt, &f_base)) return 0; f_elt.fieldType = f_base.fieldType = SVG_FontWeight_datatype; f_elt.fieldIndex = f_base.fieldIndex = TAG_SVG_ATT_font_weight; f_elt.far_ptr = elt_atts->font_weight; f_base.far_ptr = base_atts->font_weight; if (!gf_svg_attributes_equal(&f_elt, &f_base)) return 0; f_elt.fieldType = f_base.fieldType = SVG_String_datatype; f_elt.fieldIndex = f_base.fieldIndex = TAG_SVG_ATT_xlink_title; f_elt.far_ptr = elt_atts->xlink_title; f_base.far_ptr = base_atts->xlink_title; if (!gf_svg_attributes_equal(&f_elt, &f_base)) return 0; f_elt.fieldType = f_base.fieldType = SVG_String_datatype; f_elt.fieldIndex = f_base.fieldIndex = TAG_SVG_ATT_xlink_type; f_elt.far_ptr = elt_atts->xlink_type; f_base.far_ptr = base_atts->xlink_type; if (!gf_svg_attributes_equal(&f_elt, &f_base)) return 0; f_elt.fieldType = f_base.fieldType = XMLRI_datatype; f_elt.fieldIndex = f_base.fieldIndex = TAG_SVG_ATT_xlink_role; f_elt.far_ptr = elt_atts->xlink_role; f_base.far_ptr = base_atts->xlink_role; if (!gf_svg_attributes_equal(&f_elt, &f_base)) return 0; f_elt.fieldType = f_base.fieldType = XMLRI_datatype; f_elt.fieldIndex = f_base.fieldIndex = TAG_SVG_ATT_xlink_arcrole; f_elt.far_ptr = elt_atts->xlink_arcrole; f_base.far_ptr = base_atts->xlink_arcrole; if (!gf_svg_attributes_equal(&f_elt, &f_base)) return 0; f_elt.fieldType = f_base.fieldType = SVG_String_datatype; f_elt.fieldIndex = f_base.fieldIndex = TAG_SVG_ATT_xlink_actuate; f_elt.far_ptr = elt_atts->xlink_actuate; f_base.far_ptr = base_atts->xlink_actuate; if (!gf_svg_attributes_equal(&f_elt, &f_base)) return 0; f_elt.fieldType = f_base.fieldType = SVG_String_datatype; f_elt.fieldIndex = f_base.fieldIndex = TAG_SVG_ATT_xlink_show; f_elt.far_ptr = elt_atts->xlink_show; f_base.far_ptr = base_atts->xlink_show; if (!gf_svg_attributes_equal(&f_elt, &f_base)) return 0; f_elt.fieldType = f_base.fieldType = SMIL_Times_datatype; f_elt.fieldIndex = f_base.fieldIndex = TAG_SVG_ATT_end; f_elt.far_ptr = elt_atts->end; f_base.far_ptr = base_atts->end; if (!gf_svg_attributes_equal(&f_elt, &f_base)) return 0; f_elt.fieldType = f_base.fieldType = SMIL_Duration_datatype; f_elt.fieldIndex = f_base.fieldIndex = TAG_SVG_ATT_max; f_elt.far_ptr = elt_atts->max; f_base.far_ptr = base_atts->max; if (!gf_svg_attributes_equal(&f_elt, &f_base)) return 0; f_elt.fieldType = f_base.fieldType = SMIL_Duration_datatype; f_elt.fieldIndex = f_base.fieldIndex = TAG_SVG_ATT_min; f_elt.far_ptr = elt_atts->min; f_base.far_ptr = base_atts->min; if (!gf_svg_attributes_equal(&f_elt, &f_base)) return 0; return 1;}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -