Searched defs:dir (Results 1 - 25 of 37) sorted by relevance

12

/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;
H A Dsystem.cpp551 std::string dir = Glib::path_get_dirname(filename); local
552 Extension *ext = build_from_reprdoc(doc, NULL, &dir);
/inkscape/src/live_effects/
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
H A Dlpe-copy_rotate.h58 Geom::Point dir; member in class:Inkscape::LivePathEffect::LPECopyRotate
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-mirror_symmetry.cpp225 double dir = line_separation.angle(); local
229 s = Geom::Point::polar(dir,size_divider) + center_point;
230 e = Geom::Point::polar(dir + Geom::rad_from_deg(180),size_divider) + center_point;
H A Dlpe-rough-hatches.cpp247 direction(_("Hatches width and dir"), _("Defines hatches frequency and direction"), "direction", &wr, this, Geom::Point(50,0)),
414 int dir = 0; local
418 dir = 2;
424 lscs.step(i,j, 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/src/
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
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 Ddeptool.cpp559 DIR *dir = opendir(dirname.c_str()); local
562 struct dirent *de = readdir(dir);
583 //trace("excluded file/dir: %s", fname.c_str());
622 closedir(dir);
763 //h file in same dir
H A Dinkscape.cpp247 // Try to read dir again
1314 // In case the XDG user config dir of the moment does not yet exist...
1331 gchar *dir = g_build_filename(prefdir, *name, NULL); local
1332 g_mkdir_with_parents(dir, mode);
1333 g_free(dir);
H A Dpreferences.cpp160 char *dir = Inkscape::Application::profile_path(user_dirs[i]); local
161 g_mkdir(dir, 0755);
162 g_free(dir);
166 // The profile dir is not actually a directory
175 // The profile dir exists and is valid.
/inkscape/src/io/
H A Dsys.cpp296 * N.B. Skips over any dir entries that fail to convert to utf8.
299 Inkscape::IO::dir_read_utf8name(GDir *dir) argument
302 gchar const *const opsys_name = g_dir_read_name(dir);
/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; }
/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();
H A Dlpe-tool.cpp376 Point dir = unit_vector(derivative(pwd2_reparam).valueAt(t_reparam)); local
377 Point n = -rot90(dir);
378 double angle = Geom::angle_between(dir, Point(1,0));
/inkscape/src/livarot/
H A DShapeRaster.cpp1622 Geom::Point dir; local
1626 dir = getEdge(no).dx;
1630 dir = -getEdge(no).dx;
1636 if ( fabs(dir[1]) < 0.000001 ) {
1639 swrData[no].dxdy = dir[0]/dir[1];
1642 if ( fabs(dir[0]) < 0.000001 ) {
1645 swrData[no].dydx = dir[1]/dir[0];
1656 Geom::Point dir; local
[all...]
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/libavoid/
H A Dgeometry.cpp311 int dir = vecDir(P[prev], P[i], q); local
312 if (dir == -1)
318 onBorder |= (dir == 0);
/inkscape/src/ui/dialog/
H A Dsymbols.cpp599 GDir *dir = g_dir_open( (*it).c_str(), 0, &err ); local
600 if( dir ) {
603 while( (filename = (gchar *)g_dir_read_name( dir ) ) != NULL) {
648 g_dir_close( dir );
/inkscape/src/ui/tool/
H A Dmulti-path-manipulator.cpp205 void MultiPathManipulator::shiftSelection(int dir) argument
229 if (dir == -1) goto exit_loop;
244 if (dir == 1) {
254 if (dir == 1) {
/inkscape/src/libcroco/
H A Dcr-style.c580 int dir; local
581 for (dir = (int) DIR_TOP ; dir < (int)NB_DIRS ; dir++) {
582 enum CRDirection direction = (enum CRDirection)dir;
710 int dir; local
711 for (dir = (int)DIR_TOP ; dir < (int)NB_DIRS ; dir++) {
712 enum CRDirection direction = (enum CRDirection)dir;
1169 int dir; local
1196 int dir; local
1248 int dir; local
[all...]

Completed in 245 milliseconds

12