/inkscape/src/libcola/ |
H A D | straightener.cpp | 36 static bool pointOnLine(double px,double py, double ax, double ay, double bx, double by, double& tx) { argument 38 double dy=by-ay; 83 double by=route->ys[i]; local 86 //printf(" px=%f, py=%f, ax=%f, ay=%f, bx=%f, by=%f\n",px,py,ax,ay,bx,by); 87 if(pointOnLine(px,py,ax,ay,bx,by,t)) {
|
H A D | straightener.h | 69 double ax=route->xs[i-1], bx=route->xs[i], ay=route->ys[i-1], by=route->ys[i]; local 70 double r=(y-ay)/(by-ay); 71 // as long as y is between ay and by then r>0 80 double ax=route->xs[i-1], bx=route->xs[i], ay=route->ys[i-1], by=route->ys[i]; local 84 ys.push_back(ay+(by-ay)*r);
|
/inkscape/src/2geom/ |
H A D | sbasis-2d.cpp | 131 double by = -sign*reste[1]/fact_k*nB[Y]; local 134 result[Y][k] = Linear(ay,by);
|
/inkscape/share/extensions/ |
H A D | dxf_outlines.py | 10 - template dxf_outlines.dxf added Feb 2008 by Alvin Penner 20 it under the terms of the GNU General Public License as published by 49 inkex.errormsg(_("Failed to import the numpy or numpy.linalg modules. These modules are required by this extension. Please install them and try again.")) namespace 324 # self.dxf_add("999\nDXF created by Inkscape\n") # Some programs do not take comments in DXF files (KLayout 0.21.12 for example)
|
H A D | measure.py | 15 it under the terms of the GNU General Public License as published by 33 3. rotate by 180 degrees around text center 58 inkex.errormsg(_("Failed to import the numpy modules. These modules are required by this extension. Please install them and try again. On a Debian-like system this can be done with the command, sudo apt-get install python-numpy.")) namespace
|
H A D | perspective.py | 6 it under the terms of the GNU General Public License as published by 19 Perspective approach & math by Dmitry Platonov, shadowjack@mail.ru, 2006 44 inkex.errormsg(_("Failed to import the numpy or numpy.linalg modules. These modules are required by this extension. Please install them and try again. On a Debian-like system this can be done with the command, sudo apt-get install python-numpy.")) namespace
|
H A D | polyhedron_3d.py | 20 #Vertices are given as "v" followed by three numbers (x,y,z). 24 #Faces are given by a list of vertices 28 #Edges are given by a list of vertices. These will be broken down 33 #back-face culling, if selected. The parameter to sort the faces by 38 it under the terms of the GNU General Public License as published by 66 inkex.errormsg(_("Failed to import the numpy module. This module is required by this extension. Please install it and try again. On a Debian-like system this can be done with the command 'sudo apt-get install python-numpy'.")) namespace 236 def rot_z( matrix , a):#rotate around the z-axis by a radians 242 def rot_y( matrix , a):#rotate around the y-axis by a radians 248 def rot_x( matrix , a):#rotate around the x-axis by a radians 280 def get_z_sort_param(pts, face, method): #returns the z-sorting parameter specified by 'metho [all...] |
/inkscape/src/ |
H A D | unclump.cpp | 85 // angle from each item's center to the other's, unsqueezed by its w/h, normalized to 0..pi/2 282 Moves \a what away from \a from by \a dist 289 Geom::Point by = dist * Geom::unit_vector (- (p - it)); local 291 Geom::Affine move = Geom::Translate (by); 298 //g_print ("push %s at %g,%g from %g,%g by %g,%g, dist %g\n", what->getId(), it[Geom::X],it[Geom::Y], p[Geom::X],p[Geom::Y], by[Geom::X],by[Geom::Y], dist); 305 Moves \a what towards \a to by \a dist 312 Geom::Point by = dist * Geom::unit_vector (p - it); local 314 Geom::Affine move = Geom::Translate (by); [all...] |
H A D | text-editing.cpp | 373 SPObject *next_obj = split_obj->getNext(); // this is about to become invalidated by removeChild() 625 /** delete the line break pointed to by \a item by merging its children into 675 // by causing the first param to have everything set 1016 sp_te_adjust_kerning_screen (SPItem *item, Inkscape::Text::Layout::iterator const &start, Inkscape::Text::Layout::iterator const &end, SPDesktop *desktop, Geom::Point by) argument 1018 // divide increment by zoom 1019 // divide increment by matrix expansion 1023 by = factor * by; 1027 if (attributes) attributes->addToDxDy(char_index, by); 1136 sp_te_adjust_tspan_letterspacing_screen(SPItem *text, Inkscape::Text::Layout::iterator const &start, Inkscape::Text::Layout::iterator const &end, SPDesktop *desktop, gdouble by) argument 1233 sp_te_adjust_linespacing_screen(SPItem *text, Inkscape::Text::Layout::iterator const & , Inkscape::Text::Layout::iterator const & , SPDesktop *desktop, gdouble by) argument [all...] |
/inkscape/src/extension/internal/filter/ |
H A D | color.h | 175 "<menu-tip>" N_("Replace RGB by any color") "</menu-tip>\n" 1277 "<param name=\"by\" gui-text=\"" N_("Y") "\" type=\"float\" indent=\"1\" appearance=\"full\" precision=\"2\" min=\"-100.\" max=\"100.\">-16</param>\n" 1306 std::ostringstream by; local 1318 by << ext->get_param_float("by"); 1341 bx.str().c_str(), by.str().c_str() ); 1462 Replace hue by two colors. 1507 "<menu-tip>" N_("Replace hue by two colors") "</menu-tip>\n"
|
/inkscape/src/ui/widget/ |
H A D | selected-style.cpp | 1268 RotateableSwatch::color_adjust(float *hsla, double by, guint32 cc, guint modifier) argument 1275 if (by > 0) { 1276 hsla[1] += by * (1 - hsla[1]); 1278 hsla[1] += by * (hsla[1]); 1283 if (by > 0) { 1284 hsla[2] += by * (1 - hsla[2]); 1286 hsla[2] += by * (hsla[2]); 1291 hsla[3] += by/2; 1300 hsla[0] += by/2; 1336 RotateableSwatch::do_motion(double by, guin argument 1410 do_scroll(double by, guint modifier) argument 1416 do_release(double by, guint modifier) argument 1477 value_adjust(double current, double by, guint , bool final) argument 1506 do_motion(double by, guint modifier) argument 1528 do_release(double by, guint modifier) argument 1548 do_scroll(double by, guint modifier) argument [all...] |
/inkscape/src/ui/tools/ |
H A D | measure-tool.cpp | 303 double by = p4[Geom::Y] - yc; local 305 double q2 = q1 + (ax * bx) + (ay * by); 307 double k2 = (4.0 / 3.0) * (std::sqrt(2 * q1 * q2) - q2) / ((ax * by) - (ay * bx)); 311 Geom::Point p3(xc + bx + (k2 * by), 312 yc + by - (k2 * bx));
|