Sha256: 20022ae46db473019fc04c4828e3ebfea84a9c62c314a64a00fff0c4f323c853

Contents?: true

Size: 1.85 KB

Versions: 41

Compression:

Stored size: 1.85 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 <lsmsvggelement.h>
#include <lsmdebug.h>
#include <stdio.h>

static GObjectClass *parent_class;

/* GdomNode implementation */

static const char *
lsm_svg_g_element_get_node_name (LsmDomNode *node)
{
	return "g";
}

/* GGElement implementation */

/* LsmSvgElement implementation */

/* LsmSvgGElement implementation */

LsmDomNode *
lsm_svg_g_element_new (void)
{
	return g_object_new (LSM_TYPE_SVG_G_ELEMENT, NULL);
}

static void
lsm_svg_g_element_init (LsmSvgGElement *self)
{
}

/* LsmSvgGElement class */


static void
lsm_svg_g_element_class_init (LsmSvgGElementClass *s_g_class)
{
	LsmDomNodeClass *d_node_class = LSM_DOM_NODE_CLASS (s_g_class);
	LsmSvgElementClass *s_element_class = LSM_SVG_ELEMENT_CLASS (s_g_class);

	parent_class = g_type_class_peek_parent (s_g_class);

	d_node_class->get_node_name = lsm_svg_g_element_get_node_name;

	s_element_class->category =
		LSM_SVG_ELEMENT_CATEGORY_CONTAINER |
		LSM_SVG_ELEMENT_CATEGORY_STRUCTURAL;
}

G_DEFINE_TYPE (LsmSvgGElement, lsm_svg_g_element, LSM_TYPE_SVG_TRANSFORMABLE)

Version data entries

41 entries across 41 versions & 1 rubygems

Version Path
mathematical-1.6.12 ext/mathematical/lasem/src/lsmsvggelement.c
mathematical-1.6.11 ext/mathematical/lasem/src/lsmsvggelement.c
mathematical-1.6.10 ext/mathematical/lasem/src/lsmsvggelement.c
mathematical-1.6.9 ext/mathematical/lasem/src/lsmsvggelement.c
mathematical-1.6.8 ext/mathematical/lasem/src/lsmsvggelement.c
mathematical-1.6.7 ext/mathematical/lasem/src/lsmsvggelement.c
mathematical-1.6.6 ext/mathematical/lasem/src/lsmsvggelement.c
mathematical-1.6.5 ext/mathematical/lasem/src/lsmsvggelement.c
mathematical-1.6.4 ext/mathematical/lasem/src/lsmsvggelement.c
mathematical-1.6.3 ext/mathematical/lasem/src/lsmsvggelement.c
mathematical-1.6.2 ext/mathematical/lasem/src/lsmsvggelement.c
mathematical-1.6.1 ext/mathematical/lasem/src/lsmsvggelement.c
mathematical-1.6.0 ext/mathematical/lasem/src/lsmsvggelement.c
mathematical-1.5.12 ext/mathematical/lasem/src/lsmsvggelement.c
mathematical-1.5.0 ext/mathematical/lasem/src/lsmsvggelement.c
mathematical-1.4.2 ext/mathematical/lasem/src/lsmsvggelement.c
mathematical-1.4.1 ext/mathematical/lasem/src/lsmsvggelement.c
mathematical-1.4.0 ext/mathematical/lasem/src/lsmsvggelement.c
mathematical-1.3.0 ext/mathematical/lasem/src/lsmsvggelement.c
mathematical-1.2.2 ext/mathematical/lasem/src/lsmsvggelement.c