Code

Warning cleanup.
[inkscape.git] / src / sp-font.h
index 0b8ea7ffbcb3192847a98ebcb7fb35b513a7ae0e..fad7ead42bbdfb3568f549f3e7effd3237154c4f 100644 (file)
@@ -1,5 +1,9 @@
-#ifndef __SP_FONT_H__
-#define __SP_FONT_H__
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
+#ifndef SP_FONT_H_SEEN
+#define SP_FONT_H_SEEN
 
 /*
  * SVG <font> element implementation
 #define SP_IS_FONT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), SP_TYPE_FONT))
 
 struct SPFont : public SPObject {
+    double horiz_origin_x;
+    double horiz_origin_y;
+    double horiz_adv_x;
+    double vert_origin_x;
+    double vert_origin_y;
+    double vert_adv_y;
 };
 
 struct SPFontClass {
-       SPObjectClass parent_class;
+    SPObjectClass parent_class;
 };
 
 GType sp_font_get_type (void);
 
-#endif //#ifndef __SP_FONT_H__
+#endif //#ifndef SP_FONT_H_SEEN