Searched refs:position (Results 1 - 25 of 99) sorted by relevance

1234

/inkscape/src/io/
H A Dbufferstream.cpp51 position = 0;
72 return buffer.size() - position;
92 if (position >= (int)buffer.size())
94 int ch = (int) buffer[position++];
H A Dstringstream.cpp33 position = 0;
51 return buffer.size() - position;
68 if (position >= (int)buffer.size())
70 int ch = (int) buffer[position++];
H A Dbufferstream.h64 long position; member in class:Inkscape::IO::BufferInputStream
H A Dstringstream.h42 long position; member in class:Inkscape::IO::StringInputStream
/inkscape/src/libvpsc/
H A Dvariable.cpp13 os << "(" << v.id << "=" << v.position() << ")";
H A Dconstraint.h32 inline double slack() const { return right->position() - gap - left->position(); }
H A Dremove_rectangle_overlap.cpp56 rs[i]->moveCentreX(vs[i]->position());
74 rs[i]->moveCentreY(vs[i]->position());
96 rs[i]->moveCentreX(vs[i]->position());
H A Dvariable.h42 inline double position() const { function in class:vpsc::Variable
45 //double position() const;
/inkscape/src/
H A Dsp-item-notify-moveto.h8 double position, bool const commit);
H A Dlayer-fns.h25 SPObject *create_layer(SPObject *root, SPObject *layer, LayerRelativePosition position);
H A Dsp-item-notify-moveto.cpp21 double const position, bool const commit)
36 /* Translate along dir to make dot(dir, snappoints(item)[snappoint_ix]) == position. */
39 dot(dir, snappoints[snappoint_ix] + s * dir) = position.
40 dot(dir, snappoints[snappoint_ix]) + dot(dir, s * dir) = position.
41 pos0 + s * dot(dir, dir) = position.
42 s * lensq(dir) = position - pos0.
43 s = (position - pos0) / dot(dir, dir). */
44 Geom::Translate const tr( ( position - pos0 )
20 sp_item_notify_moveto(SPItem &item, SPGuide const &mv_g, int const snappoint_ix, double const position, bool const commit) argument
H A Dtext-editing.h50 void sp_te_get_cursor_coords (SPItem const *item, Inkscape::Text::Layout::iterator const &position, Geom::Point &p0, Geom::Point &p1);
53 SPStyle const * sp_te_style_at_position(SPItem const *text, Inkscape::Text::Layout::iterator const &position);
54 SPObject const * sp_te_object_at_position(SPItem const *text, Inkscape::Text::Layout::iterator const &position);
56 Inkscape::Text::Layout::iterator sp_te_insert(SPItem *item, Inkscape::Text::Layout::iterator const &position, char const *utf8);
58 Inkscape::Text::Layout::iterator sp_te_insert_line (SPItem *text, Inkscape::Text::Layout::iterator const &position);
66 text_tag_attributes_at_position(SPItem *item, Inkscape::Text::Layout::iterator const &position, unsigned *char_index);
/inkscape/src/util/
H A Dlist-container.h129 iterator insert(const_iterator position, const_reference value) { argument
130 if (position) {
131 if ( position != _head ) {
133 MutableList<T> before=_before(position);
146 void insert(const_iterator position, size_type count, const_reference value) argument
148 _insert_from_temp(position, ListContainer(count, value));
151 void insert(const_iterator position, ForwardIterator i, ForwardIterator j) { argument
152 _insert_from_temp(position, ListContainer(i, j));
154 void erase(const_iterator position) { argument
155 erase(position, res
256 insert_after(const_iterator position, size_type count, const_reference value) argument
262 insert_after(const_iterator position, ForwardIterator i, ForwardIterator j) argument
267 erase_after(const_iterator position) argument
284 _before(const_iterator position) argument
[all...]
/inkscape/src/ui/tool/
H A Dcurve-drag-point.cpp57 Geom::Point delta = (second->position() - first->position()) / 3.0;
60 first->front()->move(first->front()->position() + delta);
61 second->back()->move(second->back()->position() - delta);
101 Geom::Point delta = new_pos - position();
107 first->front()->move(first->front()->position() + offset0);
108 second->back()->move(second->back()->position() + offset1);
113 second->move(second->position() + delta);
119 first->move(first->position() + delta);
122 first->move(first->position()
[all...]
H A Dnode.cpp145 if (Geom::are_near(new_pos, _parent->position())) {
187 Geom::Point direction = _parent->position() - node_away->position();
188 Geom::Point delta = new_pos - _parent->position();
189 // project the relative position on the direction line
215 other->setRelativePos(-(new_pos - _parent->position()));
232 _handle_line->setCoords(_parent->position(), position());
235 if (Geom::are_near(position(), _parent->position()))
[all...]
H A Dselectable-control-point.h29 return Geom::Rect(position(), position());
H A Dselector.cpp71 _start = position();
85 Geom::Rect sel(_start, position());
91 _selector->signal_point.emit(position(), event);
H A Dpath-manipulator.cpp167 /** Handle motion events to update the position of the curve drag point. */
330 add_or_replace_if_extremum(extremum_vector, extrvalue, sign * first->position()[dim], first, 0.);
331 add_or_replace_if_extremum(extremum_vector, extrvalue, sign * second->position()[dim], first, 1.);
337 Geom::Bezier temp1d(first->position()[dim], first->front()->position()[dim],
338 second->back()->position()[dim], second->position()[dim]);
452 joined_pos = preserve_pos->position();
571 Node *n = new Node(_multi_path_manipulator._path_data.node_data, cur->position());
677 bezier_data[num_samples - 1] = end->position();
[all...]
H A Dcontrol-point-selection.cpp181 Geom::Point p = origin->position();
187 double dist = Geom::distance((*i)->position(), p);
194 double dist = Geom::distance((*i)->position(), p);
234 bound.unionWith(Geom::OptInterval((*i)->position()[d]));
242 new_coord=(_points_list.front())->position()[d];
245 new_coord=(_points_list.back())->position()[d];
261 Geom::Point pos = (*i)->position();
280 Geom::Point pos = (*i)->position();
292 Geom::Point pos = i->second->position();
349 _original_positions.insert(std::make_pair(*i, (*i)->position()));
[all...]
/inkscape/share/extensions/
H A Dempty_dvd_cover.py13 def create_horizontal_guideline(self, name, position):
14 self.create_guideline(name, "0,1", 0, position)
16 def create_vertical_guideline(self, name, position):
17 self.create_guideline(name, "1,0", position, 0)
23 guide.set("position", str(x)+","+str(y))
H A Dsetup_typography_canvas.py47 def create_horizontal_guideline(self, name, position):
48 self.create_guideline(name, "0,1", 0, position)
50 def create_vertical_guideline(self, name, position):
51 self.create_guideline(name, "1,0", position, 0)
57 guide.set("position", str(x)+","+str(y))
/inkscape/src/libgdl/
H A Dgdl-dock-notebook.c57 GdlDockPlacement position,
347 GdlDockPlacement position; member in struct:__anon69
351 gdl_dock_object_dock (data->object, requestor, data->position, data->other_data);
357 GdlDockPlacement position,
365 if (position == GDL_DOCK_CENTER) {
370 GdlDockPlacement position; member in struct:__anon70
377 data.position = position;
391 gint position = -1; local
409 position
355 gdl_dock_notebook_dock(GdlDockObject *object, GdlDockObject *requestor, GdlDockPlacement position, GValue *other_data) argument
[all...]
H A Dgdl-dock-paned.c67 GdlDockPlacement position,
130 g_param_spec_uint ("position", _("Position"),
157 if (GDL_DOCK_ITEM_USER_ACTION (user_data) && !strcmp (pspec->name, "position"))
177 /* emit pending layout changed signal to track separator position */
206 g_signal_connect (item->child, "notify::position",
440 my_request.position = GDL_DOCK_LEFT;
444 my_request.position = GDL_DOCK_RIGHT;
449 my_request.position = GDL_DOCK_TOP;
453 my_request.position = GDL_DOCK_BOTTOM;
484 my_request.position
530 gdl_dock_paned_dock(GdlDockObject *object, GdlDockObject *requestor, GdlDockPlacement position, GValue *other_data) argument
[all...]
H A Dgdl-dock-placeholder.h60 GdlDockPlacement position,
H A Dgdl-switcher.h64 gint position);

Completed in 44 milliseconds

1234