Logo Search packages:      
Sourcecode: inkscape version File versions  Download package

Defines | Functions | Variables

sp-spiral.cpp File Reference

#include "config.h"
#include "svg/svg.h"
#include "attributes.h"
#include <2geom/bezier-utils.h>
#include <2geom/pathvector.h>
#include "display/curve.h"
#include <glibmm/i18n.h>
#include "xml/repr.h"
#include "document.h"
#include "sp-spiral.h"
Include dependency graph for sp-spiral.cpp:

Go to the source code of this file.

Defines

#define __SP_SPIRAL_C__
#define BEZIER_LENGTH   (BEZIER_SIZE * FITTING_MAX_BEZIERS)
#define BEZIER_SIZE   4
#define FITTING_MAX_BEZIERS   4

Functions

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, Geom::Point darray[], Geom::Point const &hat1, Geom::Point &hat2, double *t)
void sp_spiral_get_polar (SPSpiral const *spiral, gdouble t, gdouble *rad, gdouble *arg)
static Geom::Point sp_spiral_get_tangent (SPSpiral const *spiral, gdouble t)
GType sp_spiral_get_type (void)
Geom::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, std::vector< Inkscape::SnapCandidatePoint > &p, Inkscape::SnapPreferences const *snapprefs)
static void sp_spiral_update (SPObject *object, SPCtx *ctx, guint flags)
static void sp_spiral_update_patheffect (SPLPEItem *lpeitem, bool write)
static Inkscape::XML::Nodesp_spiral_write (SPObject *object, Inkscape::XML::Document *doc, Inkscape::XML::Node *repr, guint flags)

Variables

static SPShapeClassparent_class

Detailed Description

<sodipodi:spiral> implementation

Definition in file sp-spiral.cpp.


Generated by  Doxygen 1.6.0   Back to index