Searched defs:scale (Results 1 - 25 of 75) sorted by relevance

123

/inkscape/src/
H A Dcolorspace.h39 Component(std::string const &name, std::string const &tip, guint scale);
43 guint scale; member in class:colorspace::Component
H A Dsp-radial-gradient.cpp152 double scale = 1.0; local
193 scale = r_user.length() / d_user.length();
196 scale *= 1.0 - 2.0 * tolerance / dl;
200 scale * d.x() + center.x(), scale * d.y() + center.y(), focusr,
H A Dsp-item-transform.cpp41 void sp_item_scale_rel(SPItem *item, Geom::Scale const &scale) argument
46 item->set_i2d_affine(item->i2dt_affine() * s.inverse() * scale * s);
106 Geom::Affine scale = Geom::Scale (1, 1); local
171 * This is how the stroke should scale: r1^2 / A1 = r0^2 / A0
187 // If w1 < 0 then the scale will be wrong if we just assume that scale_x = (w1 - r1)/(w0 - r0);
194 } else if (!transform_stroke && !preserve) { // scale the geometric bbox with constant stroke
223 scale *= Geom::Scale(flip_x * scale_x, flip_y * scale_y);
225 return (p2o * scale * unbudge * o2n);
261 Geom::Affine scale = Geom::Scale (1, 1); local
330 * This is how the stroke should scale
[all...]
/inkscape/src/display/
H A Dnr-filter-displacement-map.h39 double scale; member in class:Inkscape::Filters::FilterDisplacementMap
H A Ddrawing-pattern.cpp166 double scale = det_ctm*det_ps2user*det_child_transform * oversampling; local
167 //FIXME: When scale is too big (zooming in a hatch), cairo doesn't render the pattern
171 if (scale > 25) {
172 scale = 25;
174 Geom::Point c(pattern_tile.dimensions()*scale*oversampling);
H A Ddrawing-shape.cpp120 float width, scale; local
121 scale = ctx.ctm.descrim();
122 width = std::max(0.125f, _nrstyle.stroke_width * scale);
123 if ( fabs(_nrstyle.stroke_width * scale) > 0.01 ) { // FIXME: this is always true
329 float const scale = _ctm.descrim(); local
330 width = std::max(0.125f, _nrstyle.stroke_width * scale) / 2;
H A Ddrawing-surface.cpp117 DrawingSurface::scale() const function in class:Inkscape::DrawingSurface
H A Dnr-filter-diffuselighting.cpp46 DiffuseLight(cairo_surface_t *bumpmap, double scale, double kd) argument
48 , _scale(scale)
69 double scale, double diffuse_constant)
70 : DiffuseLight(bumpmap, scale, diffuse_constant)
86 Geom::Affine const &trans, double scale, double diffuse_constant, double x0, double y0)
87 : DiffuseLight(bumpmap, scale, diffuse_constant)
108 Geom::Affine const &trans, double scale, double diffuse_constant, double x0, double y0)
109 : DiffuseLight(bumpmap, scale, diffuse_constant)
167 double scale = surfaceScale * trans.descrim(); local
172 DiffuseDistantLight(input, light.distant, color, scale, diffuseConstan
68 DiffuseDistantLight(cairo_surface_t *bumpmap, SPFeDistantLight *light, guint32 color, double scale, double diffuse_constant) argument
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
[all...]
H A Dnr-filter-specularlighting.cpp47 SpecularLight(cairo_surface_t *bumpmap, double scale, double specular_constant, argument
50 , _scale(scale)
77 double scale, double specular_constant, double specular_exponent)
78 : SpecularLight(bumpmap, scale, specular_constant, specular_exponent)
95 Geom::Affine const &trans, double scale, double specular_constant,
97 : SpecularLight(bumpmap, scale, specular_constant, specular_exponent)
119 Geom::Affine const &trans, double scale, double specular_constant,
121 : SpecularLight(bumpmap, scale, specular_constant, specular_exponent)
180 double scale = surfaceScale * trans.descrim(); local
187 SpecularDistantLight(input, light.distant, color, scale, k
76 SpecularDistantLight(cairo_surface_t *bumpmap, SPFeDistantLight *light, guint32 color, double scale, double specular_constant, double specular_exponent) argument
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
[all...]
/inkscape/src/live_effects/
H A Dlpe-path_length.h37 ScalarParam scale; member in class:Inkscape::LivePathEffect::LPEPathLength
/inkscape/src/filters/
H A Ddisplacementmap.h34 double scale; member in class:SPFeDisplacementMap
/inkscape/src/livarot/
H A DBitLigne.h39 // scale is: bit -> canvas, ie the size (width) of a bit
40 float scale,invScale; member in class:BitLigne
42 BitLigne(int ist,int ien,float iScale=0.25); // default scale is 1/4 for 4x4 supersampling
/inkscape/share/extensions/ink2canvas/
H A Dcanvas.py176 def scale(self, rx, ry): member in class:Canvas
177 self.write("ctx.scale(%f, %f);" % (rx, ry))
/inkscape/src/extension/internal/
H A Dgdkpixbuf-input.cpp33 Glib::ustring scale = prefs->getString("/dialogs/import/scale"); local
38 // << ", scale: " << scale << std::endl;
43 // << ", scale: " << mod->get_param_optiongroup("scale") << std::endl;
48 Glib::ustring mod_scale = mod->get_param_optiongroup("scale");
57 if( scale.compare( mod_scale ) != 0 ) {
58 scale = mod_scale;
60 prefs->setString("/dialogs/import/scale", scal
[all...]
H A Dgrid.cpp111 gdouble scale = Inkscape::Util::Quantity::convert(1, "px", &document->doc()->getSVGUnit()); local
112 bounding_area *= Geom::Scale(scale);
113 Geom::Point spacings( scale * module->get_param_float("xspacing"),
114 scale * module->get_param_float("yspacing") );
115 gdouble line_width = scale * module->get_param_float("lineWidth");
116 Geom::Point offsets( scale * module->get_param_float("xoffset"),
117 scale * module->get_param_float("yoffset") );
H A Dlatex-pstricks.cpp228 double const scale = tr_stack.descrim(); local
235 os << "\\pscustom[linewidth=" << style->stroke_width.computed*scale<< ",linecolor=curcolor";
H A Dmetafile-inout.cpp204 double scale = Inkscape::Util::Quantity::convert(1, "px", doc_unit); local
225 doc->getRoot()->scaleChildItemsRec(Geom::Scale(scale), Geom::Point(0, dh), true);
/inkscape/src/extension/plugins/grid2/
H A Dgrid.cpp117 gdouble scale = Inkscape::Util::Quantity::convert(1, "px", &document->doc()->getSVGUnit()); local
118 bounding_area *= Geom::Scale(scale);
119 Geom::Point spacings( scale * module->get_param_float("xspacing"),
120 scale * module->get_param_float("yspacing") );
121 gdouble line_width = scale * module->get_param_float("lineWidth");
122 Geom::Point offsets( scale * module->get_param_float("xoffset"),
123 scale * module->get_param_float("yoffset") );
/inkscape/src/ui/dialog/
H A Dobject-properties.cpp526 Glib::ustring scale = _combo_image_rendering.get_active_text(); local
530 sp_repr_css_set_property(css, "image-rendering", scale.c_str());
/inkscape/src/ui/widget/
H A Dscalar.cpp20 #include <gtkmm/scale.h>
145 Gtk::Scale *scale = new Gtk::Scale(static_cast<SpinButton*>(_widget)->get_adjustment()); local
147 Gtk::HScale *scale = new Gtk::HScale( * static_cast<SpinButton*>(_widget)->get_adjustment() );
149 scale->set_draw_value(false);
150 add (*manage (scale));
/inkscape/src/trace/
H A Dsiox.h140 virtual void mul(float scale) argument
142 L *= scale;
143 A *= scale;
144 B *= scale;
/inkscape/src/2geom/numeric/
H A Dvector.h223 VectorImpl & scale(double x) function in class:Geom::NL::detail::VectorImpl
319 Vector & scale(double x) function in class:Geom::NL::Vector
321 return static_cast<Vector&>( base_type::scale(x) );
524 VectorView & scale(double x) function in class:Geom::NL::VectorView
526 return static_cast<VectorView&>( base_type::scale(x) );
/inkscape/src/2geom/
H A Dpolynomial.cpp70 double scale = 1./back(); // unitize local
73 (*this)[i] *= scale;
/inkscape/src/extension/param/
H A Dfloat.cpp15 #include <gtkmm/scale.h>
17 #include "ui/widget/spin-scale.h"
189 UI::Widget::SpinScale *scale = new UI::Widget::SpinScale(_(_text), fadjust, _precision); local
190 scale->set_size_request(400, -1);
191 scale->show();
192 hbox->pack_start(*scale, false, false);
H A Dint.cpp15 #include <gtkmm/scale.h>
17 #include "ui/widget/spin-scale.h"
171 UI::Widget::SpinScale *scale = new UI::Widget::SpinScale(_(_text), fadjust, 0); local
172 scale->set_size_request(400, -1);
173 scale->show();
174 hbox->pack_start(*scale, false, false);

Completed in 335 milliseconds

123