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

Go to the source code of this file.

Functions

static bool AnyIsStandardInput (const SkSVGFilterContext &fctx, const std::vector< SkSVGFeInputType > &inputs)
 

Function Documentation

◆ AnyIsStandardInput()

static bool AnyIsStandardInput ( const SkSVGFilterContext fctx,
const std::vector< SkSVGFeInputType > &  inputs 
)
static

Definition at line 29 of file SkSVGFe.cpp.

30 {
31 for (const auto& in : inputs) {
32 switch (in.type()) {
34 break;
41 return true;
43 // Unspecified means previous result (which may be SourceGraphic).
45 return true;
46 }
47 break;
48 }
49 }
50
51 return false;
52}
bool previousResultIsSourceGraphic() const