~valavanisalex/ubuntu/oneiric/inkscape/inkscape_0.48.1-2ubuntu5

« back to all changes in this revision

Viewing changes to src/sp-animation.h

  • Committer: Bazaar Package Importer
  • Author(s): Wolfram Quester
  • Date: 2004-06-02 10:35:45 UTC
  • Revision ID: james.westby@ubuntu.com-20040602103545-q3x0q6xd2k1yj0fr
Tags: upstream-0.38.1
ImportĀ upstreamĀ versionĀ 0.38.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#ifndef __SP_ANIMATION_H__
 
2
#define __SP_ANIMATION_H__
 
3
 
 
4
/*
 
5
 * SVG <animate> implementation
 
6
 *
 
7
 * Authors:
 
8
 *   Lauris Kaplinski <lauris@kaplinski.com>
 
9
 *
 
10
 * Copyright (C) 2002 Lauris Kaplinski
 
11
 *
 
12
 * Released under GNU GPL, read the file 'COPYING' for more information
 
13
 */
 
14
 
 
15
#include "sp-object.h"
 
16
 
 
17
 
 
18
 
 
19
/* Animation base class */
 
20
 
 
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))
 
24
 
 
25
typedef struct _SPAnimation SPAnimation;
 
26
typedef struct _SPAnimationClass SPAnimationClass;
 
27
 
 
28
struct _SPAnimation {
 
29
        SPObject object;
 
30
};
 
31
 
 
32
struct _SPAnimationClass {
 
33
        SPObjectClass parent_class;
 
34
};
 
35
 
 
36
GType sp_animation_get_type (void);
 
37
 
 
38
/* Interpolated animation base class */
 
39
 
 
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))
 
43
 
 
44
typedef struct _SPIAnimation SPIAnimation;
 
45
typedef struct _SPIAnimationClass SPIAnimationClass;
 
46
 
 
47
struct _SPIAnimation {
 
48
        SPAnimation animation;
 
49
};
 
50
 
 
51
struct _SPIAnimationClass {
 
52
        SPAnimationClass parent_class;
 
53
};
 
54
 
 
55
GType sp_ianimation_get_type (void);
 
56
 
 
57
/* SVG <animate> */
 
58
 
 
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))
 
62
 
 
63
typedef struct _SPAnimate SPAnimate;
 
64
typedef struct _SPAnimateClass SPAnimateClass;
 
65
 
 
66
struct _SPAnimate {
 
67
        SPIAnimation animation;
 
68
};
 
69
 
 
70
struct _SPAnimateClass {
 
71
        SPIAnimationClass parent_class;
 
72
};
 
73
 
 
74
GType sp_animate_get_type (void);
 
75
 
 
76
 
 
77
 
 
78
#endif