1
#ifndef __SP_SYMBOL_H__
2
#define __SP_SYMBOL_H__
5
* SVG <symbol> implementation
8
* Lauris Kaplinski <lauris@kaplinski.com>
10
* Copyright (C) 1999-2003 Lauris Kaplinski
12
* Released under GNU GPL, read the file 'COPYING' for more information
16
* This is quite similar in logic to <svg>
17
* Maybe we should merge them somehow (Lauris)
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))
27
#include <libnr/nr-matrix.h>
28
#include <2geom/matrix.h>
29
#include <libnr/nr-rect.h>
30
#include "svg/svg-length.h"
32
#include "sp-item-group.h"
34
struct SPSymbol : public SPGroup {
36
unsigned int viewBox_set : 1;
39
/* preserveAspectRatio */
40
unsigned int aspect_set : 1;
41
unsigned int aspect_align : 4;
42
unsigned int aspect_clip : 1;
44
/* Child to parent additional transform */
48
struct SPSymbolClass {
49
SPGroupClass parent_class;
52
GType sp_symbol_get_type (void);