Searched defs:item (Results 1 - 25 of 231) sorted by relevance

12345678910

/inkscape/src/
H A Dsp-item-rm-unsatisfied-cns.cpp8 #include "sp-item.h"
9 #include "sp-item-rm-unsatisfied-cns.h"
13 void sp_item_rm_unsatisfied_cns(SPItem &item) argument
15 if (item.constraints.empty()) {
19 item.getSnappoints(snappoints, NULL);
20 for (unsigned i = item.constraints.size(); i--;) {
21 g_assert( i < item.constraints.size() );
22 SPGuideConstraint const &cn = item.constraints[i];
28 remove_last(cn.g->attached_items, SPGuideAttachment(&item, cn.snappoint_ix));
30 g_assert( i < item
[all...]
H A Dsp-item-update-cns.cpp4 #include "sp-item-update-cns.h"
6 #include "sp-item.h"
11 void sp_item_update_cns(SPItem &item, SPDesktop const &desktop) argument
14 item.getSnappoints(snappoints, NULL);
26 if ( find(item.constraints.begin(),
27 item.constraints.end(),
29 == item.constraints.end() )
31 item.constraints.push_back(cn);
32 cn.g->attached_items.push_back(SPGuideAttachment(&item, cn.snappoint_ix));
H A Dconn-avoid-ref.h30 // libavoid's internal representation of the item.
47 SPItem *item; member in class:SPAvoidRef
H A Dsp-guide-attachment.h4 #include "sp-item.h"
8 SPItem *item; member in class:SPGuideAttachment
13 item(static_cast<SPItem *>(0)),
18 item(i),
23 return ( ( item == o.item )
H A Dsp-item-notify-moveto.cpp5 #include <sp-item.h>
8 #include <sp-item-rm-unsatisfied-cns.h>
9 #include <sp-item-notify-moveto.h>
16 * that consequently this item should move with it.
18 * \pre exist [cn in item.constraints] g eq cn.g.
20 void sp_item_notify_moveto(SPItem &item, SPGuide const &mv_g, int const snappoint_ix, argument
23 return_if_fail(SP_IS_ITEM(&item));
30 item.getSnappoints(snappoints, NULL);
36 /* Translate along dir to make dot(dir, snappoints(item)[snappoint_ix]) == position. */
46 item
[all...]
H A Dknotholder.h43 typedef void (* SPKnotHolderReleasedFunc) (SPItem *item);
47 KnotHolder(SPDesktop *desktop, SPItem *item, SPKnotHolderReleasedFunc relhandler);
60 const SPItem *getItem() { return item; }
73 SPItem *item; // TODO: Remove this and keep the actual item (e.g., SPRect etc.) in the item-specific knotholders member in class:KnotHolder
74 Inkscape::XML::Node *repr; ///< repr of the item, for setting and releasing listeners.
H A Dremoveoverlap.cpp15 #include "sp-item.h"
16 #include "sp-item-transform.h"
25 SPItem *item; member in struct:__anon417::Record
29 Record() : item(0), vspc_rect(0) {}
31 : item(i), midpoint(m), vspc_rect(r) {}
50 SPItem* item = *it; local
52 Geom::OptRect item_box((item)->desktopVisualBounds());
68 records.push_back(Record(item, item_box->midpoint(), vspc_rect));
82 sp_item_move_rel(it->item, Geom::Translate(dest - curr));
/inkscape/src/display/
H A Dgnome-canvas-acetate.cpp2 * Infinite invisible canvas item
20 static void sp_canvas_acetate_update (SPCanvasItem *item, Geom::Affine const &affine, unsigned int flags);
21 static double sp_canvas_acetate_point (SPCanvasItem *item, Geom::Point p, SPCanvasItem **actual_item);
48 static void sp_canvas_acetate_update( SPCanvasItem *item, Geom::Affine const &/*affine*/, unsigned int /*flags*/ ) argument
50 item->x1 = -G_MAXINT;
51 item->y1 = -G_MAXINT;
52 item->x2 = G_MAXINT;
53 item->y2 = G_MAXINT;
56 static double sp_canvas_acetate_point( SPCanvasItem *item, Geom::Point /*p*/, SPCanvasItem **actual_item ) argument
58 *actual_item = item;
[all...]
H A Dgnome-canvas-acetate.h5 * Infinite invisible canvas item
18 #include "display/sp-canvas-item.h"
28 SPCanvasItem item; member in struct:SPCanvasAcetate
H A Dcanvas-temporary-item-list.cpp13 #include "display/canvas-temporary-item.h"
14 #include "display/canvas-temporary-item-list.h"
37 TemporaryItemList::add_item(SPCanvasItem *item, unsigned int lifetime) argument
40 TemporaryItem * tempitem = new TemporaryItem(item, lifetime);
49 // check if the item is in the list, if so, delete it. (in other words, don't wait for the item to delete itself)
67 // no need to delete the item, it does that itself after signal_timeout.emit() completes
H A Dcanvas-temporary-item.cpp17 #include "display/canvas-temporary-item.h"
20 #include "display/sp-canvas-item.h"
27 TemporaryItem::TemporaryItem(SPCanvasItem *item, guint lifetime, bool deselect_destroy) argument
28 : canvasitem(item),
51 // destroying the item automatically hides it
H A Dsp-ctrlline.h19 #include "sp-canvas-item.h"
35 SPItem *item; // the item to which this line belongs in some sense; may be NULL for some users member in struct:SPCtrlLine
H A Dguideline.h18 #include "sp-canvas-item.h"
27 SPCanvasItem item; member in struct:SPGuideLine
30 SPCtrl *origin; // unlike 'item', this is only held locally
H A Dcanvas-arena.h19 #include "display/drawing-item.h"
21 #include "display/sp-canvas-item.h"
42 SPCanvasItem item; member in struct:_SPCanvasArena
61 gint (* arena_event) (SPCanvasArena *carena, Inkscape::DrawingItem *item, GdkEvent *event);
H A Ddrawing-group.cpp14 #include "display/drawing-item.h"
103 if (&*i == stop_at) return RENDER_OK; // do not render the stop_at item at all
143 bool is_drawing_group(DrawingItem *item) argument
145 return dynamic_cast<DrawingGroup *>(item) != NULL;
H A Dsp-canvas-util.cpp17 #include "sp-canvas-item.h"
20 void sp_canvas_update_bbox(SPCanvasItem *item, int x1, int y1, int x2, int y2) argument
22 item->canvas->requestRedraw((int)item->x1, (int)item->y1, (int)item->x2, (int)item->y2);
23 item->x1 = x1;
24 item->y1 = y1;
25 item
31 sp_canvas_item_reset_bounds(SPCanvasItem *item) argument
43 sp_canvas_item_i2p_affine(SPCanvasItem * item) argument
60 sp_canvas_item_set_i2w_affine(SPCanvasItem * item, Geom::Affine const &i2w) argument
67 sp_canvas_item_move_to_z(SPCanvasItem * item, gint z) argument
[all...]
H A Dsp-ctrlquadr.cpp17 #include "sp-canvas-item.h"
34 static void sp_ctrlquadr_update (SPCanvasItem *item, Geom::Affine const &affine, unsigned int flags);
35 static void sp_ctrlquadr_render (SPCanvasItem *item, SPCanvasBuf *buf);
69 sp_ctrlquadr_render (SPCanvasItem *item, SPCanvasBuf *buf) argument
71 SPCtrlQuadr *cq = SP_CTRLQUADR (item);
112 static void sp_ctrlquadr_update(SPCanvasItem *item, Geom::Affine const &affine, unsigned int flags) argument
114 SPCtrlQuadr *cq = SP_CTRLQUADR(item);
116 item->canvas->requestRedraw((int)item->x1, (int)item
146 SPCanvasItem *item; local
[all...]
/inkscape/src/ui/tool/
H A Dshape-record.h34 SPItem *item; // SP node for the edited shape member in struct:Inkscape::UI::ShapeRecord
40 return item == o.item && lpe_key == o.lpe_key;
43 return item == o.item ? (lpe_key < o.lpe_key) : (item < o.item);
/inkscape/src/extension/implementation/
H A Dimplementation.cpp52 const SPItem * item = selected[0]; local
53 first_select = item->getRepr();
/inkscape/src/extension/internal/bitmap/
H A Dcrop.cpp14 #include "sp-item-transform.h"
33 Crop::postEffect(Magick::Image *image, SPItem *item) { argument
39 sp_item_scale_rel (item, scale);
42 Geom::OptRect bbox(item->desktopGeometricBounds());
48 sp_item_move_rel(item, translate);
/inkscape/src/libgdl/
H A Dgdl-dock-notebook.h25 #include "libgdl/gdl-dock-item.h"
42 GdlDockItem item; member in struct:_GdlDockNotebook
H A Dgdl-dock-item-grip.h3 * gdl-dock-item-grip.h
34 #include "libgdl/gdl-dock-item.h"
57 GdlDockItem *item; member in struct:_GdlDockItemGrip
69 GtkWidget *gdl_dock_item_grip_new (GdlDockItem *item);
H A Dgdl-dock-tablabel.h28 #include "libgdl/gdl-dock-item.h"
49 GtkWidget *item; member in struct:_GdlDockTablabel
66 GtkWidget *gdl_dock_tablabel_new (GdlDockItem *item);
/inkscape/src/live_effects/
H A Dlpe-bounding-box.cpp12 #include "sp-item.h"
41 SPItem * item = linked_path.getObject(); local
42 Geom::OptRect bbox = visual_bounds.get_value() ? item->visualBounds() : item->geometricBounds();
/inkscape/src/ui/
H A Dtools-switch.cpp173 void tools_switch_by_item(SPDesktop *dt, SPItem *item, Geom::Point const p) argument
175 if (dynamic_cast<SPRect *>(item)) {
177 } else if (dynamic_cast<SPBox3D *>(item)) {
179 } else if (dynamic_cast<SPGenericEllipse *>(item)) {
181 } else if (dynamic_cast<SPStar *>(item)) {
183 } else if (dynamic_cast<SPSpiral *>(item)) {
185 } else if (dynamic_cast<SPPath *>(item)) {
186 if (Inkscape::UI::Tools::cc_item_is_connector(item)) {
192 } else if (dynamic_cast<SPText *>(item) || dynamic_cast<SPFlowtext *>(item)) {
[all...]

Completed in 7947 milliseconds

12345678910