Searched defs:opacity (Results 1 - 25 of 42) sorted by relevance

12

/inkscape/src/filters/
H A Dflood.h28 double opacity; member in class:SPFeFlood
/inkscape/src/display/
H A Dnr-filter-flood.h39 double opacity; member in class:Inkscape::Filters::FilterFlood
H A Ddrawing-pattern.cpp65 DrawingPattern::renderPattern(float opacity) { argument
66 bool needs_opacity = (1.0 - opacity) >= 1e-3;
67 bool visible = opacity >= 1e-3;
95 dc.pushGroup(); // this group is for pattern + opacity
132 dc.paint(opacity); // apply opacity
H A Dnr-style.h50 Paint() : type(PAINT_NONE), color(0), server(NULL), opacity(1.0) {}
56 float opacity; member in struct:NRStyle::Paint
H A Ddrawing-item.cpp285 DrawingItem::setOpacity(float opacity) argument
287 if (_opacity != opacity) {
288 _opacity = opacity;
747 * Clipping, masking and opacity are done by rendering them to a surface
752 * value corresponding to the opacity. If there is no clipping path,
754 * to the opacity value.
759 // filters and opacity do not apply when rendering the ancestors of the filtered
781 // 1. Render clipping path with alpha = opacity.
783 // Since clip can be combined with opacity, the result could be incorrect
797 // 2. Render the mask if present and compose it with the clipping path + opacity
[all...]
/inkscape/src/
H A Dsp-gradient-vector.h18 float opacity; member in struct:SPGradientStop
H A Dsp-linear-gradient.cpp90 cairo_pattern_t* SPLinearGradient::pattern_new(cairo_t * /*ct*/, Geom::OptRect const &bbox, double opacity) { argument
97 sp_gradient_pattern_common_setup(cp, this, bbox, opacity);
H A Dsp-stop.h41 float opacity; member in class:SPStop
H A Dsp-solid-color.cpp37 this->readAttr( "solid-opacity" );
68 cairo_pattern_t* SPSolidColor::pattern_new(cairo_t * /*ct*/, Geom::OptRect const & /*bbox*/, double opacity) { argument
71 cairo_pattern_t *cp = cairo_pattern_create_rgba ( c->value.color.v.c[0], c->value.color.v.c[1], c->value.color.v.c[2], SP_SCALE24_TO_FLOAT(this->style->solid_opacity.value) * opacity );
H A Dsp-radial-gradient.cpp144 cairo_pattern_t* SPRadialGradient::pattern_new(cairo_t *ct, Geom::OptRect const &bbox, double opacity) { argument
203 sp_gradient_pattern_common_setup(cp, this, bbox, opacity);
H A Dprint.cpp32 sp_print_bind(SPPrintContext *ctx, Geom::Affine const &transform, float opacity) argument
34 return ctx->module->bind(transform, opacity);
H A Dsp-stop.cpp33 this->opacity = 1.0;
44 this->readAttr( "stop-opacity" );
64 * stop-color and stop-opacity properties.
75 gchar const *p = this->getStyleProperty( "stop-opacity", "1");
76 gdouble opacity = sp_svg_read_percentage(p, this->opacity); local
77 this->opacity = opacity;
97 gchar const *p = this->getStyleProperty( "stop-opacity", "1");
98 gdouble opacity local
138 gfloat opacity = this->opacity; local
153 os << ";stop-opacity:" << opacity; local
[all...]
H A Dsp-mesh-array.h97 opacity = 0.0;
106 double opacity; member in class:SPMeshNode
H A Dstyle.h197 /** opacity */
198 SPIScale24 opacity; member in class:SPStyle
215 /** solid-opacity */
220 /** fill-opacity */
239 /** stroke-opacity */
H A Dsp-gradient.cpp104 * Equivalent meaning they have the same stop count, same stop colors and same stop opacity
860 os << "stop-color:" << gr->vector.stops[i].color.toString() << ";stop-opacity:" << gr->vector.stops[i].opacity;
962 gstop.opacity = stop->opacity;
977 gstop.opacity = 0.0;
984 gstop.opacity = 0.0;
996 gstop.opacity = vector.stops.front().opacity;
1004 gstop.opacity
1098 sp_gradient_pattern_common_setup(cairo_pattern_t *cp, SPGradient *gr, Geom::OptRect const &bbox, double opacity) argument
[all...]
/inkscape/src/extension/internal/bitmap/
H A Dopacity.cpp12 #include "opacity.h"
22 Magick::Quantum opacity = Magick::Color::scaleDoubleToQuantum((100 - _opacity) / 100.0); local
23 image->opacity(opacity);
28 _opacity = module->get_param_float("opacity");
39 "<id>org.inkscape.effect.bitmap.opacity</id>\n"
40 "<param name=\"opacity\" gui-text=\"" N_("Opacity:") "\" type=\"float\" min=\"0.0\" max=\"100.0\">80.0</param>\n"
46 "<menu-tip>" N_("Modify opacity channel(s) of selected bitmap(s)") "</menu-tip>\n"
/inkscape/src/extension/internal/
H A Dmetafile-inout.h45 uint8_t opacity; member in struct:Inkscape::Extension::Internal::__anon62
H A Dcairo-render-context.h56 unsigned int merge_opacity : 1; // whether fill/stroke opacity can be mul'd with item opacity
57 unsigned int need_layer : 1; // whether object is masked, clipped, and/or has a non-zero opacity
60 float opacity; member in struct:Inkscape::Extension::Internal::CairoRenderState
H A Dodf.h129 GradientStop() : rgb(0), opacity(0)
132 { rgb = rgbArg; opacity = opacityArg; }
142 opacity = other.opacity;
145 double opacity; member in class:Inkscape::Extension::Internal::GradientStop
230 if (g1.opacity != g2.opacity)
H A Dlatex-text-renderer.cpp294 float opacity = SP_SCALE24_TO_FLOAT(style->opacity.value); local
298 opacity *= SP_SCALE24_TO_FLOAT(style->fill_opacity.value);
302 opacity *= SP_SCALE24_TO_FLOAT(style->stroke_opacity.value);
304 if (opacity < 1.0) {
323 os << "\\transparent{" << opacity << "}"; local
444 float opacity = SP_SCALE24_TO_FLOAT(style->opacity.value); local
448 opacity *= SP_SCALE24_TO_FLOAT(style->fill_opacity.value);
452 opacity *
473 os << "\\\\transparent{" << opacity << "}"; local
[all...]
/inkscape/src/extension/
H A Dprint.cpp61 Print::bind (const Geom::Affine &transform, float opacity) argument
63 return imp->bind (this, transform, opacity);
/inkscape/src/extension/internal/filter/
H A Dblurs.h308 * Background color (guint, default -1) -> flood (flood-opacity, flood-color)
333 "<param name=\"opacity\" gui-text=\"" N_("Opacity") "\" type=\"float\" appearance=\"full\" precision=\"2\" min=\"0\" max=\"1\">1</param>\n"
370 std::ostringstream opacity; local
382 opacity << ext->get_param_float("opacity");
399 "<feFlood flood-opacity=\"%s\" flood-color=\"rgb(%s,%s,%s)\" result=\"flood\" />\n"
408 background.str().c_str(), blend.str().c_str(), opacity.str().c_str());
H A Dtransparency.h110 * Flood colors (guint, default 16777215) -> flood (flood-opacity, flood-color)
190 * Global opacity (0.->1., default 1.) -> composite (k2)
209 "<param name=\"opacity\" gui-text=\"" N_("Global opacity") "\" type=\"float\" appearance=\"full\" precision=\"2\" min=\"0.\" max=\"1.\">1</param>\n"
231 std::ostringstream opacity; local
233 opacity << ext->get_param_float("opacity");
251 "</filter>\n", expand.str().c_str(), erode.str().c_str(), opacity.str().c_str());
260 Set opacity and strength of opacity boundarie
303 std::ostringstream opacity; local
[all...]
/inkscape/src/ui/dialog/
H A Dprint.cpp75 double opacity = 1.0; local
76 sp_repr_get_double (nv, "inkscape:pageopacity", &opacity);
77 bgcolor |= SP_COLOR_F_TO_U(opacity);
/inkscape/src/xml/
H A Drepr-css.cpp151 float opacity = static_cast<float>(alpha)/static_cast<float>(0xff); local
152 if (opacity > 1.0) {
153 opacity = 1.0; // safeguard
156 opcss << opacity; local
157 sp_repr_css_set_property(color_css, "fill-opacity", opcss.str().data());

Completed in 42 milliseconds

12