libgpac
Documentation of the core library of GPAC
svg_types.h File Reference

Data types used for SVG scene graph. More...

#include <gpac/path2d.h>
#include <gpac/events_constants.h>
+ Include dependency graph for svg_types.h:
+ This graph shows which files directly or indirectly include this file:

Data Structures

struct  SMIL_AttributeName
 
struct  XMLEV_Event
 
struct  SMIL_Time
 
struct  SMIL_Duration
 
struct  SMIL_RepeatCount
 
struct  SMIL_AnimateValue
 
struct  SMIL_AnimateValues
 
struct  XMLRI
 
struct  SVG_Focus
 
struct  SVG_FontFamily
 
struct  SVG_Point
 
struct  SVG_Point_Angle
 
struct  SVG_ViewBox
 
struct  SVG_Color
 
struct  SVG_SVGColor
 
struct  SVG_Rotate
 
struct  SVG_Transform
 
struct  UnitArray
 
struct  SVG_StrokeDashArray
 
struct  SVG_PreserveAspectRatio
 
struct  SMIL_SyncTolerance
 
struct  SVG_ClipPath
 
struct  LASeR_Choice
 
struct  LASeR_Size
 
#define GF_SMIL_TIME_IS_CLOCK(v)   (v<=GF_SMIL_TIME_EVENT_RESOLVED)
 
#define GF_SMIL_TIME_IS_SPECIFIED_CLOCK(v)   (v<GF_SMIL_TIME_EVENT_RESOLVED)
 
#define USE_GF_PATH   1
 
enum  {
  SVG_Unknown_datatype = 0 , XML_Space_datatype , XMLEV_Propagate_datatype , XMLEV_DefaultAction_datatype ,
  XMLEV_Phase_datatype , SVG_FillRule_datatype , SVG_StrokeLineJoin_datatype , SVG_StrokeLineCap_datatype ,
  SVG_FontStyle_datatype , SVG_FontWeight_datatype , SVG_FontVariant_datatype , SVG_TextAnchor_datatype ,
  SVG_TransformType_datatype , SVG_Display_datatype , SVG_Visibility_datatype , SVG_Overflow_datatype ,
  SVG_ZoomAndPan_datatype , SVG_DisplayAlign_datatype , SVG_PointerEvents_datatype , SVG_RenderingHint_datatype ,
  SVG_VectorEffect_datatype , SVG_PlaybackOrder_datatype , SVG_TimelineBegin_datatype , SVG_GradientUnit_datatype ,
  SVG_InitialVisibility_datatype , SVG_FocusHighlight_datatype , SVG_Overlay_datatype , SVG_TransformBehavior_datatype ,
  SVG_SpreadMethod_datatype , SVG_TextAlign_datatype , SVG_Focusable_datatype , SVG_Filter_TransferType_datatype ,
  SMIL_SyncBehavior_datatype , SMIL_SyncTolerance_datatype , SMIL_AttributeType_datatype , SMIL_CalcMode_datatype ,
  SMIL_Additive_datatype , SMIL_Accumulate_datatype , SMIL_Restart_datatype , SMIL_Fill_datatype ,
  SVG_ClipPath_datatype , SVG_LAST_U8_PROPERTY , DOM_String_datatype , DOM_StringList_datatype ,
  XMLEV_Event_datatype , XMLRI_datatype , XMLRI_List_datatype , XML_IDREF_datatype ,
  SMIL_KeyTimes_datatype , SMIL_KeySplines_datatype , SMIL_KeyPoints_datatype , SMIL_Times_datatype ,
  SMIL_AnimateValue_datatype , SMIL_AnimateValues_datatype , SMIL_Duration_datatype , SMIL_RepeatCount_datatype ,
  SMIL_AttributeName_datatype , SVG_Number_datatype , SVG_FontSize_datatype , SVG_Length_datatype ,
  SVG_Coordinate_datatype , SVG_Rotate_datatype , SVG_Numbers_datatype , SVG_Points_datatype ,
  SVG_Coordinates_datatype , SVG_Boolean_datatype , SVG_Color_datatype , SVG_Paint_datatype ,
  SVG_PathData_datatype , SVG_FontFamily_datatype , SVG_ID_datatype , SVG_StrokeDashArray_datatype ,
  SVG_PreserveAspectRatio_datatype , SVG_ViewBox_datatype , SVG_GradientOffset_datatype , SVG_Focus_datatype ,
  SVG_Clock_datatype , SVG_ContentType_datatype , SVG_LanguageID_datatype , SVG_Transform_datatype ,
  SVG_Transform_Translate_datatype , SVG_Transform_Scale_datatype , SVG_Transform_SkewX_datatype , SVG_Transform_SkewY_datatype ,
  SVG_Transform_Rotate_datatype , SVG_Motion_datatype , LASeR_Choice_datatype , LASeR_Size_datatype ,
  SVG_Matrix2D_datatype , SVG_NodeList_datatype
}
 Data types used for SVG scene graph. More...
 
enum  {
  GF_SMIL_TIME_CLOCK = 0 , GF_SMIL_TIME_WALLCLOCK = 1 , GF_SMIL_TIME_EVENT_RESOLVED = 2 , GF_SMIL_TIME_EVENT = 3 ,
  GF_SMIL_TIME_INDEFINITE = 4
}
 
enum  {
  SMIL_DURATION_AUTO = 0 , SMIL_DURATION_INDEFINITE , SMIL_DURATION_MEDIA , SMIL_DURATION_NONE ,
  SMIL_DURATION_DEFINED
}
 
enum  { SMIL_RESTART_ALWAYS = 0 , SMIL_RESTART_NEVER , SMIL_RESTART_WHENNOTACTIVE }
 
enum  { SMIL_FILL_FREEZE =0 , SMIL_FILL_REMOVE }
 
enum  { SMIL_REPEATCOUNT_INDEFINITE = 0 , SMIL_REPEATCOUNT_DEFINED = 1 , SMIL_REPEATCOUNT_UNSPECIFIED = 2 }
 
enum  { SMIL_ADDITIVE_REPLACE = 0 , SMIL_ADDITIVE_SUM }
 
enum  { SMIL_ACCUMULATE_NONE = 0 , SMIL_ACCUMULATE_SUM }
 
enum  { SMIL_CALCMODE_DISCRETE = 0 , SMIL_CALCMODE_LINEAR , SMIL_CALCMODE_PACED , SMIL_CALCMODE_SPLINE }
 
enum  { XMLRI_ELEMENTID = 0 , XMLRI_STRING , XMLRI_STREAMID }
 
enum  { SVG_FOCUS_AUTO = 0 , SVG_FOCUS_SELF , SVG_FOCUS_IRI }
 
enum  { SVG_FONTFAMILY_INHERIT = 0 , SVG_FONTFAMILY_VALUE }
 
enum  { SVG_FONTSTYLE_INHERIT = 0 , SVG_FONTSTYLE_ITALIC = 1 , SVG_FONTSTYLE_NORMAL = 2 , SVG_FONTSTYLE_OBLIQUE = 3 }
 
enum  {
  SVG_PATHCOMMAND_M = 3 , SVG_PATHCOMMAND_L = 2 , SVG_PATHCOMMAND_C = 0 , SVG_PATHCOMMAND_S = 5 ,
  SVG_PATHCOMMAND_Q = 4 , SVG_PATHCOMMAND_T = 6 , SVG_PATHCOMMAND_A = 20 , SVG_PATHCOMMAND_Z = 8
}
 
enum  { SVG_FILLRULE_EVENODD = 0 , SVG_FILLRULE_NONZERO , SVG_FILLRULE_INHERIT }
 
enum  { SVG_STROKELINEJOIN_MITER = GF_LINE_JOIN_MITER_SVG , SVG_STROKELINEJOIN_ROUND = GF_LINE_JOIN_ROUND , SVG_STROKELINEJOIN_BEVEL = GF_LINE_JOIN_BEVEL , SVG_STROKELINEJOIN_INHERIT = 100 }
 
enum  { SVG_STROKELINECAP_BUTT = GF_LINE_CAP_FLAT , SVG_STROKELINECAP_ROUND = GF_LINE_CAP_ROUND , SVG_STROKELINECAP_SQUARE = GF_LINE_CAP_SQUARE , SVG_STROKELINECAP_INHERIT = 100 }
 
enum  {
  SVG_OVERFLOW_INHERIT = 0 , SVG_OVERFLOW_VISIBLE = 1 , SVG_OVERFLOW_HIDDEN = 2 , SVG_OVERFLOW_SCROLL = 3 ,
  SVG_OVERFLOW_AUTO = 4
}
 
enum  {
  SVG_COLOR_RGBCOLOR = 0 , SVG_COLOR_INHERIT , SVG_COLOR_CURRENTCOLOR , SVG_COLOR_ACTIVE_BORDER ,
  SVG_COLOR_ACTIVE_CAPTION , SVG_COLOR_APP_WORKSPACE , SVG_COLOR_BACKGROUND , SVG_COLOR_BUTTON_FACE ,
  SVG_COLOR_BUTTON_HIGHLIGHT , SVG_COLOR_BUTTON_SHADOW , SVG_COLOR_BUTTON_TEXT , SVG_COLOR_CAPTION_TEXT ,
  SVG_COLOR_GRAY_TEXT , SVG_COLOR_HIGHLIGHT , SVG_COLOR_HIGHLIGHT_TEXT , SVG_COLOR_INACTIVE_BORDER ,
  SVG_COLOR_INACTIVE_CAPTION , SVG_COLOR_INACTIVE_CAPTION_TEXT , SVG_COLOR_INFO_BACKGROUND , SVG_COLOR_INFO_TEXT ,
  SVG_COLOR_MENU , SVG_COLOR_MENU_TEXT , SVG_COLOR_SCROLLBAR , SVG_COLOR_3D_DARK_SHADOW ,
  SVG_COLOR_3D_FACE , SVG_COLOR_3D_HIGHLIGHT , SVG_COLOR_3D_LIGHT_SHADOW , SVG_COLOR_3D_SHADOW ,
  SVG_COLOR_WINDOW , SVG_COLOR_WINDOW_FRAME , SVG_COLOR_WINDOW_TEXT
}
 
enum  { SVG_PAINT_NONE = 0 , SVG_PAINT_COLOR = 1 , SVG_PAINT_URI = 2 , SVG_PAINT_INHERIT = 3 }
 
enum  {
  SVG_NUMBER_VALUE = 0 , SVG_NUMBER_PERCENTAGE = 1 , SVG_NUMBER_EMS = 2 , SVG_NUMBER_EXS = 3 ,
  SVG_NUMBER_PX = 4 , SVG_NUMBER_CM = 5 , SVG_NUMBER_MM = 6 , SVG_NUMBER_IN = 7 ,
  SVG_NUMBER_PT = 8 , SVG_NUMBER_PC = 9 , SVG_NUMBER_INHERIT = 10 , SVG_NUMBER_AUTO = 11 ,
  SVG_NUMBER_AUTO_REVERSE = 12
}
 
enum  {
  SVG_TRANSFORM_MATRIX = 0 , SVG_TRANSFORM_TRANSLATE = 1 , SVG_TRANSFORM_SCALE = 2 , SVG_TRANSFORM_ROTATE = 3 ,
  SVG_TRANSFORM_SKEWX = 4 , SVG_TRANSFORM_SKEWY = 5
}
 
enum  {
  SVG_FONTWEIGHT_100 = 0 , SVG_FONTWEIGHT_200 , SVG_FONTWEIGHT_300 , SVG_FONTWEIGHT_400 ,
  SVG_FONTWEIGHT_500 , SVG_FONTWEIGHT_600 , SVG_FONTWEIGHT_700 , SVG_FONTWEIGHT_800 ,
  SVG_FONTWEIGHT_900 , SVG_FONTWEIGHT_BOLD , SVG_FONTWEIGHT_BOLDER , SVG_FONTWEIGHT_INHERIT ,
  SVG_FONTWEIGHT_LIGHTER , SVG_FONTWEIGHT_NORMAL
}
 
enum  { SVG_FONTVARIANT_INHERIT = 0 , SVG_FONTVARIANT_NORMAL = 1 , SVG_FONTVARIANT_SMALLCAPS = 2 }
 
enum  { SVG_VISIBILITY_HIDDEN = 0 , SVG_VISIBILITY_INHERIT = 1 , SVG_VISIBILITY_VISIBLE = 2 , SVG_VISIBILITY_COLLAPSE = 3 }
 
enum  {
  SVG_DISPLAY_INHERIT = 0 , SVG_DISPLAY_NONE = 1 , SVG_DISPLAY_INLINE = 2 , SVG_DISPLAY_BLOCK ,
  SVG_DISPLAY_LIST_ITEM , SVG_DISPLAY_RUN_IN , SVG_DISPLAY_COMPACT , SVG_DISPLAY_MARKER ,
  SVG_DISPLAY_TABLE , SVG_DISPLAY_INLINE_TABLE , SVG_DISPLAY_TABLE_ROW_GROUP , SVG_DISPLAY_TABLE_HEADER_GROUP ,
  SVG_DISPLAY_TABLE_FOOTER_GROUP , SVG_DISPLAY_TABLE_ROW , SVG_DISPLAY_TABLE_COLUMN_GROUP , SVG_DISPLAY_TABLE_COLUMN ,
  SVG_DISPLAY_TABLE_CELL , SVG_DISPLAY_TABLE_CAPTION
}
 
enum  {
  SVG_DISPLAYALIGN_INHERIT = 0 , SVG_DISPLAYALIGN_AUTO = 1 , SVG_DISPLAYALIGN_AFTER = 2 , SVG_DISPLAYALIGN_BEFORE = 3 ,
  SVG_DISPLAYALIGN_CENTER = 4
}
 
enum  { SVG_TEXTALIGN_INHERIT = 0 , SVG_TEXTALIGN_START = 1 , SVG_TEXTALIGN_CENTER = 2 , SVG_TEXTALIGN_END = 3 }
 
enum  { SVG_STROKEDASHARRAY_NONE = 0 , SVG_STROKEDASHARRAY_INHERIT = 1 , SVG_STROKEDASHARRAY_ARRAY = 2 }
 
enum  { SVG_TEXTANCHOR_INHERIT = 0 , SVG_TEXTANCHOR_END = 1 , SVG_TEXTANCHOR_MIDDLE = 2 , SVG_TEXTANCHOR_START = 3 }
 
enum  {
  SVG_ANGLETYPE_UNKNOWN = 0 , SVG_ANGLETYPE_UNSPECIFIED = 1 , SVG_ANGLETYPE_DEG = 2 , SVG_ANGLETYPE_RAD = 3 ,
  SVG_ANGLETYPE_GRAD = 4
}
 
enum  { SVG_UNIT_TYPE_UNKNOWN = 0 , SVG_UNIT_TYPE_USERSPACEONUSE = 1 , SVG_UNIT_TYPE_OBJECTBOUNDINGBOX = 2 }
 
enum  {
  SVG_PRESERVEASPECTRATIO_NONE = 1 , SVG_PRESERVEASPECTRATIO_XMINYMIN = 2 , SVG_PRESERVEASPECTRATIO_XMIDYMIN = 3 , SVG_PRESERVEASPECTRATIO_XMAXYMIN = 4 ,
  SVG_PRESERVEASPECTRATIO_XMINYMID = 5 , SVG_PRESERVEASPECTRATIO_XMIDYMID = 0 , SVG_PRESERVEASPECTRATIO_XMAXYMID = 6 , SVG_PRESERVEASPECTRATIO_XMINYMAX = 7 ,
  SVG_PRESERVEASPECTRATIO_XMIDYMAX = 8 , SVG_PRESERVEASPECTRATIO_XMAXYMAX = 9
}
 
enum  { SVG_MEETORSLICE_MEET = 0 , SVG_MEETORSLICE_SLICE = 1 }
 
enum  { SVG_ZOOMANDPAN_DISABLE = 0 , SVG_ZOOMANDPAN_MAGNIFY }
 
enum  { LENGTHADJUST_UNKNOWN = 0 , LENGTHADJUST_SPACING = 1 , LENGTHADJUST_SPACINGANDGLYPHS = 2 }
 
enum  { TEXTPATH_METHODTYPE_UNKNOWN = 0 , TEXTPATH_METHODTYPE_ALIGN = 1 , TEXTPATH_METHODTYPE_STRETCH = 2 }
 
enum  { TEXTPATH_SPACINGTYPE_UNKNOWN = 0 , TEXTPATH_SPACINGTYPE_AUTO = 1 , TEXTPATH_SPACINGTYPE_EXACT = 2 }
 
enum  { SVG_MARKERUNITS_UNKNOWN = 0 , SVG_MARKERUNITS_USERSPACEONUSE = 1 , SVG_MARKERUNITS_STROKEWIDTH = 2 }
 
enum  { SVG_MARKER_ORIENT_UNKNOWN = 0 , SVG_MARKER_ORIENT_AUTO = 1 , SVG_MARKER_ORIENT_ANGLE = 2 }
 
enum  { SVG_SPREADMETHOD_UNKNOWN = 0 , SVG_SPREADMETHOD_PAD = 1 , SVG_SPREADMETHOD_REFLECT = 2 , SVG_SPREADMETHOD_REPEAT = 3 }
 
enum  {
  SVG_POINTEREVENTS_INHERIT = 0 , SVG_POINTEREVENTS_ALL = 1 , SVG_POINTEREVENTS_FILL = 2 , SVG_POINTEREVENTS_NONE = 3 ,
  SVG_POINTEREVENTS_PAINTED = 4 , SVG_POINTEREVENTS_STROKE = 5 , SVG_POINTEREVENTS_VISIBLE = 6 , SVG_POINTEREVENTS_VISIBLEFILL = 7 ,
  SVG_POINTEREVENTS_VISIBLEPAINTED = 8 , SVG_POINTEREVENTS_VISIBLESTROKE = 9 , SVG_POINTEREVENTS_BOUNDINGBOX = 10
}
 
enum  {
  SVG_RENDERINGHINT_INHERIT = 0 , SVG_RENDERINGHINT_AUTO = 1 , SVG_RENDERINGHINT_OPTIMIZEQUALITY = 2 , SVG_RENDERINGHINT_OPTIMIZESPEED = 3 ,
  SVG_RENDERINGHINT_OPTIMIZELEGIBILITY = 4 , SVG_RENDERINGHINT_CRISPEDGES = 5 , SVG_RENDERINGHINT_GEOMETRICPRECISION = 6
}
 
enum  { SVG_VECTOREFFECT_INHERIT = 0 , SVG_VECTOREFFECT_NONE = 1 , SVG_VECTOREFFECT_NONSCALINGSTROKE = 2 }
 
enum  { XMLEVENT_PROPAGATE_CONTINUE = 0 , XMLEVENT_PROPAGATE_STOP = 1 }
 
enum  { XMLEVENT_DEFAULTACTION_CANCEL = 0 , XMLEVENT_DEFAULTACTION_PERFORM }
 
enum  { XMLEVENT_PHASE_DEFAULT = 0 , XMLEVENT_PHASE_CAPTURE = 1 }
 
enum  {
  SMIL_SYNCBEHAVIOR_INHERIT = 0 , SMIL_SYNCBEHAVIOR_CANSLIP , SMIL_SYNCBEHAVIOR_DEFAULT , SMIL_SYNCBEHAVIOR_INDEPENDENT ,
  SMIL_SYNCBEHAVIOR_LOCKED
}
 
enum  { SMIL_SYNCTOLERANCE_INHERIT = 0 , SMIL_SYNCTOLERANCE_DEFAULT = 1 , SMIL_SYNCTOLERANCE_VALUE = 2 }
 
enum  { SMIL_ATTRIBUTETYPE_CSS = 0 , SMIL_ATTRIBUTETYPE_XML , SMIL_ATTRIBUTETYPE_AUTO }
 
enum  { SVG_PLAYBACKORDER_ALL = 0 , SVG_PLAYBACKORDER_FORWARDONLY = 1 }
 
enum  { SVG_TIMELINEBEGIN_ONLOAD =0 , SVG_TIMELINEBEGIN_ONSTART }
 
enum  { XML_SPACE_DEFAULT = 0 , XML_SPACE_PRESERVE = 1 }
 
enum  { SVG_GRADIENTUNITS_OBJECT = 0 , SVG_GRADIENTUNITS_USER = 1 }
 
enum  { SVG_FOCUSHIGHLIGHT_AUTO = 0 , SVG_FOCUSHIGHLIGHT_NONE = 1 }
 
enum  { SVG_INITIALVISIBILTY_WHENSTARTED = 0 , SVG_INITIALVISIBILTY_ALWAYS = 1 }
 
enum  {
  SVG_TRANSFORMBEHAVIOR_GEOMETRIC = 0 , SVG_TRANSFORMBEHAVIOR_PINNED , SVG_TRANSFORMBEHAVIOR_PINNED180 , SVG_TRANSFORMBEHAVIOR_PINNED270 ,
  SVG_TRANSFORMBEHAVIOR_PINNED90
}
 
enum  { SVG_OVERLAY_NONE = 0 , SVG_OVERLAY_TOP }
 
enum  { SVG_FOCUSABLE_AUTO = 0 , SVG_FOCUSABLE_FALSE , SVG_FOCUSABLE_TRUE }
 
enum  {
  SVG_FILTER_TRANSFER_IDENTITY , SVG_FILTER_TRANSFER_TABLE , SVG_FILTER_TRANSFER_DISCRETE , SVG_FILTER_TRANSFER_LINEAR ,
  SVG_FILTER_TRANSFER_GAMMA , SVG_FILTER_TRANSFER_FRACTAL_NOISE , SVG_FILTER_TRANSFER_TURBULENCE , SVG_FILTER_MX_MATRIX ,
  SVG_FILTER_MX_SATURATE , SVG_FILTER_HUE_ROTATE , SVG_FILTER_LUM_TO_ALPHA
}
 
enum  { SVG_SPREAD_PAD = 0 , SVG_SPREAD_REFLECT , SVG_SPREAD_REPEAT }
 
enum  { LASeR_CHOICE_ALL = 0 , LASeR_CHOICE_NONE = 1 , LASeR_CHOICE_N = 2 }
 
typedef u8 SMIL_Restart
 
typedef u8 SMIL_Fill
 
typedef u8 SMIL_Additive
 
typedef u8 SMIL_Accumulate
 
typedef u8 SMIL_CalcMode
 
typedef struct __xml_ri XML_IDREF
 
typedef u8 SVG_FontStyle
 
typedef GF_Path SVG_PathData
 
typedef Bool SVG_Boolean
 
typedef u8 SVG_FillRule
 
typedef u8 SVG_StrokeLineJoin
 
typedef u8 SVG_StrokeLineCap
 
typedef u8 SVG_Overflow
 
typedef u8 SVG_TransformType
 
typedef u8 SVG_FontWeight
 
typedef u8 SVG_FontVariant
 
typedef u8 SVG_Visibility
 
typedef u8 SVG_Display
 
typedef u8 SVG_DisplayAlign
 
typedef u8 SVG_TextAlign
 
typedef u8 SVG_TextAnchor
 
typedef u8 SVG_ZoomAndPan
 
typedef u8 SVG_PointerEvents
 
typedef u8 SVG_RenderingHint
 
typedef u8 SVG_VectorEffect
 
typedef u8 XMLEV_Propagate
 
typedef u8 XMLEV_DefaultAction
 
typedef u8 XMLEV_Phase
 
typedef u8 SMIL_SyncBehavior
 
typedef u8 SMIL_AttributeType
 
typedef u8 SVG_PlaybackOrder
 
typedef u8 SVG_TimelineBegin
 
typedef u8 XML_Space
 
typedef u8 SVG_GradientUnit
 
typedef u8 SVG_FocusHighlight
 
typedef u8 SVG_InitialVisibility
 
typedef u8 SVG_TransformBehavior
 
typedef u8 SVG_Overlay
 
typedef u8 SVG_Focusable
 
typedef u8 SVG_Filter_TransferType
 
typedef u8 SVG_SpreadMethod
 

Detailed Description

>


Data Structure Documentation

◆ SMIL_AttributeName

struct SMIL_AttributeName

SMIL Anim types

Data Fields
u32 type
void * field_ptr
char * name
u32 tag

◆ XMLEV_Event

struct XMLEV_Event

XML event

Data Fields
GF_EventType type
u32 parameter

◆ SMIL_Time

struct SMIL_Time

SMIL time

+ Collaboration diagram for SMIL_Time:
Data Fields
u8 type
GF_Node * element
char * element_id
GF_Node * listener
XMLEV_Event event
Bool is_absolute_event
Double clock

◆ SMIL_Duration

struct SMIL_Duration

SMIL duration

Data Fields
u8 type
Double clock_value

◆ SMIL_RepeatCount

struct SMIL_RepeatCount

SMIL repeat count

Data Fields
u8 type
Fixed count

◆ SMIL_AnimateValue

struct SMIL_AnimateValue

SMIL animate value

Data Fields
u8 type
void * value

◆ SMIL_AnimateValues

struct SMIL_AnimateValues

SMIL animate values

Data Fields
u8 type
u8 laser_strings
GF_List * values

◆ XMLRI

struct XMLRI

XMLRI object

Data Fields
u8 type
char * string
void * target
u32 lsr_stream_id
u32 node_id

◆ SVG_Focus

struct SVG_Focus

SVG focus attribute

+ Collaboration diagram for SVG_Focus:
Data Fields
u8 type
XMLRI target

◆ SVG_FontFamily

struct SVG_FontFamily

SVG font attribute

Data Fields
u8 type
SVG_String value

◆ SVG_Point

struct SVG_Point

SVG point

Data Fields
Fixed x
Fixed y

◆ SVG_Point_Angle

struct SVG_Point_Angle

SVG point+angle

Data Fields
Fixed x
Fixed y
Fixed angle

◆ SVG_ViewBox

struct SVG_ViewBox

SVG ViewBox

Data Fields
Bool is_set
Fixed x
Fixed y
Fixed width
Fixed height

◆ SVG_Color

struct SVG_Color

SVG color

Data Fields
u8 type
Fixed red
Fixed green
Fixed blue

◆ __svg_color

struct __svg_color

SVG paint attribute

SVG color attribute

+ Collaboration diagram for SVG_SVGColor:
Data Fields
u8 type
SVG_Color color
XMLRI iri

◆ __svg_number

struct __svg_number

SVG number

SVG font size

SVG length

SVG coordinate

SVG rotation

Data Fields
u8 type
Fixed value

◆ SVG_Transform

struct SVG_Transform

SVG transform

+ Collaboration diagram for SVG_Transform:
Data Fields
u8 is_ref
GF_Matrix2D mat

◆ UnitArray

struct UnitArray

SVG unit array

Data Fields
u32 count
Fixed * vals
u8 * units

◆ SVG_StrokeDashArray

struct SVG_StrokeDashArray

SVG stroke dash array

+ Collaboration diagram for SVG_StrokeDashArray:
Data Fields
u8 type
UnitArray array

◆ SVG_PreserveAspectRatio

struct SVG_PreserveAspectRatio

SVG preserve aspect ratio

Data Fields
Bool defer
u8 align
u8 meetOrSlice

◆ SMIL_SyncTolerance

struct SMIL_SyncTolerance

SMIL sync tolerance

Data Fields
u8 type
SVG_Clock value

◆ SVG_ClipPath

struct SVG_ClipPath

SVG clip-path attribute

+ Collaboration diagram for SVG_ClipPath:
Data Fields
XMLRI target

◆ LASeR_Choice

struct LASeR_Choice

LASeR choice

Data Fields
u32 type
u32 choice_index

◆ LASeR_Size

struct LASeR_Size

LASeR size

Data Fields
Fixed width
Fixed height

Macro Definition Documentation

◆ GF_SMIL_TIME_IS_CLOCK

#define GF_SMIL_TIME_IS_CLOCK (   v)    (v<=GF_SMIL_TIME_EVENT_RESOLVED)

macro to check if a SMIL time is a clock value

◆ GF_SMIL_TIME_IS_SPECIFIED_CLOCK

#define GF_SMIL_TIME_IS_SPECIFIED_CLOCK (   v)    (v<GF_SMIL_TIME_EVENT_RESOLVED)

macro to check if a SMIL time is a resolved clock value

◆ USE_GF_PATH

#define USE_GF_PATH   1

macros to use GF_Path directly as SVG path

Typedef Documentation

◆ SMIL_Restart

typedef u8 SMIL_Restart

SMIL restart

◆ SMIL_Fill

typedef u8 SMIL_Fill

SMIL fill

◆ SMIL_Additive

typedef u8 SMIL_Additive

SMIL additive

◆ SMIL_Accumulate

SMIL accumulate

◆ SMIL_CalcMode

typedef u8 SMIL_CalcMode

SMIL calc mode

◆ XML_IDREF

typedef struct __xml_ri XML_IDREF

XML IDREF object

Note
the same structure is used to watch for IDREF changes (LASeR node replace)

◆ SVG_FontStyle

typedef u8 SVG_FontStyle

SVG fontstyle attribute

◆ SVG_PathData

SVG path data

◆ SVG_Boolean

typedef Bool SVG_Boolean

SVG Boolean

◆ SVG_FillRule

typedef u8 SVG_FillRule

SVG fill rule

◆ SVG_StrokeLineJoin

SVG stroke line join

◆ SVG_StrokeLineCap

SVG stroke line cap

◆ SVG_Overflow

typedef u8 SVG_Overflow

SVG overflow

◆ SVG_TransformType

SVG transform type

◆ SVG_FontWeight

typedef u8 SVG_FontWeight

SVG font weight

◆ SVG_FontVariant

SVG font variant

◆ SVG_Visibility

typedef u8 SVG_Visibility

SVG visibility

◆ SVG_Display

typedef u8 SVG_Display

SVG display

◆ SVG_DisplayAlign

SVG display alignment

◆ SVG_TextAlign

typedef u8 SVG_TextAlign

SVG text alignment

◆ SVG_TextAnchor

typedef u8 SVG_TextAnchor

SVG text anchor

◆ SVG_ZoomAndPan

typedef u8 SVG_ZoomAndPan

SVG zoom and pan

◆ SVG_PointerEvents

SVG pointer events

◆ SVG_RenderingHint

SVG rendering hints

◆ SVG_VectorEffect

SVG vector effect

◆ XMLEV_Propagate

DOM Event propagate

◆ XMLEV_DefaultAction

DOM Event default action

◆ XMLEV_Phase

typedef u8 XMLEV_Phase

DOM Event phase

◆ SMIL_SyncBehavior

SMIL sync behavior

◆ SMIL_AttributeType

SMIL attribute type

◆ SVG_PlaybackOrder

SVG playback order

◆ SVG_TimelineBegin

SVG timeline begin

◆ XML_Space

typedef u8 XML_Space

XML space type

◆ SVG_GradientUnit

SVG gradient unit

◆ SVG_FocusHighlight

SVG focus highlight

◆ SVG_InitialVisibility

SVG initial visibility

◆ SVG_TransformBehavior

SVG transform behavior

◆ SVG_Overlay

typedef u8 SVG_Overlay

SVG overlay

◆ SVG_Focusable

typedef u8 SVG_Focusable

SVG focusable

◆ SVG_Filter_TransferType

SVG filter transfer type

◆ SVG_SpreadMethod

SVG spread method

Enumeration Type Documentation

◆ anonymous enum

anonymous enum

SMIL time types

◆ anonymous enum

anonymous enum

SMIL duration types

◆ anonymous enum

anonymous enum

SMIL retart types

◆ anonymous enum

anonymous enum

SMIL fill types

◆ anonymous enum

anonymous enum

SMIL repeatcount types

◆ anonymous enum

anonymous enum

SMIL additive types

◆ anonymous enum

anonymous enum

SMIL accumulate types

◆ anonymous enum

anonymous enum

SMIL calcmode types

◆ anonymous enum

anonymous enum

XMLRI types

◆ anonymous enum

anonymous enum

SVG focus types

◆ anonymous enum

anonymous enum

SVG fontfamiliy types

◆ anonymous enum

anonymous enum

SVG fontstyle types

◆ anonymous enum

anonymous enum

SVG path commands types

Note
the values are chosen to match LASeR code points

◆ anonymous enum

anonymous enum

SVG fill rule types

◆ anonymous enum

anonymous enum

SVG stroke line join types

◆ anonymous enum

anonymous enum

SVG stroke line cap types

Warning
GPAC naming is not the same as SVG naming for line cap Flat = butt and Butt = square

◆ anonymous enum

anonymous enum

SVG overflow types

◆ anonymous enum

anonymous enum

SVG color types

◆ anonymous enum

anonymous enum

SVG paint types

◆ anonymous enum

anonymous enum

SVG number types

◆ anonymous enum

anonymous enum

SVG transform types

◆ anonymous enum

anonymous enum

SVG fontweight types

◆ anonymous enum

anonymous enum

SVG fontvariant types

◆ anonymous enum

anonymous enum

SVG visibility types

◆ anonymous enum

anonymous enum

SVG display types

◆ anonymous enum

anonymous enum

SVG display-align types

◆ anonymous enum

anonymous enum

SVG text-align types

◆ anonymous enum

anonymous enum

SVG stroke dash array types

◆ anonymous enum

anonymous enum

SVG text anchor types

◆ anonymous enum

anonymous enum

SVG angle types

◆ anonymous enum

anonymous enum

SVG unit-type types

◆ anonymous enum

anonymous enum

SVG preserve aspect ratio types

◆ anonymous enum

anonymous enum

SVG meet or slice types

◆ anonymous enum

anonymous enum

SVG zoom and pan types

◆ anonymous enum

anonymous enum

SVG lenght adjust types

◆ anonymous enum

anonymous enum

SVG textPath methods types

◆ anonymous enum

anonymous enum

SVG textPath spacing types

◆ anonymous enum

anonymous enum

SVG Marker Unit types

◆ anonymous enum

anonymous enum

SVG Marker Orientation types

◆ anonymous enum

anonymous enum

SVG Spread Method types

◆ anonymous enum

anonymous enum

SVG pointer events types

◆ anonymous enum

anonymous enum

SVG rendering hints types

◆ anonymous enum

anonymous enum

SVG vector effect types

◆ anonymous enum

anonymous enum

XML event propagate types

◆ anonymous enum

anonymous enum

XML event default action types

◆ anonymous enum

anonymous enum

XML event phase types

◆ anonymous enum

anonymous enum

SMIL sync behavior types

◆ anonymous enum

anonymous enum

SMIL sync tolerance types

◆ anonymous enum

anonymous enum

SMIL attributeType types

◆ anonymous enum

anonymous enum

SVG playbackorder types

◆ anonymous enum

anonymous enum

SVG timeline begin types

◆ anonymous enum

anonymous enum

XML space types

◆ anonymous enum

anonymous enum

SVG gradient units types

◆ anonymous enum

anonymous enum

SVG focus highlight types

◆ anonymous enum

anonymous enum

SVG initial visibility types

◆ anonymous enum

anonymous enum

SVG transform behavior types

◆ anonymous enum

anonymous enum

SVG overlay types

◆ anonymous enum

anonymous enum

SVG focusable types

◆ anonymous enum

anonymous enum

SVG filter transfer types

◆ anonymous enum

anonymous enum

SVG spread types

◆ anonymous enum

anonymous enum

LASeR choice types