Sha256: a5ea8075e66ad63ac92e403c3839106d96ba101ea061bc8cc4320416058eb0d1

Contents?: true

Size: 1.95 KB

Versions: 19

Compression:

Stored size: 1.95 KB

Contents

/* Lasem
 *
 * Copyright © 2009 Emmanuel Pacaud
 *
 * This library is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Lesser General Public
 * License as published by the Free Software Foundation; either
 * version 2 of the License, or (at your option) any later version.
 *
 * This library is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 * Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General
 * Public License along with this library; if not, write to the
 * Free Software Foundation, Inc., 59 Temple Place, Suite 330,
 * Boston, MA 02111-1307, USA.
 *
 * Author:
 * 	Emmanuel Pacaud <emmanuel@gnome.org>
 */

#include <lsmsvgsymbolelement.h>
#include <lsmsvgview.h>
#include <lsmdebug.h>
#include <lsmdomdocument.h>
#include <stdio.h>

static GObjectClass *parent_class;

/* GdomNode implementation */

static const char *
lsm_svg_symbol_element_get_node_name (LsmDomNode *node)
{
	return "symbol";
}

/* LsmSvgElement implementation */

/* LsmSvgGraphic implementation */

/* LsmSvgSymbolElement implementation */

LsmDomNode *
lsm_svg_symbol_element_new (void)
{
	return g_object_new (LSM_TYPE_SVG_SYMBOL_ELEMENT, NULL);
}

static void
lsm_svg_symbol_element_init (LsmSvgSymbolElement *self)
{
}

/* LsmSvgSymbolElement class */

static void
lsm_svg_symbol_element_class_init (LsmSvgSymbolElementClass *klass)
{
	LsmDomNodeClass *d_node_class = LSM_DOM_NODE_CLASS (klass);
	LsmSvgElementClass *s_element_class = LSM_SVG_ELEMENT_CLASS (klass);

	parent_class = g_type_class_peek_parent (klass);

	d_node_class->get_node_name = lsm_svg_symbol_element_get_node_name;

	s_element_class->category =
		LSM_SVG_ELEMENT_CATEGORY_CONTAINER |
		LSM_SVG_ELEMENT_CATEGORY_STRUCTURAL;
}

G_DEFINE_TYPE (LsmSvgSymbolElement, lsm_svg_symbol_element, LSM_TYPE_SVG_ELEMENT)

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
mathematical-1.1.1 ext/mathematical/lasem/src/lsmsvgsymbolelement.c
mathematical-1.1.0 ext/mathematical/lasem/src/lsmsvgsymbolelement.c
mathematical-1.0.0 ext/mathematical/lasem/src/lsmsvgsymbolelement.c
mathematical-0.6.2 ext/mathematical/lasem/src/lsmsvgsymbolelement.c
mathematical-0.6.1 ext/mathematical/lasem/src/lsmsvgsymbolelement.c
mathematical-0.6.0 ext/mathematical/lasem/src/lsmsvgsymbolelement.c
mathematical-0.5.0 ext/mathematical/lasem/src/lsmsvgsymbolelement.c
mathematical-0.4.2 ext/mathematical/lasem/src/lsmsvgsymbolelement.c
mathematical-0.4.1 ext/mathematical/lasem/src/lsmsvgsymbolelement.c
mathematical-0.4.0 ext/mathematical/lasem/src/lsmsvgsymbolelement.c
mathematical-0.3.1 ext/mathematical/lsmsvgsymbolelement.c
mathematical-0.3.0 ext/mathematical/lsmsvgsymbolelement.c
mathematical-0.2.3 ext/mathematical/lsmsvgsymbolelement.c
mathematical-0.2.2 ext/mathematical/lsmsvgsymbolelement.c
mathematical-0.2.1 ext/mathematical/lsmsvgsymbolelement.c
mathematical-0.2.0 ext/mathematical/lsmsvgsymbolelement.c
mathematical-0.1.2 ext/mathematical/lsmsvgsymbolelement.c
mathematical-0.1.1 ext/mathematical/lsmsvgsymbolelement.c
mathematical-0.0.2 ext/mathematical/lsmsvgsymbolelement.c