Logo Search packages:      
Sourcecode: inkscape version File versions

sp-offset.cpp File Reference


Detailed Description

Implementation of SPOffset, i.e. <path sodipodi:type="inkscape:offset">.

Definition in file sp-offset.cpp.

#include <config.h>
#include <math.h>
#include <string.h>
#include <stdlib.h>
#include "svg/svg.h"
#include "svg/stringstream.h"
#include "attributes.h"
#include "document.h"
#include "display/curve.h"
#include "dialogs/object-attributes.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-shape.h"
#include "sp-offset.h"
#include "sp-use-reference.h"
#include "uri.h"
#include "libnr/n-art-bpath.h"
#include "libnr/nr-point.h"
#include <libnr/nr-point-fns.h>
#include <libnr/nr-point-ops.h>
#include <libnr/nr-matrix.h>
#include <libnr/nr-matrix-fns.h>
#include <libnr/nr-matrix-ops.h>
#include "xml/repr.h"

Go to the source code of this file.

Functions

Path * bpath_to_liv_path (NArtBpath *bpath)
void refresh_offset_source (SPOffset *offset)
static void sp_offset_build (SPObject *object, SPDocument *document, SPRepr *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 SPRepr * sp_offset_write (SPObject *object, SPRepr *repr, guint flags)
bool vectors_are_clockwise (NR::Point A, NR::Point B, NR::Point C)

Variables

static SPShapeClass * parent_class
static bool use_slow_but_correct_offset_method = false


Generated by  Doxygen 1.6.0   Back to index