Code

add breton win32 installer translation
[inkscape.git] / src / sp-symbol.h
1 #ifndef __SP_SYMBOL_H__
2 #define __SP_SYMBOL_H__
4 /*
5  * SVG <symbol> implementation
6  *
7  * Authors:
8  *   Lauris Kaplinski <lauris@kaplinski.com>
9  *
10  * Copyright (C) 1999-2003 Lauris Kaplinski
11  *
12  * Released under GNU GPL, read the file 'COPYING' for more information
13  */
15 /*
16  * This is quite similar in logic to <svg>
17  * Maybe we should merge them somehow (Lauris)
18  */
20 #define SP_TYPE_SYMBOL (sp_symbol_get_type ())
21 #define SP_SYMBOL(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), SP_TYPE_SYMBOL, SPSymbol))
22 #define SP_IS_SYMBOL(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), SP_TYPE_SYMBOL))
24 class SPSymbol;
25 class SPSymbolClass;
27 #include <libnr/nr-matrix.h>
28 #include <libnr/nr-rect.h>
29 #include "svg/svg-length.h"
30 #include "enums.h"
31 #include "sp-item-group.h"
33 struct SPSymbol : public SPGroup {
34         /* viewBox; */
35         unsigned int viewBox_set : 1;
36         NRRect viewBox;
38         /* preserveAspectRatio */
39         unsigned int aspect_set : 1;
40         unsigned int aspect_align : 4;
41         unsigned int aspect_clip : 1;
43         /* Child to parent additional transform */
44         NRMatrix c2p;
45 };
47 struct SPSymbolClass {
48         SPGroupClass parent_class;
49 };
51 GType sp_symbol_get_type (void);
53 #endif