Searched refs:direction (Results 1 - 25 of 35) sorted by relevance

12

/inkscape/share/extensions/
H A Drestack.py38 self.OptionParser.add_option("-d", "--direction",
40 dest="direction", default="tb",
41 help="direction to restack")
84 self.options.direction = "aa"
163 #direction chosen
164 if self.options.direction == "tb" or (self.options.direction == "aa" and self.options.angle == 270):
166 elif self.options.direction == "bt" or (self.options.direction == "aa" and self.options.angle == 90):
168 elif self.options.direction
[all...]
H A Dtext_extract.py44 self.OptionParser.add_option("-d", "--direction",
46 dest="direction", default="tb",
47 help="direction to extract text")
135 #direction chosen
136 if self.options.direction == "tb":
138 elif self.options.direction == "bt":
140 elif self.options.direction == "lr":
142 elif self.options.direction == "rl":
H A Dtext_merge.py44 self.OptionParser.add_option("-d", "--direction",
46 dest="direction", default="tb",
47 help="direction to merge text")
143 #direction chosen
144 if self.options.direction == "tb":
146 elif self.options.direction == "bt":
148 elif self.options.direction == "lr":
150 elif self.options.direction == "rl":
/inkscape/src/
H A Dpure-transform.h72 PureTranslateConstrained(Geom::Coord displacement, Geom::Dim2 direction): argument
74 _vector[direction] = displacement;
75 _vector[1-direction] = 0.0;
76 _direction = direction;
142 PureStretchConstrained(Geom::Coord magnitude, Geom::Point origin, Geom::Dim2 direction, bool uniform) : argument
146 _direction (direction),
150 _stretch_snapped[1-direction] = 1.0;
179 PureSkewConstrained(Geom::Coord skew, Geom::Coord scale, Geom::Point origin, Geom::Dim2 direction) : argument
184 _direction (direction)
H A Dline-geometry.h33 inline Geom::Point direction () { return v_dir; } function in class:Box3D::Line
82 direction on the given output stream */
H A Dsp-guide.cpp138 Geom::Point direction(newx, newy);
139 direction.normalize();
140 this->normal_to_line = direction;
H A Dstyle.h145 /** text direction (svg1.1) */
146 SPIEnum direction; member in class:SPStyle
/inkscape/src/live_effects/
H A Dlpe-rough-hatches.h66 VectorParam direction; member in class:Inkscape::LivePathEffect::LPERoughHatches
H A Dlpe-rough-hatches.cpp165 void step(unsigned &level, unsigned &idx, int &direction){ argument
166 if ( direction % 2 == 0 ){
167 if (direction == 0) {
180 direction += 1;
187 direction = (direction + 1)%4;
234 top_tgt_variation(_("Parallelism jitter: 1st side:"), _("Add direction randomness by moving 'bottom' half-turns tangentially to the boundary."), "bottom_tgt_variation", &wr, this, 0),
235 bot_tgt_variation(_("2nd side:"), _("Add direction randomness by randomly moving 'top' half-turns tangentially to the boundary."), "top_tgt_variation", &wr, this, 0),
247 direction(_("Hatches width and dir"), _("Defines hatches frequency and direction"), "directio
[all...]
H A Dlpe-powerstroke.cpp498 Geom::Point direction = B[i].at0() - B[prev_i].at1(); local
499 double tang1_sign = dot(direction,tang1);
500 double tang2_sign = dot(direction,tang2);
/inkscape/src/2geom/
H A Dcrossing.h53 Crossing(double t_a, double t_b, bool direction) : dir(direction), ta(t_a), tb(t_b), a(0), b(1) {} argument
54 Crossing(double t_a, double t_b, unsigned ai, unsigned bi, bool direction) : dir(direction), ta(t_a), tb(t_b), a(ai), b(bi) {} argument
H A Dline.cpp395 Point direction = ls1.finalPoint() - ls1.initialPoint();
397 intersection_impl( direction,
417 bool eqvs = (dot(direction, r2.vector()) > 0);
H A Dconvex-hull.cpp697 Point const * ConvexHull::furthest(Point direction) const {
699 double d = dot(*p, direction);
701 double dd = dot(boundary[i], direction);
713 // moving point tc incrementally from the previous value (it can only move in one direction). It
/inkscape/src/ui/widget/
H A Drotateable.cpp138 if (event->direction == GDK_SCROLL_UP) {
140 } else if (event->direction == GDK_SCROLL_DOWN) {
/inkscape/src/libnrtype/
H A DLayout-TNG-Compute.cpp104 Layout::Span (constant font, direction, etc), except that they are from
177 Direction direction; member in struct:Inkscape::Text::Layout::Calculator::ParagraphInfo
279 if(para.direction == RIGHT_TO_LEFT){
579 Direction previous_direction = para.direction;
582 if (para.direction == LEFT_TO_RIGHT) {
627 new_span.direction = para.pango_items[unbroken_span.pango_item_index].item->analysis.level & 1 ? RIGHT_TO_LEFT : LEFT_TO_RIGHT;
632 new_span.direction = para.direction;
635 if (new_span.direction == para.direction) {
[all...]
H A DLayout-TNG-OutIter.cpp599 if (_characters[char_index].span(this).direction == RIGHT_TO_LEFT)
876 bool Layout::iterator::_cursorLeftOrRightLocalX(Direction direction) argument
887 old_span_direction = _parent_layout->_spans[old_span_index].direction;
893 && ((_char_index == 0 && direction == para_direction)
894 || (_char_index == _parent_layout->_characters.size() && direction != para_direction))) {
896 scan_direction = direction == para_direction ? +1 : -1;
898 if (direction == old_span_direction) {
906 if (old_span_direction != _parent_layout->_spans[new_span_index].direction) {
908 scan_direction = direction == para_direction ? +1 : -1;
915 scan_direction = direction
977 _cursorLeftOrRightLocalXByWord(Direction direction) argument
[all...]
H A DLayout-TNG-Output.cpp311 switch(span.direction){
602 + Glib::ustring::compose(" in para %1 (direction=%2)\n", _lines[_chunks[_spans[span_index].in_chunk].in_line].in_paragraph,
616 + Glib::ustring::compose(" direction %1, block-progression %2\n", direction_to_text(_spans[span_index].direction), direction_to_text(_spans[span_index].block_progression))
708 if (span.direction == RIGHT_TO_LEFT)
766 if (span.direction == RIGHT_TO_LEFT)
H A DLayout-TNG.h157 /** Used to specify any particular text direction required. Used for
158 both the 'direction' and 'block-progression' CSS attributes. */
850 Direction direction; /// See CSS3 section 3.2. Either rtl or ltr member in struct:Inkscape::Text::Layout::Span
851 Direction block_progression; /// See CSS3 section 3.2. The direction in which lines go.
934 to either begin() or end(), depending on which direction you were going.
1062 bool _cursorLeftOrRightLocalX(Direction direction);
1068 bool _cursorLeftOrRightLocalXByWord(Direction direction);
/inkscape/src/libgdl/
H A Dgdl-dock-item.h131 GtkDirectionType direction);
H A Dgdl-dock-item.c206 GtkDirectionType direction)
210 GTK_TYPE_DIRECTION_TYPE, direction);
213 GTK_TYPE_DIRECTION_TYPE, direction);
219 GtkDirectionType direction)
225 GTK_TYPE_DIRECTION_TYPE, direction);
228 GTK_TYPE_DIRECTION_TYPE, direction);
231 GTK_TYPE_DIRECTION_TYPE, direction);
234 GTK_TYPE_DIRECTION_TYPE, direction);
294 * widget text direction is set to RTL).
1935 * text direction i
204 add_tab_bindings(GtkBindingSet *binding_set, GdkModifierType modifiers, GtkDirectionType direction) argument
217 add_arrow_bindings(GtkBindingSet *binding_set, guint keysym, GtkDirectionType direction) argument
[all...]
H A Dgdl-dock-bar.c806 GtkTextDirection direction; local
813 direction = gtk_widget_get_direction (widget);
928 if (direction == GTK_TEXT_DIR_RTL)
996 if (direction == GTK_TEXT_DIR_RTL)
/inkscape/src/ui/tool/
H A Dnode.cpp98 /** Computes an unit vector of the direction from first to second control point */
99 static Geom::Point direction(Geom::Point const &first, Geom::Point const &second) { function in namespace:Inkscape::UI
139 Node *node_towards = _parent->nodeToward(this); // node in direction of this handle
140 Node *node_away = _parent->nodeAwayFrom(this); // node in the opposite direction
164 // in its direction becomes linear and there are smooth nodes
187 Geom::Point direction = _parent->position() - node_away->position(); local
189 // project the relative position on the direction line
190 Geom::Point new_delta = (Geom::dot(delta, direction)
191 / Geom::L2sq(direction)) * direction;
[all...]
/inkscape/src/libavoid/
H A Dgraph.cpp89 int direction = vecDir(a, b, c); local
91 if (direction > 0)
96 else if (direction < 0)
/inkscape/src/ui/tools/
H A Dtool-base.cpp783 switch (event->scroll.direction) {
802 switch (event->scroll.direction) {
823 switch (event->scroll.direction) {
/inkscape/src/display/
H A Dnr-style.cpp339 text_direction = style->direction.computed;

Completed in 1024 milliseconds

12