Searched refs:dir (Results 1 - 25 of 71) sorted by relevance

123

/inkscape/src/extension/
H A Dloader.h32 * @param dir is the path where the plugin should be loaded from.
34 void set_base_directory(std::string dir) { argument
35 _baseDirectory = dir;
/inkscape/packaging/macosx/Resources/etc/fonts/
H A Dfonts.conf26 <dir>/usr/share/fonts</dir>
27 <dir>/usr/X11/lib/X11/fonts</dir>
28 <dir>/opt/local/share/fonts</dir>
29 <dir>/System/Library/Fonts</dir>
30 <dir>/Network/Library/Fonts</dir>
[all...]
/inkscape/src/
H A Dsp-item-notify-moveto.cpp25 Geom::Point const dir( mv_g.getNormal() );
26 double const dir_lensq(dot(dir, dir));
33 double const pos0 = dot(dir, snappoints[snappoint_ix].getPoint());
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,
[all...]
H A Dprefix.cpp440 gchar *dir = g_path_get_dirname(exe); local
441 Glib::ustring ret = dir;
442 g_free(dir);
454 Glib::ustring dir = win32_getExePath(); local
458 dir += "\\";
459 dir += INKSCAPE_DATADIR;
461 return dir;
466 Glib::ustring dir = win32_getDataDir(); local
469 dir += "\\";
470 dir
[all...]
H A Dtransf_mat_3x4.cpp94 Geom::Point dir (column(axis).affine());
96 dir -= origin;
97 set_column (axis, Proj::Pt2(dir[Geom::X], dir[Geom::Y], 0));
99 Proj::Pt2 dir (column(axis));
101 dir = dir + origin;
102 dir[2] = 1.0;
103 set_column (axis, dir);
H A Daxis-manip.h202 inline bool is_single_axis_direction (Box3D::Axis dir) { argument
203 // tests whether dir is nonzero and a power of 2
204 return (!(dir & (dir - 1)) && dir);
H A Dline-geometry.cpp69 void Line::set_direction(Geom::Point const &dir) argument
71 v_dir = dir;
136 * starting at pt and going into direction dir.
141 Geom::Point const &pt, Geom::Point const &dir)
152 if (lies_in_sector (dir_A, dir_B, dir)) {
156 if (lies_in_sector (dir_B, dir_C, dir)) {
163 if (lies_in_sector (dir_C, dir_D, dir)) {
170 if (lies_in_sector (dir_D, dir_A, dir)) {
140 side_of_intersection(Geom::Point const &A, Geom::Point const &B, Geom::Point const &C, Geom::Point const &D, Geom::Point const &pt, Geom::Point const &dir) argument
/inkscape/src/live_effects/
H A Dlpe-text_label.cpp40 Point dir(unit_vector(derivative(pwd2_in).valueAt(t)));
41 Point n(-rot90(dir) * 30);
43 double angle = angle_between(dir, Point(1,0));
H A Dlpe-offset.cpp51 Geom::Point const center, Geom::Point const &dir) {
54 double r = L2(dir);
55 EllipticalArc cap(center + dir, r, r, angle_between(Point(1,0), dir), false, false, center - dir);
50 append_half_circle(Geom::Piecewise<Geom::D2<Geom::SBasis> > &pwd2, Geom::Point const center, Geom::Point const &dir) argument
H A Dlpe-parallel.cpp74 dir = unit_vector(B - A);
75 Geom::Point offset = (A + B)/2 + dir.ccw() * 100;
89 dir = unit_vector(B - A);
91 C = offset_pt - dir * length_left;
92 D = offset_pt + dir * length_right;
96 return output + dir;
125 double lambda = L2(s - lpe->offset_pt) * sgn(dot(s - lpe->offset_pt, lpe->dir));
140 double lambda = L2(s - lpe->offset_pt) * sgn(dot(s - lpe->offset_pt, lpe->dir));
H A Dlpe-angle_bisector.cpp71 dir = unit_vector(B - ptA) * Rotate(angle/2);
73 Geom::Point D = ptA - dir * length_left;
74 Geom::Point E = ptA + dir * length_right;
106 double lambda = Geom::nearest_time(s, lpe->ptA, lpe->dir);
119 double lambda = Geom::nearest_time(s, lpe->ptA, lpe->dir);
129 return lpe->ptA - lpe->dir * lpe->length_left;
136 return lpe->ptA + lpe->dir * lpe->length_right;
H A Dlpe-angle_bisector.h42 Geom::Point dir; member in class:Inkscape::LivePathEffect::LPEAngleBisector
H A Dlpe-parallel.h55 Geom::Point dir; member in class:Inkscape::LivePathEffect::LPEParallel
/inkscape/packaging/wix/
H A Dfiles.py39 for dir in dirs:
40 directory_key = breadcrumb + '__' + dir
43 wxs.write(indent(level) + "<Directory Id='" + directory_ids[directory_key] + "' Name='" + dir + "'>\n")
44 directory(os.path.join(root, dir), directory_key, level + 1)
/inkscape/po/
H A Dcheck_for_tutorial_problems.sh9 $0 [--help] [--base-dir] languages
26 -b | --base-dir)
/inkscape/src/live_effects/parameter/
H A Dtext.cpp63 Point dir = unit_vector(derivative(pwd2_reparam).valueAt(t_reparam)); local
64 Point n = -rot90(dir);
65 double angle = Geom::angle_between(dir, Point(1,0));
/inkscape/share/extensions/
H A Dwebslicer_export.py35 self.OptionParser.add_option("--dir",
37 dest="dir",
39 self.OptionParser.add_option("--create-dir",
56 if is_empty( self.options.dir ):
60 if self.options.dir[-1] == '/' or self.options.dir[-1] == '\\':
61 self.options.dir = self.options.dir[0:-1]
63 if not os.path.exists( self.options.dir ):
67 os.makedirs( self.options.dir )
[all...]
H A DjessyInk.js315 var dir = 0;
320 dir = 1;
325 dir = -1;
349 effectDict["dir"] = dir;
433 effectDict["dir"] = 1;
607 * @param dir direction of the change (1 = forwards, -1 = backwards)
609 function dispatchEffects(dir)
611 if (slides[activeSlide]["effects"] && (((dir == 1) && (activeEffect < slides[activeSlide]["effects"].length)) || ((dir
[all...]
/inkscape/src/2geom/
H A Dcrossing.h49 bool dir; //True: along a, a becomes outside. member in struct:Geom::Crossing
52 Crossing() : dir(false), ta(0), tb(1), a(0), b(1) {}
53 Crossing(double t_a, double t_b, bool direction) : dir(direction), ta(t_a), tb(t_b), a(0), b(1) {}
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) {}
55 bool operator==(const Crossing & other) const { return a == other.a && b == other.b && dir == other.dir && ta == other.ta && tb == other.tb; }
H A Dpoint.cpp215 /** @brief Snap the angle B - A - dir to multiples of \f$2\pi/n\f$.
216 * The 'dir' argument must be normalized (have unit length), otherwise the result
220 * @post angle_between(result - A, dir) == \f$2k\pi/n, k \in \mathbb{N}\f$
222 Point constrain_angle(Point const &A, Point const &B, unsigned int n, Point const &dir)
229 double angle = -angle_between(diff, dir);
231 return A + dir * Rotate(k * 2.0 * M_PI / (double)n) * L2(diff);
/inkscape/src/ui/tools/
H A Darc-tool.cpp366 Geom::Point dir = r.dimensions() / 2; local
373 if (fabs(dir[Geom::X]) > 1E-6 && fabs(dir[Geom::Y]) > 1E-6) {
376 new_dir[Geom::X] *= dir[Geom::Y] / dir[Geom::X];
377 double lambda = new_dir.length() / dir[Geom::Y];
378 r = Geom::Rect (c - lambda*dir, c + lambda*dir);
383 double l = dir.length();
/inkscape/src/livarot/
H A DPathStroke.cpp79 Geom::Point dir; local
80 dir[0] = 1;
81 dir[1] = 0;
83 DoButt(dest, width, butt, pos, dir, last[RIGHT], last[LEFT]);
85 dir = -dir;
86 DoButt(dest, width, butt, pos, dir, end[LEFT], end[RIGHT]);
146 Geom::Point dir; local
147 dir[0] = 1;
148 dir[
242 DoButt(Shape *dest, double width, ButtType butt, Geom::Point pos, Geom::Point dir, int &leftNo, int &rightNo) argument
[all...]
/inkscape/src/ui/dialog/
H A Dfiledialogimpl-win32.h48 /// @param dir The directory to begin browing from
52 FileDialogBaseWin32(Gtk::Window &parent, const Glib::ustring &dir,
132 /// @param dir The directory to begin browing from
136 const Glib::ustring &dir,
334 const Glib::ustring &dir,
/inkscape/src/ui/tool/
H A Dnode.cpp249 Geom::Point dir = Geom::unit_vector(relativePos());
250 setRelativePos(dir * len);
263 void Handle::setDirection(Geom::Point const &dir) argument
265 Geom::Point unitdir = Geom::unit_vector(dir);
770 // "dir" is an unit vector perpendicular to the bisector of the angle created
772 Geom::Point dir = Geom::unit_vector((len_prev / len_next) * vec_next - vec_prev); local
774 _back.setRelativePos(-dir * (len_prev / 3));
775 _front.setRelativePos(dir * (len_next / 3));
851 Geom::Point dir = direction(_back, *this); local
852 _front.setRelativePos(Geom::distance(_prev()->position(), position()) / 3 * dir);
858 Geom::Point dir = direction(_front, *this); local
887 Geom::Point dir = direction(_back, _front); local
982 int dir = 0; local
1025 _linearGrow(int dir) argument
1376 nodeToward(Handle *dir) argument
[all...]
/inkscape/src/io/
H A Dsys.h45 gchar *dir_read_utf8name(GDir *dir);

Completed in 3710 milliseconds

123