diff options
| author | Felipe Corr??a da Silva Sanches <juca@members.fsf.org> | 2008-02-26 05:03:57 +0000 |
|---|---|---|
| committer | jucablues <jucablues@users.sourceforge.net> | 2008-02-26 05:03:57 +0000 |
| commit | 44b1f0e4ce0ddf32d4257eec5fc3882cf21a56fd (patch) | |
| tree | 46bbfd4f3231c3872b85a66a7e1b9a3dedfea040 /src | |
| parent | * Reverting hu.po to previous version, as my latest commit really clashed som... (diff) | |
| download | inkscape-44b1f0e4ce0ddf32d4257eec5fc3882cf21a56fd.tar.gz inkscape-44b1f0e4ce0ddf32d4257eec5fc3882cf21a56fd.zip | |
starting work on svgfont boilerplate code
(bzr r4856)
Diffstat (limited to 'src')
| -rw-r--r-- | src/sp-font.h | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/src/sp-font.h b/src/sp-font.h new file mode 100644 index 000000000..0b8ea7ffb --- /dev/null +++ b/src/sp-font.h @@ -0,0 +1,32 @@ +#ifndef __SP_FONT_H__ +#define __SP_FONT_H__ + +/* + * SVG <font> element implementation + * + * Authors: + * Felipe C. da S. Sanches <felipe.sanches@gmail.com> + * + * Copyright (C) 2008 Felipe C. da S. Sanches + * + * Released under GNU GPL, read the file 'COPYING' for more information + */ + +#include "sp-object.h" + +#define SP_TYPE_FONT (sp_font_get_type ()) +#define SP_FONT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), SP_TYPE_FONT, SPFont)) +#define SP_FONT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), SP_TYPE_FONT, SPFontClass)) +#define SP_IS_FONT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), SP_TYPE_FONT)) +#define SP_IS_FONT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), SP_TYPE_FONT)) + +struct SPFont : public SPObject { +}; + +struct SPFontClass { + SPObjectClass parent_class; +}; + +GType sp_font_get_type (void); + +#endif //#ifndef __SP_FONT_H__ |
