Flutter Engine
The Flutter Engine
Functions
SkSVGFeDisplacementMap.cpp File Reference
#include "include/effects/SkImageFilters.h"
#include "modules/svg/include/SkSVGAttributeParser.h"
#include "modules/svg/include/SkSVGFeDisplacementMap.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< SkSVGFeDisplacementMap::ChannelSelector > (SkSVGFeDisplacementMap::ChannelSelector *channel)
 

Function Documentation

◆ SkSVGAttributeParser::parse< SkSVGFeDisplacementMap::ChannelSelector >()

Definition at line 58 of file SkSVGFeDisplacementMap.cpp.

59 {
60 static constexpr std::tuple<const char*, SkSVGFeDisplacementMap::ChannelSelector> gMap[] = {
61 { "R", SkSVGFeDisplacementMap::ChannelSelector::kR },
62 { "G", SkSVGFeDisplacementMap::ChannelSelector::kG },
65 };
66
67 return this->parseEnumMap(gMap, channel) && this->parseEOSToken();
68}
const auto kB