Fix of bug #350246: Broken snap-to-grid inside objects.
[dia.git] / plug-ins / shape / shape.c
blobc5a66d4e82b96f74f305e8f4366b76f9eadea3bd
1 /* -*- Mode: C; c-basic-offset: 4 -*- */
2 /* Dia -- an diagram creation/manipulation program
3 * Copyright (C) 1998 Alexander Larsson
5 * shape.c: dia shape export filter for dia
6 * Copyright (C) 2000 James Henstridge, Steffen Macke
8 * This program is free software; you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License as published by
10 * the Free Software Foundation; either version 2 of the License, or
11 * (at your option) any later version.
13 * This program is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 * GNU General Public License for more details.
18 * You should have received a copy of the GNU General Public License
19 * along with this program; if not, write to the Free Software
20 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
23 #include <config.h>
24 #include "intl.h"
25 #include "filter.h"
26 #include "plug-ins.h"
28 extern DiaExportFilter shape_export_filter;
30 DIA_PLUGIN_CHECK_INIT
32 PluginInitResult
33 dia_plugin_init(PluginInfo *info)
35 if (!dia_plugin_info_init(info, "shape",
36 N_("dia shape export filter"),
37 NULL, NULL))
38 return DIA_PLUGIN_INIT_ERROR;
40 filter_register_export(&shape_export_filter);
42 return DIA_PLUGIN_INIT_OK;