1
#ifndef __SP_ANIMATION_H__
2
#define __SP_ANIMATION_H__
5
* SVG <animate> implementation
8
* Lauris Kaplinski <lauris@kaplinski.com>
10
* Copyright (C) 2002 Lauris Kaplinski
12
* Released under GNU GPL, read the file 'COPYING' for more information
15
#include "sp-object.h"
19
/* Animation base class */
21
#define SP_TYPE_ANIMATION (sp_animation_get_type ())
22
#define SP_ANIMATION(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), SP_TYPE_ANIMATION, SPAnimation))
23
#define SP_IS_ANIMATION(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), SP_TYPE_ANIMATION))
25
typedef struct _SPAnimation SPAnimation;
26
typedef struct _SPAnimationClass SPAnimationClass;
32
struct _SPAnimationClass {
33
SPObjectClass parent_class;
36
GType sp_animation_get_type (void);
38
/* Interpolated animation base class */
40
#define SP_TYPE_IANIMATION (sp_ianimation_get_type ())
41
#define SP_IANIMATION(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), SP_TYPE_IANIMATION, SPIAnimation))
42
#define SP_IS_IANIMATION(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), SP_TYPE_IANIMATION))
44
typedef struct _SPIAnimation SPIAnimation;
45
typedef struct _SPIAnimationClass SPIAnimationClass;
47
struct _SPIAnimation {
48
SPAnimation animation;
51
struct _SPIAnimationClass {
52
SPAnimationClass parent_class;
55
GType sp_ianimation_get_type (void);
59
#define SP_TYPE_ANIMATE (sp_animate_get_type ())
60
#define SP_ANIMATE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), SP_TYPE_ANIMATE, SPAnimate))
61
#define SP_IS_ANIMATE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), SP_TYPE_ANIMATE))
63
typedef struct _SPAnimate SPAnimate;
64
typedef struct _SPAnimateClass SPAnimateClass;
67
SPIAnimation animation;
70
struct _SPAnimateClass {
71
SPIAnimationClass parent_class;
74
GType sp_animate_get_type (void);