Flutter Engine
The Flutter Engine
Functions
SkSVGFeGaussianBlur.cpp File Reference
#include "include/effects/SkImageFilters.h"
#include "modules/svg/include/SkSVGAttributeParser.h"
#include "modules/svg/include/SkSVGFeGaussianBlur.h"
#include "modules/svg/include/SkSVGFilterContext.h"
#include "modules/svg/include/SkSVGRenderContext.h"
#include "modules/svg/include/SkSVGValue.h"

Go to the source code of this file.

Functions

template<>
bool SkSVGAttributeParser::parse< SkSVGFeGaussianBlur::StdDeviation > (SkSVGFeGaussianBlur::StdDeviation *stdDeviation)
 

Function Documentation

◆ SkSVGAttributeParser::parse< SkSVGFeGaussianBlur::StdDeviation >()

Definition at line 33 of file SkSVGFeGaussianBlur.cpp.

34 {
35 std::vector<SkSVGNumberType> values;
36 if (!this->parse(&values)) {
37 return false;
38 }
39
40 stdDeviation->fX = values[0];
41 stdDeviation->fY = values.size() > 1 ? values[1] : values[0];
42 return true;
43}
def parse(repo_root, recipes_cfg_path)
Definition: recipes.py:56