sp-star.h revision d61d2d7858ded67cc041d49e7c81a10a84c9e164
#ifndef __SP_STAR_H__
#define __SP_STAR_H__
/*
* <sodipodi:star> implementation
*
* Authors:
* Mitsuru Oka <oka326@parkcity.ne.jp>
* Lauris Kaplinski <lauris@kaplinski.com>
*
* Copyright (C) 1999-2002 Lauris Kaplinski
* Copyright (C) 2000-2001 Ximian, Inc.
*
* Released under GNU GPL, read the file 'COPYING' for more information
*/
#include "sp-polygon.h"
#define SP_TYPE_STAR (sp_star_get_type ())
typedef enum {
} SPStarPoint;
double r[2];
double arg[2];
bool flatsided;
double rounded;
double randomized;
};
struct SPStarClass {
};
GType sp_star_get_type (void);
void sp_star_position_set (SPStar *star, gint sides, Geom::Point center, gdouble r1, gdouble r2, gdouble arg1, gdouble arg2, bool isflat, double rounded, double randomized);
Geom::Point sp_star_get_xy (SPStar const *star, SPStarPoint point, gint index, bool randomized = false);
#endif