Logo Search packages:      
Sourcecode: inkscape version File versions

sp-spiral.cpp File Reference

Detailed Description

<sodipodi:spiral> implementation

Definition in file sp-spiral.cpp.

#include "config.h"
#include "svg/svg.h"
#include "attributes.h"
#include "display/bezier-utils.h"
#include "display/curve.h"
#include <glibmm/i18n.h>
#include "xml/repr.h"
#include "document.h"
#include "sp-spiral.h"

Go to the source code of this file.


#define __SP_SPIRAL_C__
#define BEZIER_SIZE   4


static void sp_spiral_build (SPObject *object, SPDocument *document, Inkscape::XML::Node *repr)
static void sp_spiral_class_init (SPSpiralClass *klass)
static gchar * sp_spiral_description (SPItem *item)
static void sp_spiral_fit_and_draw (SPSpiral const *spiral, SPCurve *c, double dstep, NR::Point darray[], NR::Point const &hat1, NR::Point &hat2, double *t)
void sp_spiral_get_polar (SPSpiral const *spiral, gdouble t, gdouble *rad, gdouble *arg)
static NR::Point sp_spiral_get_tangent (SPSpiral const *spiral, gdouble t)
GType sp_spiral_get_type (void)
NR::Point sp_spiral_get_xy (SPSpiral const *spiral, gdouble t)
static void sp_spiral_init (SPSpiral *spiral)
bool sp_spiral_is_invalid (SPSpiral const *spiral)
void sp_spiral_position_set (SPSpiral *spiral, gdouble cx, gdouble cy, gdouble exp, gdouble revo, gdouble rad, gdouble arg, gdouble t0)
static void sp_spiral_set (SPObject *object, unsigned int key, const gchar *value)
static void sp_spiral_set_shape (SPShape *shape)
static void sp_spiral_snappoints (SPItem const *item, SnapPointsIter p)
static void sp_spiral_update (SPObject *object, SPCtx *ctx, guint flags)
static void sp_spiral_update_patheffect (SPShape *shape, bool write)
static Inkscape::XML::Nodesp_spiral_write (SPObject *object, Inkscape::XML::Node *repr, guint flags)


static SPShapeClass * parent_class

Generated by  Doxygen 1.6.0   Back to index