Flutter Engine
The Flutter Engine
Functions
SkSVGFeLighting.cpp File Reference
#include "include/core/SkPoint3.h"
#include "include/effects/SkImageFilters.h"
#include "modules/svg/include/SkSVGAttributeParser.h"
#include "modules/svg/include/SkSVGFeLightSource.h"
#include "modules/svg/include/SkSVGFeLighting.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< SkSVGFeLighting::KernelUnitLength > (SkSVGFeLighting::KernelUnitLength *kernelUnitLength)
 

Function Documentation

◆ SkSVGAttributeParser::parse< SkSVGFeLighting::KernelUnitLength >()

Definition at line 26 of file SkSVGFeLighting.cpp.

27 {
28 std::vector<SkSVGNumberType> values;
29 if (!this->parse(&values)) {
30 return false;
31 }
32
33 kernelUnitLength->fDx = values[0];
34 kernelUnitLength->fDy = values.size() > 1 ? values[1] : values[0];
35 return true;
36}
def parse(repo_root, recipes_cfg_path)
Definition: recipes.py:56