Searched defs:x0 (Results 1 - 25 of 40) sorted by relevance

12

/inkscape/src/display/
H A Dnr-filter-offset.cpp90 double x0, y0, x1, y1; local
91 x0 = area.left();
97 x0 -= ceil(offset[X]);
107 area = Geom::IntRect(x0, y0, x1, y1);
H A Dsp-ctrlline.cpp150 void SPCtrlLine::setCoords(gdouble x0, gdouble y0, gdouble x1, gdouble y1) argument
152 if (DIFFER(x0, s[Geom::X]) || DIFFER(y0, s[Geom::Y]) || DIFFER(x1, e[Geom::X]) || DIFFER(y1, e[Geom::Y])) {
153 s[Geom::X] = x0;
H A Dsp-ctrlcurve.cpp156 void SPCtrlCurve::setCoords( gdouble x0, gdouble y0, gdouble x1, gdouble y1, argument
160 Geom::Point q0( x0, y0 );
H A Dnr-filter-diffuselighting.cpp86 Geom::Affine const &trans, double scale, double diffuse_constant, double x0, double y0)
89 , _x0(x0)
108 Geom::Affine const &trans, double scale, double diffuse_constant, double x0, double y0)
111 , _x0(x0)
166 double x0 = p[Geom::X], y0 = p[Geom::Y]; local
176 DiffusePointLight(input, light.point, color, trans, scale, diffuseConstant, x0, y0));
180 DiffuseSpotLight(input, light.spot, color, trans, scale, diffuseConstant, x0, y0));
85 DiffusePointLight(cairo_surface_t *bumpmap, SPFePointLight *light, guint32 color, Geom::Affine const &trans, double scale, double diffuse_constant, double x0, double y0) argument
107 DiffuseSpotLight(cairo_surface_t *bumpmap, SPFeSpotLight *light, guint32 color, Geom::Affine const &trans, double scale, double diffuse_constant, double x0, double y0) argument
H A Dnr-filter-specularlighting.cpp96 double specular_exponent, double x0, double y0)
99 , _x0(x0)
120 double specular_exponent, double x0, double y0)
123 , _x0(x0)
178 double x0 = p[Geom::X]; local
191 SpecularPointLight(input, light.point, color, trans, scale, ks, se, x0, y0));
195 SpecularSpotLight(input, light.spot, color, trans, scale, ks, se, x0, y0));
94 SpecularPointLight(cairo_surface_t *bumpmap, SPFePointLight *light, guint32 color, Geom::Affine const &trans, double scale, double specular_constant, double specular_exponent, double x0, double y0) argument
118 SpecularSpotLight(cairo_surface_t *bumpmap, SPFeSpotLight *light, guint32 color, Geom::Affine const &trans, double scale, double specular_constant, double specular_exponent, double x0, double y0) argument
H A Dcanvas-text.cpp261 sp_canvastext_set_coords (SPCanvasText *ct, gdouble x0, gdouble y0) argument
263 sp_canvastext_set_coords(ct, Geom::Point(x0, y0));
H A Dguideline.cpp32 static void sp_guideline_drawline (SPCanvasBuf *buf, gint x0, gint y0, gint x1, gint y1, guint32 rgba);
280 sp_guideline_drawline (SPCanvasBuf *buf, gint x0, gint y0, gint x1, gint y1, guint32 /*rgba*/) argument
282 cairo_move_to(buf->ct, x0 + 0.5, y0 + 0.5);
H A Dcurve.cpp261 * Calls SPCurve::curveto( Geom::Point(x0,y0), Geom::Point(x1,y1), Geom::Point(x2,y2) )
265 SPCurve::curveto(double x0, double y0, double x1, double y1, double x2, double y2) argument
267 curveto( Geom::Point(x0,y0), Geom::Point(x1,y1), Geom::Point(x2,y2) );
H A Dnr-filter-turbulence.cpp372 Turbulence(TurbulenceGenerator const &gen, Geom::Affine const &trans, int x0, int y0) argument
375 , _x0(x0), _y0(y0)
408 double x0 = slot_area.min()[Geom::X]; local
411 ink_cairo_surface_synthesize(out, Turbulence(*gen, unit_trans, x0, y0));
/inkscape/src/live_effects/
H A Dlpe-recursiveskeleton.cpp55 Piecewise<SBasis> x0 = false /*vertical_pattern.get_value()*/ ? Piecewise<SBasis>(patternd2[1]) : Piecewise<SBasis>(patternd2[0]); local
57 OptInterval pattBndsX = bounds_exact(x0);
64 x0 -= pattBndsX->min();
84 Piecewise<SBasis> x = x0;
H A Dlpe-ellipse_5pts.cpp169 double x0, y0, x1, y1, x2, y2, x3, y3; local
182 x0 = cos(s);
184 x1 = x0 + len * cos(s + M_PI_2);
H A Dlpe-patternalongpath.cpp143 Piecewise<SBasis> x0 = vertical_pattern.get_value() ? Piecewise<SBasis>(patternd2[1]) : Piecewise<SBasis>(patternd2[0]); local
145 OptInterval pattBndsX = bounds_exact(x0);
148 x0 -= pattBndsX->min();
178 Piecewise<SBasis> x = x0;
H A Dlpe-taperstroke.cpp384 Piecewise<SBasis> x0 = Piecewise<SBasis>(patternd2[0]); local
386 OptInterval pattBndsX = bounds_exact(x0);
389 x0 -= pattBndsX->min();
403 Piecewise<SBasis> x = x0;
/inkscape/src/helper/
H A Dpixbuf-ops.cpp68 double x0, double y0, double x1, double y1,
73 sp_generate_internal_bitmap(doc, filename, x0, y0, x1, y1,
86 @param x0
97 double x0, double y0, double x1, double y1,
113 Geom::Rect screen=Geom::Rect(Geom::Point(x0,y0), Geom::Point(x1, y1));
67 sp_export_jpg_file(SPDocument *doc, gchar const *filename, double x0, double y0, double x1, double y1, unsigned width, unsigned height, double xdpi, double ydpi, unsigned long bgcolor, double quality,GSList *items) argument
96 sp_generate_internal_bitmap(SPDocument *doc, gchar const * , double x0, double y0, double x1, double y1, unsigned width, unsigned height, double xdpi, double ydpi, unsigned long , GSList *items_only) argument
H A Dpng-write.cpp385 double x0, double y0, double x1, double y1,
392 return sp_export_png_file(doc, filename, Geom::Rect(Geom::Point(x0,y0),Geom::Point(x1,y1)),
421 /* This calculation is only valid when assumed that (x0,y0)= area.corner(0) and (x1,y1) = area.corner(2)
422 * 1) a[0] * x0 + a[2] * y1 + a[4] = 0.0
423 * 2) a[1] * x0 + a[3] * y1 + a[5] = 0.0
425 * 4) a[1] * x0 + a[3] * y0 + a[5] = height
429 * (1,3) a[0] * x1 - a[0] * x0 = width
430 * a[0] = width / (x1 - x0)
433 * (1) a[4] = -a[0] * x0
384 sp_export_png_file(SPDocument *doc, gchar const *filename, double x0, double y0, double x1, double y1, unsigned long int width, unsigned long int height, double xdpi, double ydpi, unsigned long bgcolor, unsigned int (*status) (float, void *), void *data, bool force_overwrite, const std::vector<SPItem*> &items_only) argument
/inkscape/src/
H A Dsp-item-transform.cpp93 * @param x0 Coordinate of the target visual bounding box
101 Geom::Affine get_scale_transform_for_uniform_stroke(Geom::Rect const &bbox_visual, gdouble stroke_x, gdouble stroke_y, bool transform_stroke, bool preserve, gdouble x0, gdouble y0, gdouble x1, gdouble y1) argument
104 Geom::Affine o2n = Geom::Translate (x0, y0);
122 gdouble w1 = x1 - x0; // can have any sign
248 * @param x0 Coordinate of the target visual bounding box
256 Geom::Affine get_scale_transform_for_variable_stroke(Geom::Rect const &bbox_visual, Geom::Rect const &bbox_geom, bool transform_stroke, bool preserve, gdouble x0, gdouble y0, gdouble x1, gdouble y1) argument
259 Geom::Affine o2n = Geom::Translate (x0, y0);
272 gdouble w1 = x1 - x0; // can have any sign
H A Dsp-image.cpp657 double const x0 = this->x.computed; local
659 double const x1 = x0 + this->width.computed;
664 p.push_back(Inkscape::SnapCandidatePoint(Geom::Point(x0, y0) * i2d, Inkscape::SNAPSOURCE_IMG_CORNER, Inkscape::SNAPTARGET_IMG_CORNER));
665 p.push_back(Inkscape::SnapCandidatePoint(Geom::Point(x0, y1) * i2d, Inkscape::SNAPSOURCE_IMG_CORNER, Inkscape::SNAPTARGET_IMG_CORNER));
/inkscape/src/2geom/
H A Drect.h104 Rect(Coord x0, Coord y0, Coord x1, Coord y1) : Base(x0, y0, x1, y1) {} argument
187 OptRect(Coord x0, Coord y0, Coord x1, Coord y1) : Base(x0, y0, x1, y1) {} argument
H A Dbasic-intersection.cpp245 const double x0 = gsl_vector_get (x, 0); local
248 Geom::Point dx = ((struct rparams *) params)->A(x0) -
291 J*(x1 - x0) = f(x0)
H A Dgeneric-rect.h87 GenericRect(C x0, C y0, C x1, C y1) { argument
88 f[X] = CInterval(x0, x1);
367 GenericOptRect(C x0, C y0, C x1, C y1) : Base(CRect(x0, y0, x1, y1)) {} argument
H A Dpath-intersection.cpp142 const double x0 = gsl_vector_get (x, 0); local
145 Geom::Point dx = ((struct rparams *) params)->A(x0) -
168 J*(x1 - x0) = f(x0)
/inkscape/src/svg/
H A Dpath-string.h111 PathString &curveTo(Geom::Coord x0, Geom::Coord y0, argument
115 return curveTo(Geom::Point(x0, y0), Geom::Point(x1, y1), Geom::Point(x, y));
/inkscape/src/trace/potrace/
H A Dinkscape-potrace.cpp147 double x0 = 0.0; local
173 x0 = pt[0].x;
185 data.curveTo(x0, y0, x1, y1, x2, y2);
/inkscape/src/widgets/
H A Dselect-toolbar.cpp175 gdouble x0 = 0; local
190 x0 = Quantity::convert(gtk_adjustment_get_value(a_x), unit, "px");
192 x1 = x0 + Quantity::convert(gtk_adjustment_get_value(a_w), unit, "px");
198 x0 = bbox_user->min()[Geom::X] * x0_propn;
202 x1 = x0 + xrel * bbox_user->dimensions()[Geom::X];
211 x1 = x0 + yrel * bbox_user->dimensions()[Geom::X];
218 double mh = fabs(x0 - bbox_user->min()[Geom::X]);
251 scaler = get_scale_transform_for_variable_stroke (*bbox_vis, *bbox_geom, transform_stroke, preserve, x0, y0, x1, y1);
257 scaler = get_scale_transform_for_uniform_stroke (*bbox_geom, 0, 0, false, false, x0, y0, x1, y1);
/inkscape/src/ui/dialog/
H A Dtransformation.cpp829 double x0 = bbox_pref->midpoint()[Geom::X] - new_width/2; local
834 Geom::Affine scaler = get_scale_transform_for_variable_stroke (*bbox_pref, *bbox_geom, transform_stroke, preserve, x0, y0, x1, y1);
853 double x0 = bbox_pref->midpoint()[Geom::X] - new_width/2; local
857 Geom::Affine scaler = get_scale_transform_for_variable_stroke (*bbox_pref, *bbox_geom, transform_stroke, preserve, x0, y0, x1, y1);

Completed in 56 milliseconds

12