sp-star.h revision 0b2d8abc1011ad865fce3b883ccb2587cb15cc90
#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