Lines Matching defs:radius
62 * Sets a suitable filter effects area according to given blur radius,
65 static void set_filter_area(Inkscape::XML::Node *repr, gdouble radius,
72 double rx = radius * (expansionY != 0 ? (expansion / expansionY) : 1);
73 double ry = radius * (expansionX != 0 ? (expansion / expansionX) : 1);
79 // (the opacity at 2.4*radius is about 3e-3)
194 * Creates a filter with blur primitive of specified radius for an item with the given matrix expansion, width and height
197 new_filter_gaussian_blur (SPDocument *document, gdouble radius, double expansion, double expansionX, double expansionY, double width, double height)
210 set_filter_area(repr, radius, expansion, expansionX, expansionY,
227 double stdDeviation = radius;
256 * Creates a simple filter with a blend primitive and a blur primitive of specified radius for
260 new_filter_blend_gaussian_blur (SPDocument *document, const char *blendmode, gdouble radius, double expansion,
291 if(radius != 0) {
292 set_filter_area(repr, radius, expansion, expansionX, expansionY, width, height);
299 double stdDeviation = radius;
345 * specified mode and radius, respectively
348 new_filter_simple_from_item (SPDocument *document, SPItem *item, const char *mode, gdouble radius)
363 return (new_filter_blend_gaussian_blur (document, mode, radius, i2dt.descrim(), i2dt.expansionX(), i2dt.expansionY(), width, height));
376 gdouble radius)
379 return new_filter_simple_from_item(document, item, "normal", radius);
385 return new_filter_simple_from_item(document, item, "normal", radius);
403 double stdDeviation = radius;
420 set_filter_area(repr, radius, expansion, i2d.expansionX(),