/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 42 tx=px-ax; 48 tx=(py-ay)/dy; 51 tx=(px-ax)/dx; 56 ty=tx; 62 //printf(" tx=%f,ty=%f\n",tx,ty); 63 if(fabs(tx-ty)<0.001 && tx>0 && tx< [all...] |
/inkscape/src/livarot/ |
H A D | ShapeMisc.cpp | 1246 Geom::Point tx; local 1250 tx = (pnData->p + psData->p) / 2; 1252 dest->BezierTo (tx); 1259 ReFormeBezierChunk (tx, nx, dest, inBezier, nbInterm, 1267 Geom::Point tx; local 1271 tx = (psData->p + pnData->p) / 2; 1273 ReFormeBezierChunk (px, tx, dest, inBezier, nbInterm, 1285 Geom::Point tx; local 1289 tx = (pnData->p + psData->p) / 2; 1291 ReFormeBezierChunk (px, tx, des 1326 Geom::Point tx; local 1347 Geom::Point tx; local 1365 Geom::Point tx; local [all...] |
/inkscape/src/ |
H A D | sp-radial-gradient.cpp | 188 double tx = tolerance * dx / dl, ty = tolerance * dy / dl; local 189 cairo_device_to_user_distance(ct, &tx, &ty); 190 double tolerance_user = hypot(tx, ty);
|
/inkscape/src/svg/ |
H A D | svg-affine.cpp | 233 double tx = (m[2]*m[5]+m[4]-m[4]*m[3]) / (1-m[3]-m[0]+m[0]*m[3]-m[2]*m[1]); local 234 p += sp_svg_number_write_de(c + p, sizeof(c) - p, tx, prec, min_exp); 238 double ty = (m[1]*tx + m[5]) / (1 - m[3]);
|
/inkscape/share/extensions/ |
H A D | measure.py | 252 tx, ty = cspcofm(p) 256 tx = bbox[0] + (bbox[1] - bbox[0])/2.0 260 tx = p[0][0][1][0] 264 self.addTextWithTspan(self.group, tx, ty, lenstr+' '+self.options.unit, id, anchor, -int(self.options.angle), self.options.offset + self.options.fontsize/2) 266 self.addTextWithTspan(self.group, tx, ty, lenstr+' '+self.options.unit+'^2', id, anchor, -int(self.options.angle), -self.options.offset + self.options.fontsize/2)
|
/inkscape/src/display/ |
H A D | nr-filter-turbulence.cpp | 135 double tx = x + PerlinOffset; 136 double bx = floor(tx); 137 double rx0 = tx - bx, rx1 = rx0 - 1.0;
|
/inkscape/src/ui/tools/ |
H A D | flood-tool.cpp | 521 for (unsigned int tx = bci.x - bci.radius; tx <= bci.x + bci.radius; tx++) { 522 if (coords_in_range(tx, ty, bci)) { 523 trace_t = get_trace_pixel(trace_px, tx, ty, bci.width); 525 if (check_if_pixel_is_paintable(px, trace_t, tx, ty, orig_color, bci)) { 528 if (tx < bci.x) { can_paint_left = false; } 529 if (tx > bci.x) { can_paint_right = false; }
|
/inkscape/src/extension/internal/pdfinput/ |
H A D | pdf-parser.cpp | 2255 double tx, ty; local 2257 tx = state->getLineX() + args[0].getNum(); 2259 state->textMoveTo(tx, ty); 2260 builder->updateTextPosition(tx, ty); 2266 double tx, ty; local 2268 tx = state->getLineX() + args[0].getNum(); 2272 state->textMoveTo(tx, ty); 2273 builder->updateTextPosition(tx, ty); 2290 double tx, ty; local 2292 tx 2319 double tx = 0; local 2340 double tx = 0; local [all...] |
H A D | svg-builder.h | 155 void updateTextPosition(double tx, double ty);
|
H A D | svg-builder.cpp | 1185 void SvgBuilder::updateTextPosition(double tx, double ty) { argument 1186 Geom::Point new_position(tx, ty);
|
/inkscape/src/ui/widget/ |
H A D | gimpspinscale.c | 677 gint tx, ty; local 679 if (gtk_widget_get_translation_to_window (widget, window, &tx, &ty)) 681 event_x += tx;
|
/inkscape/src/widgets/ |
H A D | ruler.cpp | 901 gint tx, ty; local 903 if (gtk_widget_get_translation_to_window (widget, window, &tx, &ty)) 905 event_x += tx;
|
/inkscape/src/extension/internal/ |
H A D | emf-inout.cpp | 1062 double tx = pix_to_x_point(d,x,y); local 1064 snap_to_faraway_pair(&tx,&ty); 1065 cxform << tx; local
|