Searched defs:ps (Results 1 - 18 of 18) sorted by relevance

/inkscape/src/display/
H A Dnr-style.cpp35 void NRStyle::Paint::set(SPPaintServer *ps) argument
38 if (ps) {
40 server = ps;
H A Ddrawing-text.cpp290 Geom::Point ps = Geom::Point(step * round(p1[Geom::X]/step),p1[Geom::Y]); local
295 ps -= Geom::Point(0, vextent/12.0);
297 dc.rectangle( Geom::Rect(ps + poff, pf - poff));
298 ps += Geom::Point(0, vextent/6.0);
300 dc.rectangle( Geom::Rect(ps + poff, pf - poff));
309 Geom::Point pv = ps;
334 Geom::Point pv = ps;
360 double x = ps[Geom::X];
361 double y = ps[Geom::Y] + poff[Geom::Y];
369 y = ps[Geo
[all...]
/inkscape/src/libavoid/
H A Dgeomtypes.h242 std::vector<Point> ps; member in class:Avoid::Polygon
243 //! @brief If used, denotes whether the corresponding point in ps is
247 //! corresponding point in the ps vector. Possible values are:
284 std::vector<std::pair<const Polygon *, unsigned short> > ps; member in class:Avoid::ReferencingPolygon
H A Dvpsc.h79 PositionStats ps; member in class:Avoid::Block
163 return (block->ps.scale*block->posn+offset)/scale;
/inkscape/src/ui/tools/
H A Dpencil-tool.h43 std::vector<Geom::Point> ps; member in class:Inkscape::UI::Tools::PencilTool
/inkscape/src/livarot/
H A Dfloat-line.h119 inline float ValAt(float at, float ps, float pe, float vs, float ve) { argument
120 return ((at - ps) * ve + (pe - at) * vs) / (pe - ps);
H A Dint-line.h90 inline float ValAt(int at, int ps, int pe, float vs, float ve) { argument
91 return ((at - ps) * ve + (pe - at) * vs) / (pe - ps);
H A DPathConversion.cpp916 Geom::Point ps = iS - iP; local
919 double s = fabs(cross(pe, ps));
1042 Geom::Point ps = iS - iP; local
1044 const double s = fabs(cross(pe, ps));
1204 const Geom::Point ps = iS - iP; local
1206 const double s = fabs(cross(pe, ps));
H A DShapeMisc.cpp1156 int ps = nPiece, pe = nPiece; local
1225 if (pe == ps)
1227 ReFormeBezierChunk (px, nx, dest, inBezier, nbInterm, from, ps,
1230 else if (ps < pe)
1237 for (int i = ps; i <= pe; i++)
1253 for (int i = ps; i < pe; i++)
1269 PathDescrIntermBezierTo* psData = dynamic_cast<PathDescrIntermBezierTo*>(from->descr_cmd[ps+1]);
1270 PathDescrIntermBezierTo* pnData = dynamic_cast<PathDescrIntermBezierTo*>(from->descr_cmd[ps+2]);
1274 from, ps, ts, 1.0);
1276 for (int i = ps
[all...]
/inkscape/src/extension/param/
H A Dparameter.cpp114 ParamString * ps = dynamic_cast<ParamString *>(param); local
115 ps->setMaxLength(atoi(max_length));
/inkscape/src/2geom/
H A Dbezier-curve.h82 * @param ps Vector which must contain order() + 1 points.
85 virtual void setPoints(std::vector<Point> const &ps) { argument
87 if (ps.size() != order() + 1)
90 setPoint(i, ps[i]);
H A Dtoposweep.h54 Curve const &get(PathVector const &ps) const {
55 return ps[path][ix];
69 Section(CurveIx cix, double fd, double td, PathVector ps, Dim2 d) : curve(cix), f(fd), t(td) { argument
70 fp = curve.get(ps).pointAt(f), tp = curve.get(ps).pointAt(t);
111 TopoGraph(PathVector const &ps, Dim2 d, double t);
136 //TopoGraph sweep_graph(PathVector const &ps, Dim2 d = X, double tol = 0.00001);
146 PathVector areas_to_paths(PathVector const &ps, Areas const &areas);
149 const PathVector &ps; member in class:Geom::SectionSorter
158 SectionSorter(const PathVector &rs, Dim2 d, double t = 0.00001) : ps(r
188 filter_areas(PathVector const &ps, Areas const & areas, Z const &z) argument
[all...]
H A Dpath-intersection.cpp435 std::vector<std::vector<double> > paths_mono_splits(PathVector const &ps) { argument
437 for(unsigned i = 0; i < ps.size(); i++)
438 ret.push_back(path_mono_splits(ps[i]));
H A Dtoposweep.cpp115 std::vector<boost::shared_ptr<Section> > mono_sections(PathVector const &ps, Dim2 d) { argument
117 for(unsigned i = 0; i < ps.size(); i++) {
119 if(ps[i].size()) {
120 for(unsigned j = 0; j < ps[i].size(); j++) {
122 Curve* deriv = ps[i][j].derivative();
129 monos.push_back(boost::shared_ptr<Section>(new Section(CurveIx(i,j), splits[k-1], splits[k], ps, d)));
139 double section_root(Section const &s, PathVector const &ps, double v, Dim2 d) { argument
140 std::vector<double> roots = s.curve.get(ps).roots(v, d);
147 Point ap = a.curve.get(ps).pointAt(at);
148 Point bp = b.curve.get(ps)
198 split_section(boost::shared_ptr<Section> s, PathVector const &ps, std::vector<double> &cuts, Dim2 d) argument
345 TopoGraph(PathVector const &ps, Dim2 d, double t) argument
640 area_to_path(PathVector const &ps, Area const &area) argument
658 areas_to_paths(PathVector const &ps, Areas const &areas) argument
[all...]
/inkscape/src/
H A Dgradient-chemistry.cpp1406 SPPaintServer *ps = NULL; local
1408 ps = (fill_or_stroke == Inkscape::FOR_FILL) ? SP_STYLE_FILL_SERVER(style) : SP_STYLE_STROKE_SERVER(style);
1411 if (ps
1412 && ( (type == SP_GRADIENT_TYPE_LINEAR && SP_IS_LINEARGRADIENT(ps)) ||
1413 (type == SP_GRADIENT_TYPE_RADIAL && SP_IS_RADIALGRADIENT(ps)) ) )
1417 SPGradient *current = SP_GRADIENT(ps);
H A Dsp-item.cpp601 void SPItem::fill_ps_ref_changed(SPObject *old_ps, SPObject *ps, SPItem *item) { argument
609 SPPaintServer *new_fill_ps = dynamic_cast<SPPaintServer *>(ps);
626 void SPItem::stroke_ps_ref_changed(SPObject *old_ps, SPObject *ps, SPItem *item) { argument
634 SPPaintServer *new_stroke_ps = dynamic_cast<SPPaintServer *>(ps);
/inkscape/src/extension/internal/
H A Dwmf-print.cpp193 U_PAIRF *ps = U_PAIRF_set(dwInchesX, dwInchesY); local
194 rec = U_WMRHEADER_set(ps, 1200); // Example: drawing is A4 horizontal, 1200 dpi
199 free(ps);
/inkscape/src/widgets/
H A Ddesktop-widget.cpp2185 set_adjustment (GtkAdjustment *adj, double l, double u, double ps, double si, double pi) argument
2189 (ps != gtk_adjustment_get_page_size(adj)) ||
2194 gtk_adjustment_set_page_size(adj, ps);

Completed in 415 milliseconds