Picasso API  2.9
Typedefs | Enumerations
XSvg Object Types

Typedefs

typedef struct _psx_svg psx_svg
 An opaque type represents an svg document. More...
 
typedef struct _psx_svg_render psx_svg_render
 An opaque type represents an svg render object. More...
 
typedef struct _psx_svg_player psx_svg_player
 An opaque type represents an svg animation player. More...
 
typedef void(* psx_svg_anim_event_cb) (psx_svg_anim_event_type type, const char *anim_id, void *user_data)
 The callback for SVG animation event. More...
 

Enumerations

enum  psx_svg_player_state { PSX_SVG_PLAYER_STOPPED = 0, PSX_SVG_PLAYER_PLAYING = 1, PSX_SVG_PLAYER_PAUSED = 2 }
 SVG animation player status. More...
 
enum  psx_svg_anim_event_type { PSX_SVG_ANIM_EVENT_BEGIN = 0, PSX_SVG_ANIM_EVENT_END, PSX_SVG_ANIM_EVENT_REPEAT }
 SVG animation event callback types. More...
 

Detailed Description

Typedef Documentation

◆ psx_svg

An opaque type represents an svg document.

See also
psx_svg_render

Definition at line 48 of file psx_svg.h.

◆ psx_svg_anim_event_cb

psx_svg_anim_event_cb

The callback for SVG animation event.

Parameters
typeThe animation event type.
anim_idThe id of the animation element, can be NULL.
user_dataUser data pointer passed to psx_svg_player_set_event_callback.

Definition at line 91 of file psx_svg_animation.h.

◆ psx_svg_player

An opaque type represents an svg animation player.

See also
psx_svg_render, psx_svg

Definition at line 45 of file psx_svg_animation.h.

◆ psx_svg_render

An opaque type represents an svg render object.

See also
psx_svg

Definition at line 55 of file psx_svg.h.

Enumeration Type Documentation

◆ psx_svg_anim_event_type

SVG animation event callback types.

Enumerator
PSX_SVG_ANIM_EVENT_BEGIN 

SVG animation begin event.

PSX_SVG_ANIM_EVENT_END 

SVG animation end event.

PSX_SVG_ANIM_EVENT_REPEAT 

SVG animation repeat event.

Definition at line 68 of file psx_svg_animation.h.

◆ psx_svg_player_state

SVG animation player status.

Enumerator
PSX_SVG_PLAYER_STOPPED 

Player is stopped.

PSX_SVG_PLAYER_PLAYING 

Player is playing.

PSX_SVG_PLAYER_PAUSED 

Player is paused.

Definition at line 50 of file psx_svg_animation.h.