/inkscape/src/ |
H A D | colorspace.h | 39 Component(std::string const &name, std::string const &tip, guint scale); 43 guint scale; member in class:colorspace::Component
|
H A D | sp-radial-gradient.cpp | 152 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 D | sp-item-transform.cpp | 41 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 D | nr-filter-displacement-map.h | 39 double scale; member in class:Inkscape::Filters::FilterDisplacementMap
|
H A D | drawing-pattern.cpp | 166 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 D | drawing-shape.cpp | 120 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 D | drawing-surface.cpp | 117 DrawingSurface::scale() const function in class:Inkscape::DrawingSurface
|
H A D | nr-filter-diffuselighting.cpp | 46 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 D | nr-filter-specularlighting.cpp | 47 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 D | lpe-path_length.h | 37 ScalarParam scale; member in class:Inkscape::LivePathEffect::LPEPathLength
|
/inkscape/src/filters/ |
H A D | displacementmap.h | 34 double scale; member in class:SPFeDisplacementMap
|
/inkscape/src/livarot/ |
H A D | BitLigne.h | 39 // 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 D | canvas.py | 176 def scale(self, rx, ry): member in class:Canvas 177 self.write("ctx.scale(%f, %f);" % (rx, ry))
|
/inkscape/src/extension/internal/ |
H A D | gdkpixbuf-input.cpp | 33 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 D | grid.cpp | 111 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 D | latex-pstricks.cpp | 228 double const scale = tr_stack.descrim(); local 235 os << "\\pscustom[linewidth=" << style->stroke_width.computed*scale<< ",linecolor=curcolor";
|
H A D | metafile-inout.cpp | 204 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 D | grid.cpp | 117 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 D | object-properties.cpp | 526 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 D | scalar.cpp | 20 #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 D | siox.h | 140 virtual void mul(float scale) argument 142 L *= scale; 143 A *= scale; 144 B *= scale;
|
/inkscape/src/2geom/numeric/ |
H A D | vector.h | 223 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 D | polynomial.cpp | 70 double scale = 1./back(); // unitize local 73 (*this)[i] *= scale;
|
/inkscape/src/extension/param/ |
H A D | float.cpp | 15 #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 D | int.cpp | 15 #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);
|