1 /* Fo 2 * fo-property-font-stretch.h: 'font-stretch' property 3 * 4 * Copyright (C) 2001 Sun Microsystems 5 * Copyright (C) 2007 Menteith Consulting Ltd 6 * 7 * See COPYING for the status of this software. 8 */ 9 10 #ifndef __FO_PROPERTY_FONT_STRETCH_H__ 11 #define __FO_PROPERTY_FONT_STRETCH_H__ 12 13 #include <libfo/fo-utils.h> 14 #include <libfo/property/fo-property.h> 15 16 G_BEGIN_DECLS 17 18 /* font-stretch */ 19 /* normal | wider | narrower | ultra-condensed | extra-condensed | condensed | semi-condensed | semi-expanded | expanded | extra-expanded | ultra-expanded | inherit */ 20 /* Initial value: normal */ 21 22 #define FO_TYPE_PROPERTY_FONT_STRETCH (fo_property_font_stretch_get_type ()) 23 #define FO_PROPERTY_FONT_STRETCH(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_PROPERTY_FONT_STRETCH, FoPropertyFontStretch)) 24 #define FO_PROPERTY_FONT_STRETCH_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_PROPERTY_FONT_STRETCH, FoPropertyFontStretchClass)) 25 #define FO_IS_PROPERTY_FONT_STRETCH(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_PROPERTY_FONT_STRETCH)) 26 #define FO_IS_PROPERTY_FONT_STRETCH_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_PROPERTY_FONT_STRETCH)) 27 #define FO_PROPERTY_FONT_STRETCH_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_PROPERTY_FONT_STRETCH, FoPropertyFontStretchClass)) 28 29 30 typedef struct _FoPropertyFontStretch FoPropertyFontStretch; 31 typedef struct _FoPropertyFontStretchClass FoPropertyFontStretchClass; 32 33 GType fo_property_font_stretch_get_type (void) G_GNUC_CONST; 34 FoProperty* fo_property_font_stretch_new (void); 35 FoProperty* fo_property_font_stretch_get_initial (void); 36 37 G_END_DECLS 38 39 #endif /* !__FO_PROPERTY_FONT_STRETCH_H__ */ 40