/*  Copyright (C) 2008--2009 Joshua Judson Rosen <rozzin@geekspace.com>.

    This program 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 3
    of the License, or (at your option) any later version..

    This program 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 program; see the file COPYING. If not, see
    <http://www.gnu.org/licenses/> or write to:

        The Free Software Foundation, inc.
        51 Franklin Street, Fifth Floor
        Boston, MA 02110-1301
        USA
*/

#ifndef VISUALID_SYMMETRY_H
#define VISUALID_SYMMETRY_H

struct _VisualID_Symmetry {
  VisualID_Glyph base;

  int n;

  VisualID_Glyph *child;
  double cscale;
  double offset;
};


#define VISUALID_TYPE_SYMMETRY			(visualid_symmetry_get_type ())
#define VISUALID_SYMMETRY(obj)			(G_TYPE_CHECK_INSTANCE_CAST ((obj), VISUALID_TYPE_SYMMETRY, VisualID_Symmetry))
#define VISUALID_IS_SYMMETRY(obj)		(G_TYPE_CHECK_INSTANCE_TYPE ((obj), VISUALID_TYPE_SYMMETRY))
#define VISUALID_SYMMETRY_CLASS(klass)		(G_TYPE_CHECK_CLASS_CAST ((klass), VISUALID_TYPE_SYMMETRY, VisualID_Symmetry))
#define vISUALID_IS_SYMMETRY_CLASS(klass)	(G_TYPE_CHECK_CLASS_TYPE ((klass), VISUALID_TYPE_SYMMETRY))
#define VISUALID_SYMMETRY_GET_CLASS(obj)	(G_TYPE_INSTANCE_GET_CLASS ((obj), VISUALID_TYPE_SYMMETRY, VisualID_Symmetry))

typedef struct _VisualID_Symmetry VisualID_Symmetry;
typedef struct _VisualID_SymmetryClass VisualID_SymmetryClass;

GType visualid_symmetry_get_type (void);

#endif

