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

sp-spiral.h File Reference
#include "sp-shape.h"
Include dependency graph for sp-spiral.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  SPSpiral
struct  SPSpiralClass
 The SPSpiral vtable. More...

Defines

#define noSPIRAL_VERBOSE
#define SAMPLE_SIZE   8
 sample size per one bezier
#define SAMPLE_STEP   (1.0/4.0)
 step per 2PI
#define SP_EPSILON   1e-5
#define SP_EPSILON_2   (SP_EPSILON * SP_EPSILON)
#define SP_HUGE   1e5
#define SP_IS_SPIRAL(obj)   (G_TYPE_CHECK_INSTANCE_TYPE ((obj), SP_TYPE_SPIRAL))
#define SP_IS_SPIRAL_CLASS(klass)   (G_TYPE_CHECK_CLASS_TYPE ((klass), SP_TYPE_SPIRAL))
#define SP_SPIRAL(obj)   (G_TYPE_CHECK_INSTANCE_CAST ((obj), SP_TYPE_SPIRAL, SPSpiral))
#define SP_SPIRAL_CLASS(klass)   (G_TYPE_CHECK_CLASS_CAST ((klass), SP_TYPE_SPIRAL, SPSpiralClass))
#define SP_TYPE_SPIRAL   (sp_spiral_get_type ())
#define SPIRAL_TOLERANCE   3.0

Functions

void sp_spiral_get_polar (SPSpiral const *spiral, gdouble t, gdouble *rad, gdouble *arg)
GType sp_spiral_get_type (void)
Geom::Point sp_spiral_get_xy (SPSpiral const *spiral, gdouble t)
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)

Detailed Description

SPSpiral: <sodipodi:spiral> 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

Definition in file sp-spiral.h.


Generated by  Doxygen 1.6.0   Back to index