| /inkscape/src/display/ |
| H A D | snap-indicator.cpp | 62 // 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 D | sodipodi-ctrl.h | 50 Geom::IntRect box; /* NB! x1 & y1 are included */ member in struct:SPCtrl
|
| H A D | drawing-image.cpp | 57 DrawingImage::setClipbox(Geom::Rect const &box) argument 59 _clipbox = box; 152 // the box
|
| H A D | drawing-item.cpp | 514 * if the bounding box is known. 521 * propagating bounding box recomputation to children when the item's 765 // iarea is the bounding box for intermediate rendering 967 Geom::OptIntRect box = (outline || (flags & PICK_AS_CLIP)) ? _bbox : _drawbox; local 968 if (!box) { 972 Geom::Rect expanded = *box; 1015 * Marks the current visual bounding box of the item for redrawing.
|
| /inkscape/src/ |
| H A D | selcue.cpp | 109 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 D | box3d-side.cpp | 2 * 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 D | vanishing-point.h | 36 * In particular, it can potentially have more than one box linked to it (although in facth they 39 // FIXME: Don't store the box in the VP but rather the perspective (and link the box to it)!! 81 inline bool hasBox (SPBox3D *box) { argument 82 return persp3d_has_box(_persp, box); 147 VanishingPoint *findVPWithBox(SPBox3D *box); 189 void drawLinesForFace (const SPBox3D *box, Proj::Axis axis); //, guint corner1, guint corner2, guint corner3, guint corner4);
|
| H A D | path-chemistry.cpp | 379 SPBox3D *box = dynamic_cast<SPBox3D *>(item); local 380 if (box) { 381 // convert 3D box to ordinary group of paths; replace the old element in 'selected' with the new group 382 Inkscape::XML::Node *repr = box3d_convert_to_group(box)->getRepr();
|
| H A D | selection.cpp | 172 SPBox3D *box = *i; local 173 _3dboxes.push_back(box); 220 SPBox3D *box = *i; local 221 std::list<SPBox3D *>::iterator b = std::find(_3dboxes.begin(), _3dboxes.end(), box); 223 g_print ("Warning! Trying to remove unselected box from selection.\n"); 334 SPBox3D *box = *i; local 335 if (persp == box3d_get_perspective(box)) { 336 boxes.push_back(box);
|
| H A D | persp3d.cpp | 369 persp3d_add_box (Persp3D *persp, SPBox3D *box) { argument 372 if (!box) { 375 if (std::find (persp_impl->boxes.begin(), persp_impl->boxes.end(), box) != persp_impl->boxes.end()) { 378 persp_impl->boxes.push_back(box); 382 persp3d_remove_box (Persp3D *persp, SPBox3D *box) { argument 385 std::vector<SPBox3D *>::iterator i = std::find (persp_impl->boxes.begin(), persp_impl->boxes.end(), box); 391 persp3d_has_box (Persp3D *persp, SPBox3D *box) { argument 397 if ((*i) == box) { 503 // we have an unselected box in the perspective
|
| H A D | vanishing-point.cpp | 104 /* 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 D | sp-item-group.cpp | 415 SPBox3D *box = dynamic_cast<SPBox3D *>(group); local 416 if (box) { 417 group = box3d_convert_to_group(box); 718 SPBox3D *box = dynamic_cast<SPBox3D *>(item); local 719 if (box) { 721 box3d_position_set(box);
|
| H A D | box3d.cpp | 43 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 D | document.cpp | 1258 static bool is_within(Geom::Rect const &area, Geom::Rect const &box) argument 1260 return area.contains(box); 1263 static bool overlaps(Geom::Rect const &area, Geom::Rect const &box) argument 1265 return area.intersects(box); 1279 Geom::OptRect box = child->desktopVisualBounds(); local 1280 if ( box && test(area, *box) && (take_insensitive || child->isVisibleAndUnlocked(dkey))) { 1432 * Return list of items, contained in box 1434 * Assumes box is normalized (and g_asserts it!) 1437 std::vector<SPItem*> SPDocument::getItemsInBox(unsigned int dkey, Geom::Rect const &box, boo argument 1451 getItemsPartiallyInBox(unsigned int dkey, Geom::Rect const &box, bool into_groups) const argument [all...] |
| /inkscape/src/ui/widget/ |
| H A D | licensor.cpp | 118 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/ui/dialog/ |
| H A D | font-substitution.cpp | 110 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);
|
| H A D | glyphs.cpp | 480 Gtk::HBox *box = new Gtk::HBox(); local 486 box->pack_start(*Gtk::manage(entry), Gtk::PACK_SHRINK); 489 box->pack_start(*Gtk::manage(pad), Gtk::PACK_SHRINK); 492 box->pack_start(*Gtk::manage(label), Gtk::PACK_SHRINK); 495 box->pack_start(*Gtk::manage(pad), Gtk::PACK_EXPAND_WIDGET); 503 box->pack_end(*Gtk::manage(insertBtn), Gtk::PACK_SHRINK); 506 box->set_hexpand(); 507 table->attach( *Gtk::manage(box), 0, row, 3, 1); 509 table->attach( *Gtk::manage(box),
|
| /inkscape/src/widgets/ |
| H A D | box3d-toolbar.cpp | 3 * 3d box aux toolbar 186 SPBox3D *box = dynamic_cast<SPBox3D *>(item); local 187 if (box) { 189 Persp3D *persp = box3d_get_perspective(box);
|
| /inkscape/src/libgdl/ |
| H A D | gdl-dock-bar.c | 271 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/libnrtype/ |
| H A D | Layout-TNG-OutIter.cpp | 165 Geom::Rect box = characterBoundingBox(it, &rotation); local 167 if (box.contains(point)) return it; 390 Geom::Rect box = characterBoundingBox(iterator(this, char_index), &char_rotation); local 391 top_left = box.min(); 392 bottom_right = box.max(); 394 } else { // for straight text we can be faster by combining all the character boxes in a span into one box
|
| /inkscape/src/ui/ |
| H A D | clipboard.cpp | 815 SPBox3D *box = dynamic_cast<SPBox3D *>(item); local 816 if (box) { 817 _copyNode(box3d_get_perspective(box)->getRepr(), _doc, _defs);
|
| H A D | object-edit.cpp | 477 /* Box3D (= the new 3D box structure) */ 491 SPBox3D *box = dynamic_cast<SPBox3D *>(item); local 492 if (box) { 493 return box3d_get_corner_screen(box, knot_id); 505 SPBox3D *box = dynamic_cast<SPBox3D *>(item); local 506 g_assert(box != NULL); 516 box3d_set_corner (box, knot_id, s * i2dt, movement, (state & GDK_CONTROL_MASK)); 517 box3d_set_z_orders(box); 518 box3d_position_set(box); 626 SPBox3D *box local 687 SPBox3D *box = dynamic_cast<SPBox3D *>(item); local [all...] |
| /inkscape/src/ui/tools/ |
| H A D | tweak-tool.cpp | 365 SPBox3D *box = dynamic_cast<SPBox3D *>(item); local 366 if (box && !is_transform_mode(mode) && !is_color_mode(mode)) { 368 item = box3d_convert_to_group(box); 929 // else if no overlap of bbox and brush box, skip:
|
| H A D | measure-tool.cpp | 116 Geom::Rect box; local 120 box = Geom::Rect(-tmp[Geom::X] / 2, -tmp[Geom::Y] / 2, tmp[Geom::X] / 2, tmp[Geom::Y] / 2); 130 Geom::Rect current(box + place.end); 136 Geom::Rect target(box + otherPlace.end);
|
| /inkscape/src/extension/dbus/ |
| H A D | document-interface.cpp | 165 Geom::OptRect box = sel->documentBounds(SPItem::GEOMETRIC_BBOX); local 166 return box ? box->midpoint()[Geom::X] : 0; 171 Geom::OptRect box = sel->documentBounds(SPItem::GEOMETRIC_BBOX); local 172 return box ? box->midpoint()[Geom::Y] : 0; 187 * they might see the selection box flicker if used in a loop.
|