~ubuntu-branches/ubuntu/saucy/librsvg/saucy

« back to all changes in this revision

Viewing changes to rsvg.h

  • Committer: Package Import Robot
  • Author(s): Michael Biebl
  • Date: 2013-05-24 19:34:11 UTC
  • mfrom: (34.1.3 experimental)
  • Revision ID: package-import@ubuntu.com-20130524193411-olwciye7zzv94ygi
Tags: 2.36.4-2
* Upload to unstable.
* Drop Build-Conflicts against valac-0.16 again. With valac-0.20 now being
  the default this is no longer necessary.
* Drop explicit Build-Depends on gir1.2-glib-2.0 and gir1.2-freedesktop.
  Those are pulled in by libgirepository1.0-dev.
* Bump Standards-Version to 3.9.4. No further changes.

Show diffs side-by-side

added added

removed removed

Lines of Context:
26
26
#ifndef RSVG_H
27
27
#define RSVG_H
28
28
 
 
29
#define __RSVG_RSVG_H_INSIDE__
 
30
 
29
31
#include <glib-object.h>
30
32
#include <gio/gio.h>
31
33
 
51
53
GType rsvg_handle_get_type (void);
52
54
 
53
55
/**
 
56
 * RsvgError:
 
57
 *
54
58
 * An enumeration representing possible error domains
55
59
 */
56
60
typedef enum {
57
61
    RSVG_ERROR_FAILED
58
62
} RsvgError;
59
63
 
60
 
/**
61
 
 * 
62
 
 */
63
64
#define RSVG_ERROR (rsvg_error_quark ())
64
65
GQuark rsvg_error_quark (void) G_GNUC_CONST;
65
66
 
66
67
/**
 
68
 * RsvgHandle:
 
69
 *
67
70
 * The RsvgHandle is an object representing the parsed form of a SVG
68
71
 */
69
72
typedef struct _RsvgHandle RsvgHandle;
81
84
struct _RsvgHandle {
82
85
    GObject parent;
83
86
 
 
87
    /*< private >*/
 
88
 
84
89
    RsvgHandlePrivate *priv;
85
90
 
86
91
    gpointer _abi_padding[15];
87
92
};
88
93
 
89
 
/* RsvgDimensionData
 
94
/**
 
95
 * RsvgDimensionData:
 
96
 * @width: SVG's width, in pixels
 
97
 * @height: SVG's height, in pixels
 
98
 * @em: em
 
99
 * @ex: ex
90
100
 */
91
101
struct _RsvgDimensionData {
92
 
    /**
93
 
     * SVG's width, in pixels
94
 
     */
95
102
    int width;
96
 
 
97
 
    /**
98
 
     * SVG's height, in pixels
99
 
     */
100
103
    int height;
101
 
 
102
 
    /**
103
 
     * em
104
 
     */
105
104
    gdouble em;
106
 
 
107
 
    /**
108
 
     * ex
109
 
     */
110
105
    gdouble ex;
111
106
};
112
107
 
113
108
/**
 
109
 * RsvgPositionData:
114
110
 * Position of an SVG fragment.
115
 
 **/
 
111
 */
116
112
struct _RsvgPositionData {
117
113
    int x;
118
114
    int y;
238
234
 
239
235
G_END_DECLS
240
236
 
 
237
#include "librsvg-enum-types.h"
 
238
#include "librsvg-features.h"
 
239
#include "rsvg-cairo.h"
 
240
 
 
241
#undef __RSVG_RSVG_H_INSIDE__
 
242
 
241
243
#endif                          /* RSVG_H */