Searched refs:tp (Results 1 - 14 of 14) sorted by relevance

/inkscape/src/
H A Dsp-tspan.cpp338 void refresh_textpath_source(SPTextPath* tp) argument
340 if ( tp == NULL ) {
344 tp->sourcePath->refresh_source();
345 tp->sourcePath->sourceDirty=false;
348 if ( tp->sourcePath->originalPath ) {
349 if (tp->originalPath) {
350 delete tp->originalPath;
353 tp->originalPath = NULL;
355 tp->originalPath = new Path;
356 tp
441 sp_textpath_get_path_item(SPTextPath *tp) argument
453 sp_textpath_to_text(SPObject *tp) argument
[all...]
H A Dsp-textpath.h36 SPItem *sp_textpath_get_path_item(SPTextPath *tp);
37 void sp_textpath_to_text(SPObject *tp);
H A Dsp-image.cpp500 Geom::Translate tp(vx, vy);
502 t = s * tp;
H A Dsp-use.cpp218 Geom::Affine tp(Geom::Translate(this->x.computed, this->y.computed));
219 sp_print_bind(ctx, tp, 1.0);
H A Dtext-chemistry.cpp204 SPObject *tp = obj->firstChild(); local
208 sp_textpath_to_text(tp);
/inkscape/src/2geom/
H A Dtoposweep.h66 Point fp, tp; member in struct:Geom::Section
68 Section(CurveIx cix, double fd, double td, Point fdp, Point tdp) : curve(cix), f(fd), t(td), fp(fdp), tp(tdp) { }
70 fp = curve.get(ps).pointAt(f), tp = curve.get(ps).pointAt(t);
71 if (Point::LexLessRt(d)(tp, fp)) {
72 //swap from and to, since tp is left or above fp
75 swap(fp, tp);
78 Rect bbox() const { return Rect(fp, tp); }
196 //bool rev = are_near(areas[i][0]->fp, areas[i][1]->tp);
H A Dtoposweep.cpp78 assert(are_near(e.section->fp, vertices[i].avg, tol) || are_near(e.section->tp, vertices[i].avg, tol));
79 assert(!are_near(e.section->fp, e.section->tp, tol));
152 if(a.tp[dim] < ap[dim] && b.tp[dim] > bp[dim]) return true;
153 if(a.tp[dim] > ap[dim] && b.tp[dim] < bp[dim]) return false;
205 s->tp = s->curve.get(ps)(cuts[1]);
206 assert(Point::LexLessRt(d)(s->fp, s->tp));
321 if(k >= windings.size() || sec->fp[d] == sec->tp[d]) return;
383 if(Point::LexLessRt(d)(lim, sec->tp)) {
[all...]
H A Dellipse.cpp397 Point tp = p * inverseUnitCircleTransform(); local
398 return tp.length() <= 1;
/inkscape/src/display/
H A Ddrawing-image.cpp207 Geom::Point tp = p * _ctm.inverse(); local
210 if (!r.contains(tp))
215 int ix = floor((tp[Geom::X] - _origin[Geom::X]) / vw * width);
216 int iy = floor((tp[Geom::Y] - _origin[Geom::Y]) / vh * height);
/inkscape/src/extension/internal/
H A Dcairo-renderer.cpp340 Geom::Affine tp(Geom::Translate(use->x.computed, use->y.computed));
342 ctx->transform(tp);
391 Geom::Translate tp(x, y);
393 Geom::Affine t(s * tp);
698 Geom::Affine tp( Geom::Translate( bleedmargin_px, bleedmargin_px ) );
699 ctx->transform(tp);
706 Geom::Affine tp(Geom::Translate(-d.left() * (ctx->_vector_based_target ? Inkscape::Util::Quantity::convert(1, "pt", "px") : 1.0),
708 ctx->transform(tp);
H A Dlatex-text-renderer.cpp245 Geom::Affine tp(Geom::Translate(use->x.computed, use->y.computed));
246 push_transform(tp);
/inkscape/src/ui/dialog/
H A Dtext-edit.cpp310 SPTextPath *tp = SP_TEXTPATH(text->firstChild()); local
311 if (tp->getAttribute("startOffset")) {
312 gtk_entry_set_text(reinterpret_cast<GtkEntry *>(gtk_bin_get_child(reinterpret_cast<GtkBin *>(startOffset))), tp->getAttribute("startOffset"));
695 SPTextPath *tp = SP_TEXTPATH(text->firstChild()); local
697 tp->setAttribute("startOffset", sstr);
/inkscape/src/ui/
H A Dclipboard.cpp916 void ClipboardManagerImpl::_copyTextPath(SPTextPath *tp) argument
918 SPItem *path = sp_textpath_get_path_item(tp);
/inkscape/share/extensions/
H A Dgcodetools.py3112 tp = 1. #- xposition_mutate_param
3113 specimen[i] = [parent1[i][0], parent1[i][1]*tr+parent2[i][1]*(1-tr),parent1[i][2]*tp+parent2[i][2]*(1-tp)]
3118 tp = 0. #xposition_mutate_param
3122 specimen[i] = [parent2[j][0], parent1[i][1]*tr+parent2[i][1]*(1-tr),parent1[i][2]*tp+parent2[i][2]*(1-tp)]

Completed in 861 milliseconds