Inkscape
Vector Graphics Editor
Loading...
Searching...
No Matches
sp-conn-end.cpp File Reference

TODO: insert short description here. More...

Go to the source code of this file.

Functions

static void change_endpts (SPPath *path, double endPos[2])
 
static SPObject const * get_nearest_common_ancestor (SPObject const *const obj, SPItem const *const objs[2])
 
static bool try_get_intersect_point_with_item_recursive (Geom::PathVector &conn_pv, SPItem *item, const Geom::Affine &item_transform, double &intersect_pos)
 
static bool try_get_intersect_point_with_item (SPPath *conn, SPItem *item, const Geom::Affine &item_transform, const Geom::Affine &conn_transform, const bool at_start, double &intersect_pos)
 
static void sp_conn_get_route_and_redraw (SPPath *const path, const bool updatePathRepr=true)
 
static void sp_conn_end_shape_modified (SPPath *path)
 
void sp_conn_reroute_path (SPPath *const path)
 
void sp_conn_reroute_path_immediate (SPPath *const path)
 
void sp_conn_redraw_path (SPPath *const path)
 
static void sp_conn_end_deleted (SPObject *, SPObject *const owner, unsigned const handle_ix)
 
void sp_conn_end_detach (SPObject *const owner, unsigned const handle_ix)
 
void sp_conn_end_href_changed (SPObject *, SPObject *, SPConnEnd *connEnd, SPPath *path, unsigned handle_ix)
 

Detailed Description

TODO: insert short description here.

Definition in file sp-conn-end.cpp.

Function Documentation

◆ change_endpts()

static void change_endpts ( SPPath path,
double  endPos[2] 
)
static

◆ get_nearest_common_ancestor()

static SPObject const * get_nearest_common_ancestor ( SPObject const *const  obj,
SPItem const *const  objs[2] 
)
static

Definition at line 31 of file sp-conn-end.cpp.

References SPObject::nearestCommonAncestor().

Referenced by sp_conn_get_route_and_redraw().

◆ sp_conn_end_deleted()

static void sp_conn_end_deleted ( SPObject ,
SPObject *const  owner,
unsigned const  handle_ix 
)
static

Definition at line 205 of file sp-conn-end.cpp.

References SPObject::removeAttribute().

Referenced by sp_conn_end_detach(), and sp_conn_end_href_changed().

◆ sp_conn_end_detach()

void sp_conn_end_detach ( SPObject *const  owner,
unsigned const  handle_ix 
)

◆ sp_conn_end_href_changed()

void sp_conn_end_href_changed ( SPObject old_ref,
SPObject ref,
SPConnEnd connEnd,
SPPath path,
unsigned  handle_ix 
)

◆ sp_conn_end_shape_modified()

static void sp_conn_end_shape_modified ( SPPath path)
static

◆ sp_conn_get_route_and_redraw()

◆ sp_conn_redraw_path()

void sp_conn_redraw_path ( SPPath *const  path)

Definition at line 185 of file sp-conn-end.cpp.

References sp_conn_get_route_and_redraw().

Referenced by redrawConnectorCallback().

◆ sp_conn_reroute_path()

void sp_conn_reroute_path ( SPPath *const  path)

◆ sp_conn_reroute_path_immediate()

◆ try_get_intersect_point_with_item()

static bool try_get_intersect_point_with_item ( SPPath conn,
SPItem item,
const Geom::Affine item_transform,
const Geom::Affine conn_transform,
const bool  at_start,
double &  intersect_pos 
)
static

◆ try_get_intersect_point_with_item_recursive()

static bool try_get_intersect_point_with_item_recursive ( Geom::PathVector conn_pv,
SPItem item,
const Geom::Affine item_transform,
double &  intersect_pos 
)
static