Searched refs:light (Results 1 - 12 of 12) sorted by relevance

/inkscape/src/display/
H A Dnr-light.cpp14 #include "display/nr-light.h"
24 DistantLight::DistantLight(SPFeDistantLight *light, guint32 lighting_color) { argument
26 azimuth = M_PI / 180 * light->azimuth;
27 elevation = M_PI / 180 * light->elevation;
44 PointLight::PointLight(SPFePointLight *light, guint32 lighting_color, const Geom::Affine &trans) { argument
46 l_x = light->x;
47 l_y = light->y;
48 l_z = light->z;
67 SpotLight::SpotLight(SPFeSpotLight *light, guint32 lighting_color, const Geom::Affine &trans) { argument
70 l_x = light
[all...]
H A Dnr-filter-diffuselighting.cpp23 #include "display/nr-light.h"
53 guint32 diffuseLighting(int x, int y, NR::Fvector const &light, NR::Fvector const &light_components) { argument
55 double k = _kd * NR::scalar_product(normal, light);
68 DiffuseDistantLight(cairo_surface_t *bumpmap, SPFeDistantLight *light, guint32 color, argument
72 DistantLight dl(light, color);
85 DiffusePointLight(cairo_surface_t *bumpmap, SPFePointLight *light, guint32 color, argument
88 , _light(light, color, trans)
96 NR::Fvector light; local
97 _light.light_vector(light, _x0 + x, _y0 + y, _scale * alphaAt(x, y)/255.0);
98 return diffuseLighting(x, y, light, _light_component
107 DiffuseSpotLight(cairo_surface_t *bumpmap, SPFeSpotLight *light, guint32 color, Geom::Affine const &trans, double scale, double diffuse_constant, double x0, double y0) argument
116 NR::Fvector light, light_components; local
[all...]
H A Dnr-filter-specularlighting.cpp23 #include "display/nr-light.h"
76 SpecularDistantLight(cairo_surface_t *bumpmap, SPFeDistantLight *light, guint32 color, argument
80 DistantLight dl(light, color);
94 SpecularPointLight(cairo_surface_t *bumpmap, SPFePointLight *light, guint32 color, argument
98 , _light(light, color, trans)
106 NR::Fvector light, halfway; local
107 _light.light_vector(light, _x0 + x, _y0 + y, _scale * alphaAt(x, y)/255.0);
108 NR::normalized_sum(halfway, light, NR::EYE_VECTOR);
118 SpecularSpotLight(cairo_surface_t *bumpmap, SPFeSpotLight *light, guint32 color, argument
122 , _light(light, colo
128 NR::Fvector light, halfway, light_components; local
[all...]
H A Dnr-light.h5 * These classes provide tools to compute interesting objects relative to light
7 * in a sp light object into information useful in the current setting, a
8 * method to get the light vector (at a given point) and a method to get the
9 * light color components (at a given point).
15 #include "display/nr-light-types.h"
36 * \param light the sp light object
39 DistantLight(SPFeDistantLight *light, guint32 lighting_color);
43 * Computes the light vector of the distant light
[all...]
H A Dnr-filter-diffuselighting.h16 #include "display/nr-light-types.h"
44 } light; member in class:Inkscape::Filters::FilterDiffuseLighting
H A Dnr-filter-specularlighting.h16 #include "display/nr-light-types.h"
45 } light; member in class:Inkscape::Filters::FilterSpecularLighting
/inkscape/src/filters/
H A Ddiffuselighting.cpp263 sp_diffuselighting->renderer->light.distant = SP_FEDISTANTLIGHT(sp_diffuselighting->children);
267 sp_diffuselighting->renderer->light.point = SP_FEPOINTLIGHT(sp_diffuselighting->children);
271 sp_diffuselighting->renderer->light.spot = SP_FESPOTLIGHT(sp_diffuselighting->children);
298 nr_diffuselighting->light.distant = SP_FEDISTANTLIGHT(this->children);
303 nr_diffuselighting->light.point = SP_FEPOINTLIGHT(this->children);
308 nr_diffuselighting->light.spot = SP_FESPOTLIGHT(this->children);
H A Dspecularlighting.cpp271 sp_specularlighting->renderer->light.distant = SP_FEDISTANTLIGHT(sp_specularlighting->children);
276 sp_specularlighting->renderer->light.point = SP_FEPOINTLIGHT(sp_specularlighting->children);
281 sp_specularlighting->renderer->light.spot = SP_FESPOTLIGHT(sp_specularlighting->children);
309 nr_specularlighting->light.distant = SP_FEDISTANTLIGHT(this->children);
314 nr_specularlighting->light.point = SP_FEPOINTLIGHT(this->children);
319 nr_specularlighting->light.spot = SP_FESPOTLIGHT(this->children);
/inkscape/packaging/wix/
H A Dinstall.bat16 light -ext WixUIExtension -ext WiXUtilExtension inkscape.wixobj files.wixobj -o inkscape-%INKSCAPE_VER%.msi
/inkscape/src/ui/widget/
H A Dcolor-slider.h44 void setBackground(guint dark, guint light, guint size);
H A Dcolor-slider.cpp380 void ColorSlider::setBackground(guint dark, guint light, guint size) argument
383 _b1 = light;
/inkscape/src/extension/internal/filter/
H A Dpaint.h86 "<param name=\"light\" gui-text=\"" N_("Lightness") "\" type=\"float\" appearance=\"full\" precision=\"2\" min=\"0\" max=\"10\">0</param>\n"
131 std::ostringstream light; local
154 light << ext->get_param_float("light");
203 "</filter>\n", light.str().c_str(), noise.str().c_str(), b1in.str().c_str(), dblend.str().c_str(), smooth.str().c_str(), grainxf.str().c_str(), grainyf.str().c_str(), grainc.str().c_str(), grainv.str().c_str(), grainexp.str().c_str(), grainero.str().c_str(), graincol.str().c_str(), b2in.str().c_str(), gblend.str().c_str(), saturation.str().c_str(), transf.str().c_str(), transf.str().c_str(), transf.str().c_str(), col3in.str().c_str());

Completed in 352 milliseconds