Searched refs:box (Results 1 - 25 of 108) sorted by relevance

12345

/inkscape/src/
H A Dbox3d.cpp43 static void box3d_ref_changed(SPObject *old_ref, SPObject *ref, SPBox3D *box);
86 SPBox3D *box = object; local
88 if (box->persp_href) {
89 g_free(box->persp_href);
95 Persp3D *persp = box3d_get_perspective(box);
97 if (box->persp_ref) {
98 box->persp_ref->detach();
99 delete box->persp_ref;
100 box->persp_ref = NULL;
104 persp3d_remove_box (persp, box);
124 SPBox3D *box = object; local
178 box3d_ref_changed(SPObject *old_ref, SPObject *ref, SPBox3D *box) argument
209 SPBox3D *box = object; local
258 box3d_position_set(SPBox3D *box) argument
307 box3d_get_proj_corner(SPBox3D const *box, guint id) argument
315 box3d_get_corner_screen(SPBox3D const *box, guint id, bool item_coords) argument
329 box3d_get_proj_center(SPBox3D *box) argument
339 box3d_get_center_screen(SPBox3D *box) argument
362 box3d_snap(SPBox3D *box, int id, Proj::Pt3 const &pt_proj, Proj::Pt3 const &start_pt) argument
450 box3d_set_corner(SPBox3D *box, const guint id, Geom::Point const &new_pos, const Box3D::Axis movement, bool constrained) argument
503 box3d_set_center(SPBox3D *box, Geom::Point const &new_pos, Geom::Point const &old_pos, const Box3D::Axis movement, bool constrained) argument
556 box3d_corners_for_PLs(const SPBox3D * box, Proj::Axis axis, Geom::Point &corner1, Geom::Point &corner2, Geom::Point &corner3, Geom::Point &corner4) argument
645 box3d_XY_axes_are_swapped(SPBox3D *box) argument
681 box3d_set_new_z_orders_case0(SPBox3D *box, int z_orders[6], Box3D::Axis central_axis) argument
721 box3d_set_new_z_orders_case1(SPBox3D *box, int z_orders[6], Box3D::Axis central_axis, Box3D::Axis fin_axis) argument
792 box3d_set_new_z_orders_case2(SPBox3D *box, int z_orders[6], Box3D::Axis central_axis, Box3D::Axis ) argument
878 box3d_everted_directions(SPBox3D *box) argument
919 box3d_recompute_z_orders(SPBox3D *box) argument
1074 box3d_get_sides(SPBox3D *box) argument
1090 box3d_set_z_orders(SPBox3D *box) argument
1117 box3d_pt_lies_in_PL_sector(SPBox3D const *box, Geom::Point const &pt, int id1, int id2, Box3D::Axis axis) argument
1149 box3d_VP_lies_in_PL_sector(SPBox3D const *box, Proj::Axis vpdir, int id1, int id2, Box3D::Axis axis) argument
1161 box3d_swap_coords(SPBox3D *box, Proj::Axis axis, bool smaller = true) argument
1174 box3d_relabel_corners(SPBox3D *box) argument
1181 box3d_check_for_swapped_coords(SPBox3D *box, Proj::Axis axis, bool smaller) argument
1193 box3d_exchange_coords(SPBox3D *box) argument
1207 box3d_check_for_swapped_coords(SPBox3D *box) argument
1216 SPBox3D *box = dynamic_cast<SPBox3D *>(obj); local
1234 box3d_get_perspective(SPBox3D const *box) argument
1239 box3d_switch_perspectives(SPBox3D *box, Persp3D *old_persp, Persp3D *new_persp, bool recompute_corners) argument
1262 box3d_convert_to_group(SPBox3D *box) argument
1318 box3d_push_back_corner_pair(SPBox3D const *box, std::list<std::pair<Geom::Point, Geom::Point> > &pts, int c1, int c2) argument
[all...]
H A Dbox3d.h67 void box3d_position_set (SPBox3D *box);
68 Proj::Pt3 box3d_get_proj_corner (SPBox3D const *box, unsigned int id);
69 Geom::Point box3d_get_corner_screen (SPBox3D const *box, unsigned int id, bool item_coords = true);
70 Proj::Pt3 box3d_get_proj_center (SPBox3D *box);
71 Geom::Point box3d_get_center_screen (SPBox3D *box);
73 void box3d_set_corner (SPBox3D *box, unsigned int id, Geom::Point const &new_pos, Box3D::Axis movement, bool constrained);
74 void box3d_set_center (SPBox3D *box, Geom::Point const &new_pos, Geom::Point const &old_pos, Box3D::Axis movement, bool constrained);
75 void box3d_corners_for_PLs (const SPBox3D * box, Proj::Axis axis, Geom::Point &corner1, Geom::Point &corner2, Geom::Point &corner3, Geom::Point &corner4);
76 bool box3d_recompute_z_orders (SPBox3D *box);
77 void box3d_set_z_orders (SPBox3D *box);
[all...]
H A Dselcue.cpp109 SPCanvasItem* box = _item_bboxes[bcount ++]; local
111 if (box) {
116 sp_canvas_item_show(box);
118 SP_CTRL(box)->moveto(Geom::Point(b->min()[Geom::X], b->max()[Geom::Y]));
120 SP_CTRLRECT(box)->setRectangle(*b);
123 sp_canvas_item_hide(box);
156 SPCanvasItem* box = NULL; local
160 box = sp_canvas_item_new(_desktop->getControls(),
170 sp_canvas_item_show(box);
171 SP_CTRL(box)
[all...]
H A Dbox3d-side.cpp2 * 3D box face implementation
50 // thus we don' set "sodipodi:type" so that the box is only saved as an ordinary svg:path
78 // TODO: In case the box was recreated (by undo, e.g.) we need to recreate the path
79 // (along with other info?) from the parent box.
123 /* Create a new Box3DSide and append it to the parent box */
124 Box3DSide * Box3DSide::createBox3DSide(SPBox3D *box) argument
127 Inkscape::XML::Document *xml_doc = box->document->rdoc;
130 box3d_side = static_cast<Box3DSide *>(box->appendChildRepr(repr_side));
160 SPBox3D *box = dynamic_cast<SPBox3D *>(parent); local
161 if (!box) {
252 SPBox3D *box = side ? dynamic_cast<SPBox3D *>(side->parent) : NULL; local
[all...]
H A Dbox3d-side.h5 * 3D box face implementation
34 static Box3DSide * createBox3DSide(SPBox3D *box);
H A Dvanishing-point.cpp104 /* with Shift; if there is more than one box linked to this VP
124 /* if a box in the VP is unselected, move it to the
238 // TODO: Update box's paths and svg representation
246 _("3D box: Move vanishing point"));
264 SPBox3D *box = dynamic_cast<SPBox3D *>(item); local
265 if (box && this->hasBox(box)) {
266 sel_boxes.push_back(box);
329 this->knot->tip = g_strdup_printf (ngettext("<b>Finite</b> vanishing point shared by <b>%d</b> box",
330 "<b>Finite</b> vanishing point shared by <b>%d</b> boxes; drag with <b>Shift</b> to separate selected box(e
385 findVPWithBox(SPBox3D *box) argument
403 SPBox3D *box = dynamic_cast<SPBox3D *>(item); local
581 SPBox3D *box = dynamic_cast<SPBox3D *>(item); local
613 SPBox3D *box = dynamic_cast<SPBox3D *>(item); local
670 drawLinesForFace(const SPBox3D *box, Proj::Axis axis) argument
[all...]
H A Dpersp3d.h94 void persp3d_add_box (Persp3D *persp, SPBox3D *box);
95 void persp3d_remove_box (Persp3D *persp, SPBox3D *box);
96 bool persp3d_has_box (Persp3D *persp, SPBox3D *box);
/inkscape/share/extensions/test/
H A Dfoldablebox.test.py17 self.assertEqual( e.box.tag, 'g', 'The box group must be created.' )
18 self.assertEqual( len( e.box.getchildren() ), 13, 'The box group must have 13 childs.' )
/inkscape/src/ui/dialog/
H A Darrange-tab.h14 #include <gtkmm/box.h>
H A Dprint-colors-preview-dialog.h17 #include <gtkmm/box.h>
H A Dtemplate-widget.h16 #include <gtkmm/box.h>
H A Dtile.h23 #include <gtkmm/box.h>
H A Dfont-substitution.cpp110 Gtk::Box * box = warning.get_content_area(); local
112 Gtk::Box * box = warning.get_vbox(); local
114 box->set_spacing(2);
115 box->pack_start(*scrollwindow, true, true, 4);
116 box->pack_start(*cbSelect, false, false, 0);
117 box->pack_start(*cbWarning, false, false, 0);
/inkscape/src/libgdl/
H A Dgdl-dock-bar.c271 GtkWidget *image, *box, *label; local
290 box = gtk_hbox_new (FALSE, 0);
292 box = gtk_vbox_new (FALSE, 0);
302 gtk_box_pack_start (GTK_BOX (box), label, TRUE, TRUE, 0);
320 gtk_box_pack_start (GTK_BOX (box), image, TRUE, TRUE, 0);
323 gtk_container_add (GTK_CONTAINER (button), box); local
464 GtkBox *box; local
471 box = GTK_BOX (widget);
477 for (child = gtk_container_get_children (GTK_CONTAINER (box));
489 gtk_box_query_child_packing (box,
528 GtkBox *box; local
732 GtkBox *box; local
796 GtkBox *box; local
[all...]
/inkscape/src/ui/widget/
H A Dlicensor.h13 #include <gtkmm/box.h>
H A Dnotebook-page.h17 #include <gtkmm/box.h>
H A Dfilter-effect-chooser.h15 #include <gtkmm/box.h>
H A Dimageicon.h15 #include <gtkmm/box.h>
H A Dlabelled.h14 #include <gtkmm/box.h>
H A Drotateable.h13 #include <gtkmm/box.h>
H A Dlicensor.cpp118 Gtk::HBox *box = Gtk::manage (new Gtk::HBox); local
119 pack_start (*box, true, true, 0);
121 box->pack_start (_eentry->_label, false, false, 5);
122 box->pack_start (*_eentry->_packable, true, true, 0);
/inkscape/src/display/
H A Dsodipodi-ctrl.cpp196 new (&ctrl->box) Geom::IntRect(0,0,0,0);
233 item->canvas->requestRedraw(ctrl->box.left(), ctrl->box.top(), ctrl->box.right() + 1, ctrl->box.bottom() + 1);
279 ctrl->box = Geom::IntRect::from_xywh(x, y, 2*ctrl->width, 2*ctrl->height);
280 sp_canvas_update_bbox (item, ctrl->box.left(), ctrl->box.top(), ctrl->box.right() + 1, ctrl->box
[all...]
H A Dsnap-indicator.cpp62 // We should not show a snap indicator when stretching a selection box, which is also constrained. That would be
130 target_name = _("bounding box corner");
133 target_name = _("bounding box side");
148 target_name = _("bounding box side midpoint");
151 target_name = _("bounding box midpoint");
187 source_name = _("Bounding box corner");
190 source_name = _("Bounding box midpoint");
193 source_name = _("Bounding box side midpoint");
318 // Display the bounding box, if we snapped to one
321 SPCanvasItem* box local
[all...]
H A Ddrawing-image.h34 void setClipbox(Geom::Rect const &box);
/inkscape/src/widgets/
H A Dswatch-selector.h4 #include <gtkmm/box.h>

Completed in 945 milliseconds

12345