Code

* add rule in configure.ac so that only who has cairo > 1.6.4 (currently cairo git...
[inkscape.git] / src / sp-missing-glyph.h
1 #include "config.h"
2 #ifdef ENABLE_SVG_FONTS
3 #ifndef __SP_MISSING_GLYPH_H__
4 #define __SP_MISSING_GLYPH_H__
6 /*
7  * SVG <missing-glyph> element implementation
8  *
9  * Authors:
10  *    Felipe C. da S. Sanches <felipe.sanches@gmail.com>
11  *
12  * Copyright (C) 2008 Felipe C. da S. Sanches
13  *
14  * Released under GNU GPL, read the file 'COPYING' for more information
15  */
17 #include "sp-object.h"
19 #define SP_TYPE_MISSING_GLYPH (sp_missing_glyph_get_type ())
20 #define SP_MISSING_GLYPH(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), SP_TYPE_MISSING_GLYPH, SPMissingGlyph))
21 #define SP_MISSING_GLYPH_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), SP_TYPE_MISSING_GLYPH, SPMissingGlyphClass))
22 #define SP_IS_MISSING_GLYPH(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), SP_TYPE_MISSING_GLYPH))
23 #define SP_IS_MISSING_GLYPH_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), SP_TYPE_MISSING_GLYPH))
25 struct SPMissingGlyph : public SPObject {
26     char* d;
27     double horiz_adv_x;
28     double vert_origin_x;
29     double vert_origin_y;
30     double vert_adv_y;
31 };
33 struct SPMissingGlyphClass {
34         SPObjectClass parent_class;
35 };
37 GType sp_missing_glyph_get_type (void);
39 #endif //#ifndef __SP_MISSING_GLYPH_H__
40 #endif //#ifdef ENABLE_SVG_FONTS