Logo Search packages:      
Sourcecode: inkscape version File versions

curve.h File Reference

Detailed Description

Wrapper around an array of NArtBpath objects.

Author: Lauris Kaplinski <lauris@kaplinski.com>

Copyright (C) 2000 Lauris Kaplinski Copyright (C) 2000-2001 Ximian, Inc. Copyright (C) 2002 Lauris Kaplinski

Released under GNU GPL

Definition in file curve.h.

#include <glib/gtypes.h>
#include <glib/gslist.h>
#include "libnr/nr-forward.h"
#include "libnr/nr-point.h"
#include "libnr/nr-rect.h"

Go to the source code of this file.


struct  SPCurve
 Wrapper around NArtBpath. More...


#define SP_CURVE_BPATH(c)   (((SPCurve const *)(c))->_bpath)
#define sp_curve_is_empty   sp_curve_empty
#define SP_CURVE_LENGTH(c)   (((SPCurve const *)(c))->end)
#define SP_CURVE_SEGMENT(c, i)   (((SPCurve const *)(c))->_bpath + (i))


void sp_curve_append (SPCurve *curve, SPCurve const *curve2, bool use_lineto)
SPCurvesp_curve_append_continuous (SPCurve *c0, SPCurve const *c1, gdouble tolerance)
void sp_curve_backspace (SPCurve *curve)
void sp_curve_closepath (SPCurve *curve)
void sp_curve_closepath_current (SPCurve *curve)
SPCurvesp_curve_concat (GSList const *list)
SPCurvesp_curve_copy (SPCurve *curve)
void sp_curve_curveto (SPCurve *curve, gdouble x0, gdouble y0, gdouble x1, gdouble y1, gdouble x2, gdouble y2)
void sp_curve_curveto (SPCurve *curve, NR::Point const &p0, NR::Point const &p1, NR::Point const &p2)
bool sp_curve_empty (SPCurve *curve)
NArtBpathsp_curve_first_bpath (SPCurve const *curve)
NR::Point sp_curve_first_point (SPCurve const *curve)
NArtBpathsp_curve_last_bpath (SPCurve const *curve)
NR::Point sp_curve_last_point (SPCurve const *curve)
void sp_curve_lineto (SPCurve *curve, gdouble x, gdouble y)
void sp_curve_lineto (SPCurve *curve, NR::Point const &p)
void sp_curve_lineto_moving (SPCurve *curve, gdouble x, gdouble y)
void sp_curve_move_endpoints (SPCurve *curve, NR::Point const &, NR::Point const &)
void sp_curve_moveto (SPCurve *curve, gdouble x, gdouble y)
void sp_curve_moveto (SPCurve *curve, NR::Point const &p)
SPCurvesp_curve_new ()
SPCurvesp_curve_new_from_bpath (NArtBpath *bpath)
SPCurvesp_curve_new_from_foreign_bpath (NArtBpath const bpath[])
SPCurvesp_curve_new_from_rect (NR::Maybe< NR::Rect > const &rect)
SPCurvesp_curve_new_sized (gint length)
NR::Point sp_curve_penultimate_point (SPCurve const *curve)
SPCurvesp_curve_ref (SPCurve *curve)
void sp_curve_reset (SPCurve *curve)
SPCurvesp_curve_reverse (SPCurve const *curve)
NR::Point sp_curve_second_point (SPCurve const *curve)
GSList * sp_curve_split (SPCurve const *curve)
void sp_curve_stretch_endpoints (SPCurve *curve, NR::Point const &, NR::Point const &)
void sp_curve_transform (SPCurve *curve, NR::translate const &)
void sp_curve_transform (SPCurve *curve, NR::Matrix const &)
SPCurvesp_curve_unref (SPCurve *curve)

Generated by  Doxygen 1.6.0   Back to index