Logo Search packages:      
Sourcecode: inkscape version File versions

sp-offset.cpp File Reference

Detailed Description

Implementation of <path sodipodi:type="inkscape:offset">.

Definition in file sp-offset.cpp.

#include <cstring>
#include <string>
#include "svg/svg.h"
#include "attributes.h"
#include "display/curve.h"
#include <glibmm/i18n.h>
#include "livarot/Path.h"
#include "livarot/Shape.h"
#include "enums.h"
#include "prefs-utils.h"
#include "sp-text.h"
#include "sp-offset.h"
#include "sp-use-reference.h"
#include "uri.h"
#include "libnr/n-art-bpath.h"
#include <libnr/nr-matrix-fns.h>
#include "xml/repr.h"

Go to the source code of this file.


Path * bpath_to_liv_path (NArtBpath *bpath)
static void refresh_offset_source (SPOffset *offset)
static void sp_offset_build (SPObject *object, SPDocument *document, Inkscape::XML::Node *repr)
static void sp_offset_class_init (SPOffsetClass *klass)
static void sp_offset_delete_self (SPObject *deleted, SPOffset *self)
static gchar * sp_offset_description (SPItem *item)
double sp_offset_distance_to_original (SPOffset *offset, NR::Point px)
static void sp_offset_finalize (GObject *obj)
SPItemsp_offset_get_source (SPOffset *offset)
GType sp_offset_get_type (void)
static void sp_offset_href_changed (SPObject *old_ref, SPObject *ref, SPOffset *offset)
static void sp_offset_init (SPOffset *offset)
static void sp_offset_move_compensate (NR::Matrix const *mp, SPItem *original, SPOffset *self)
static void sp_offset_quit_listening (SPOffset *offset)
static void sp_offset_release (SPObject *object)
static void sp_offset_set (SPObject *object, unsigned key, gchar const *value)
static void sp_offset_set (SPObject *object, unsigned int key, const gchar *value)
static void sp_offset_set_shape (SPShape *shape)
static void sp_offset_snappoints (SPItem const *item, SnapPointsIter p)
static void sp_offset_source_modified (SPObject *iSource, guint flags, SPItem *item)
static void sp_offset_start_listening (SPOffset *offset, SPObject *to)
void sp_offset_top_point (SPOffset *offset, NR::Point *px)
static void sp_offset_update (SPObject *object, SPCtx *ctx, guint flags)
static Inkscape::XML::Nodesp_offset_write (SPObject *object, Inkscape::XML::Node *repr, guint flags)
bool vectors_are_clockwise (NR::Point A, NR::Point B, NR::Point C)


static SPShapeClass * parent_class
static bool use_slow_but_correct_offset_method = false

Generated by  Doxygen 1.6.0   Back to index