Logo Search packages:      
Sourcecode: inkscape version File versions

seltrans.cpp File Reference


Detailed Description

Helper object for transforming selected items.

Definition in file seltrans.cpp.

#include <cstring>
#include <string>
#include <2geom/transforms.h>
#include <gdk/gdkkeysyms.h>
#include "document.h"
#include "sp-namedview.h"
#include "desktop.h"
#include "desktop-handles.h"
#include "desktop-style.h"
#include "knot.h"
#include "snap.h"
#include "selection.h"
#include "select-context.h"
#include "sp-item.h"
#include "sp-item-transform.h"
#include "seltrans-handles.h"
#include "seltrans.h"
#include "selection-chemistry.h"
#include "sp-metrics.h"
#include "verbs.h"
#include <glibmm/i18n.h>
#include "display/sp-ctrlline.h"
#include "preferences.h"
#include "xml/repr.h"
#include "mod360.h"
#include <2geom/angle.h>
#include "display/snap-indicator.h"

Go to the source code of this file.

Defines

#define SNAP_DIST   5

Functions

Geom::Scale Inkscape::calcScaleFactors (Geom::Point const &initial_point, Geom::Point const &new_point, Geom::Point const &origin, bool const skew)
static double sign (double const x)
static void sp_remove_handles (SPKnot *knot[], gint num)
void sp_sel_trans_center (Inkscape::SelTrans *seltrans, SPSelTransHandle const &, Geom::Point &pt, guint)
gboolean sp_sel_trans_center_request (Inkscape::SelTrans *seltrans, SPSelTransHandle const &, Geom::Point &pt, guint state)
static void sp_sel_trans_handle_click (SPKnot *knot, guint state, gpointer data)
static void sp_sel_trans_handle_grab (SPKnot *knot, guint state, gpointer data)
static void sp_sel_trans_handle_new_event (SPKnot *knot, Geom::Point *position, guint state, gpointer data)
static void sp_sel_trans_handle_new_event (SPKnot *knot, Geom::Point *position, guint32 state, gpointer data)
static gboolean sp_sel_trans_handle_request (SPKnot *knot, Geom::Point *p, guint state, gboolean *data)
static void sp_sel_trans_handle_ungrab (SPKnot *knot, guint state, gpointer data)
void sp_sel_trans_rotate (Inkscape::SelTrans *seltrans, SPSelTransHandle const &, Geom::Point &pt, guint state)
gboolean sp_sel_trans_rotate_request (Inkscape::SelTrans *seltrans, SPSelTransHandle const &, Geom::Point &pt, guint state)
void sp_sel_trans_scale (Inkscape::SelTrans *seltrans, SPSelTransHandle const &, Geom::Point &pt, guint state)
gboolean sp_sel_trans_scale_request (Inkscape::SelTrans *seltrans, SPSelTransHandle const &, Geom::Point &pt, guint state)
void sp_sel_trans_skew (Inkscape::SelTrans *seltrans, SPSelTransHandle const &handle, Geom::Point &pt, guint state)
gboolean sp_sel_trans_skew_request (Inkscape::SelTrans *seltrans, SPSelTransHandle const &handle, Geom::Point &pt, guint state)
void sp_sel_trans_stretch (Inkscape::SelTrans *seltrans, SPSelTransHandle const &handle, Geom::Point &pt, guint state)
gboolean sp_sel_trans_stretch_request (Inkscape::SelTrans *seltrans, SPSelTransHandle const &handle, Geom::Point &pt, guint state)
static gboolean sp_seltrans_handle_event (SPKnot *knot, GdkEvent *event, gpointer)

Variables

GdkPixbuf * handles []


Generated by  Doxygen 1.6.0   Back to index