📄 nodes_svg_sani.h
字号:
/* * GPAC - Multimedia Framework C SDK * * Authors: Cyril Concolato - Jean Le Feuvre * Copyright (c)2004-200X ENST - All rights reserved * * This file is part of GPAC / SVG Scene Graph sub-project * * GPAC is free software; you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation; either version 2, or (at your option) * any later version. * * GPAC is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; see the file COPYING. If not, write to * the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. * *//* DO NOT MOFIFY - File generated on GMT Mon Apr 23 13:10:06 2007 BY SVGGen for GPAC Version 0.4.3-DEV*/#ifndef _GF_SVG_SANI_NODES_H#define _GF_SVG_SANI_NODES_H#ifdef __cplusplusextern "C" {#endif#include <gpac/scenegraph_svg.h>#ifdef GPAC_ENABLE_SVG_SANI/* Definition of SVG 2 Alternate element internal tags *//* TAG names are made of "TAG_SVG_SANI_" + SVG element name (with - replaced by _) */enum { TAG_SVG_SANI_a = GF_NODE_RANGE_FIRST_SVG_SANI, TAG_SVG_SANI_animate, TAG_SVG_SANI_animateColor, TAG_SVG_SANI_animateMotion, TAG_SVG_SANI_animateTransform, TAG_SVG_SANI_animation, TAG_SVG_SANI_audio, TAG_SVG_SANI_circle, TAG_SVG_SANI_conditional, TAG_SVG_SANI_cursorManager, TAG_SVG_SANI_defs, TAG_SVG_SANI_desc, TAG_SVG_SANI_discard, TAG_SVG_SANI_ellipse, TAG_SVG_SANI_font, TAG_SVG_SANI_font_face, TAG_SVG_SANI_font_face_src, TAG_SVG_SANI_font_face_uri, TAG_SVG_SANI_foreignObject, TAG_SVG_SANI_g, TAG_SVG_SANI_glyph, TAG_SVG_SANI_handler, TAG_SVG_SANI_hkern, TAG_SVG_SANI_image, TAG_SVG_SANI_line, TAG_SVG_SANI_linearGradient, TAG_SVG_SANI_listener, TAG_SVG_SANI_metadata, TAG_SVG_SANI_missing_glyph, TAG_SVG_SANI_mpath, TAG_SVG_SANI_path, TAG_SVG_SANI_polygon, TAG_SVG_SANI_polyline, TAG_SVG_SANI_prefetch, TAG_SVG_SANI_radialGradient, TAG_SVG_SANI_rect, TAG_SVG_SANI_rectClip, TAG_SVG_SANI_script, TAG_SVG_SANI_selector, TAG_SVG_SANI_set, TAG_SVG_SANI_simpleLayout, TAG_SVG_SANI_solidColor, TAG_SVG_SANI_stop, TAG_SVG_SANI_svg, TAG_SVG_SANI_switch, TAG_SVG_SANI_tbreak, TAG_SVG_SANI_text, TAG_SVG_SANI_textArea, TAG_SVG_SANI_title, TAG_SVG_SANI_tspan, TAG_SVG_SANI_use, TAG_SVG_SANI_video, /*undefined elements (when parsing) use this tag*/ TAG_SVG_SANI_UndefinedElement};/******************************************* SVG_SANI_ Elements structure definitions ********************************************/typedef struct _tagSVG_SANI_aElement{ TRANSFORMABLE_SVG_SANI_ELEMENT SVG_Display display; SVG_Visibility visibility; SVG_PointerEvents pointer_events; SVG_ID target;} SVG_SANI_aElement;typedef struct _tagSVG_SANI_animateElement{ BASE_SVG_SANI_ELEMENT} SVG_SANI_animateElement;typedef struct _tagSVG_SANI_animateColorElement{ BASE_SVG_SANI_ELEMENT} SVG_SANI_animateColorElement;typedef struct _tagSVG_SANI_animateMotionElement{ BASE_SVG_SANI_ELEMENT SVG_PathData path; SMIL_KeyPoints keyPoints; SVG_Rotate rotate; SVG_String origin;} SVG_SANI_animateMotionElement;typedef struct _tagSVG_SANI_animateTransformElement{ BASE_SVG_SANI_ELEMENT} SVG_SANI_animateTransformElement;typedef struct _tagSVG_SANI_animationElement{ TRANSFORMABLE_SVG_SANI_ELEMENT SVG_Coordinate x; SVG_Coordinate y; SVG_Length width; SVG_Length height; SVG_PreserveAspectRatio preserveAspectRatio; SVG_InitialVisibility initialVisibility; SVG_Number audio_level; SVG_Display display; SVG_Visibility visibility; SVG_Paint viewport_fill; SVG_Number viewport_fill_opacity;} SVG_SANI_animationElement;typedef struct _tagSVG_SANI_audioElement{ BASE_SVG_SANI_ELEMENT SVG_ContentType type; SVG_Number audio_level; SVG_Display display;} SVG_SANI_audioElement;typedef struct _tagSVG_SANI_circleElement{ TRANSFORMABLE_SVG_SANI_ELEMENT SVG_Display display; SVG_Visibility visibility; SVG_PointerEvents pointer_events; SVG_Number fill_opacity; SVG_Number stroke_opacity; SVG_Paint fill; SVG_FillRule fill_rule; SVG_Paint stroke; SVG_StrokeDashArray stroke_dasharray; SVG_Length stroke_dashoffset; SVG_StrokeLineCap stroke_linecap; SVG_StrokeLineJoin stroke_linejoin; SVG_Number stroke_miterlimit; SVG_Length stroke_width; SVG_VectorEffect vector_effect; SVG_Coordinate cx; SVG_Coordinate cy; SVG_Length r;} SVG_SANI_circleElement;typedef struct _tagSVG_SANI_conditionalElement{ BASE_SVG_SANI_ELEMENT SVGCommandBuffer updates; SVG_Boolean enabled;} SVG_SANI_conditionalElement;typedef struct _tagSVG_SANI_cursorManagerElement{ BASE_SVG_SANI_ELEMENT SVG_Length x; SVG_Length y;} SVG_SANI_cursorManagerElement;typedef struct _tagSVG_SANI_defsElement{ BASE_SVG_SANI_ELEMENT} SVG_SANI_defsElement;typedef struct _tagSVG_SANI_descElement{ BASE_SVG_SANI_ELEMENT} SVG_SANI_descElement;typedef struct _tagSVG_SANI_discardElement{ BASE_SVG_SANI_ELEMENT} SVG_SANI_discardElement;typedef struct _tagSVG_SANI_ellipseElement{ TRANSFORMABLE_SVG_SANI_ELEMENT SVG_Display display; SVG_Visibility visibility; SVG_PointerEvents pointer_events; SVG_Number fill_opacity; SVG_Number stroke_opacity; SVG_Paint fill; SVG_FillRule fill_rule; SVG_Paint stroke; SVG_StrokeDashArray stroke_dasharray; SVG_Length stroke_dashoffset; SVG_StrokeLineCap stroke_linecap; SVG_StrokeLineJoin stroke_linejoin; SVG_Number stroke_miterlimit; SVG_Length stroke_width; SVG_VectorEffect vector_effect; SVG_Length rx; SVG_Length ry; SVG_Coordinate cx; SVG_Coordinate cy;} SVG_SANI_ellipseElement;typedef struct _tagSVG_SANI_fontElement{ BASE_SVG_SANI_ELEMENT SVG_Number horiz_adv_x; SVG_Number horiz_origin_x;} SVG_SANI_fontElement;typedef struct _tagSVG_SANI_font_faceElement{ BASE_SVG_SANI_ELEMENT SVG_FontFamily font_family; SVG_FontStyle font_style; SVG_FontWeight font_weight; SVG_FontVariant font_variant; SVG_String font_stretch; SVG_String unicode_range; SVG_String panose_1; SVG_String widths; SVG_String bbox; SVG_Number units_per_em; SVG_Number stemv; SVG_Number stemh; SVG_Number slope; SVG_Number cap_height; SVG_Number x_height; SVG_Number accent_height; SVG_Number ascent; SVG_Number descent; SVG_Number ideographic; SVG_Number alphabetic; SVG_Number mathematical; SVG_Number hanging; SVG_Number underline_position; SVG_Number underline_thickness; SVG_Number strikethrough_position; SVG_Number strikethrough_thickness; SVG_Number overline_position; SVG_Number overline_thickness;} SVG_SANI_font_faceElement;typedef struct _tagSVG_SANI_font_face_srcElement{ BASE_SVG_SANI_ELEMENT} SVG_SANI_font_face_srcElement;typedef struct _tagSVG_SANI_font_face_uriElement{ BASE_SVG_SANI_ELEMENT} SVG_SANI_font_face_uriElement;typedef struct _tagSVG_SANI_foreignObjectElement{ TRANSFORMABLE_SVG_SANI_ELEMENT SVG_Coordinate x; SVG_Coordinate y; SVG_Length width; SVG_Length height; SVG_Display display; SVG_Visibility visibility;} SVG_SANI_foreignObjectElement;typedef struct _tagSVG_SANI_gElement{ TRANSFORMABLE_SVG_SANI_ELEMENT SVG_Display display; SVG_Visibility visibility;} SVG_SANI_gElement;typedef struct _tagSVG_SANI_glyphElement{ BASE_SVG_SANI_ELEMENT SVG_Number horiz_adv_x; SVG_PathData d; SVG_String unicode; SVG_String glyph_name; SVG_String arabic_form; SVG_LanguageIDs lang;} SVG_SANI_glyphElement;typedef struct _tagSVG_SANI_handlerElement{ BASE_SVG_SANI_ELEMENT SVG_ContentType type; XMLEV_Event ev_event; void (*handle_event)(GF_Node *hdl, GF_DOM_Event *event);} SVG_SANI_handlerElement;typedef struct _tagSVG_SANI_hkernElement{ BASE_SVG_SANI_ELEMENT SVG_String u1; SVG_String g1; SVG_String u2; SVG_String g2; SVG_Number k;} SVG_SANI_hkernElement;typedef struct _tagSVG_SANI_imageElement{ TRANSFORMABLE_SVG_SANI_ELEMENT SVG_Coordinate x; SVG_Coordinate y; SVG_Length width; SVG_Length height; SVG_PreserveAspectRatio preserveAspectRatio; SVG_ContentType type; SVG_Display display; SVG_Visibility visibility; SVG_RenderingHint image_rendering; SVG_PointerEvents pointer_events;} SVG_SANI_imageElement;typedef struct _tagSVG_SANI_lineElement{ TRANSFORMABLE_SVG_SANI_ELEMENT SVG_Display display; SVG_Visibility visibility; SVG_PointerEvents pointer_events; SVG_Number fill_opacity; SVG_Number stroke_opacity; SVG_Paint fill; SVG_FillRule fill_rule; SVG_Paint stroke; SVG_StrokeDashArray stroke_dasharray; SVG_Length stroke_dashoffset; SVG_StrokeLineCap stroke_linecap; SVG_StrokeLineJoin stroke_linejoin; SVG_Number stroke_miterlimit;
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -