Donner
Embeddable browser-grade SVG2 engine
Loading...
Searching...
No Matches
donner::svg::components::FEGaussianBlurComponent Struct Reference

Parameters for SVGFEGaussianBlurElement. More...

#include "donner/svg/components/filter/FilterPrimitiveComponent.h"

Public Types

enum class  EdgeMode : std::uint8_t {
  None ,
  Duplicate ,
  Wrap
}
 Edge handling mode for the blur. More...

Public Attributes

double stdDeviationX = 0.0
 The standard deviation of the Gaussian blur in the x direction.
double stdDeviationY = 0.0
 The standard deviation of the Gaussian blur in the y direction.
EdgeMode edgeMode = EdgeMode::None
 Edge handling mode (default: none).

Detailed Description

Parameters for SVGFEGaussianBlurElement.

Member Enumeration Documentation

◆ EdgeMode

Edge handling mode for the blur.

Enumerator
None 

Treat out-of-bounds pixels as transparent black.

Duplicate 

Clamp to nearest edge pixel.

Wrap 

Wrap around (modular arithmetic).


The documentation for this struct was generated from the following file: