Flutter Engine
The Flutter Engine
third_party
skia
modules
svg
include
SkSVGFeFlood.h
Go to the documentation of this file.
1
/*
2
* Copyright 2020 Google Inc.
3
*
4
* Use of this source code is governed by a BSD-style license that can be
5
* found in the LICENSE file.
6
*/
7
8
#ifndef SkSVGFeFlood_DEFINED
9
#define SkSVGFeFlood_DEFINED
10
11
#include "
modules/svg/include/SkSVGFe.h
"
12
#include "
modules/svg/include/SkSVGTypes.h
"
13
14
class
SK_API
SkSVGFeFlood
:
public
SkSVGFe
{
15
public
:
16
static
sk_sp<SkSVGFeFlood>
Make
() {
return
sk_sp<SkSVGFeFlood>
(
new
SkSVGFeFlood
()); }
17
18
protected
:
19
sk_sp<SkImageFilter>
onMakeImageFilter
(
const
SkSVGRenderContext
&,
20
const
SkSVGFilterContext
&)
const override
;
21
22
std::vector<SkSVGFeInputType>
getInputs
()
const override
{
return
{}; }
23
24
private
:
25
SkSVGFeFlood
() :
INHERITED
(
SkSVGTag
::
kFeFlood
) {}
26
27
SkColor
resolveFloodColor(
const
SkSVGRenderContext
&)
const
;
28
29
using
INHERITED
=
SkSVGFe
;
30
};
31
32
#endif
// SkSVGFeFlood_DEFINED
SK_API
#define SK_API
Definition:
SkAPI.h:35
SkColor
uint32_t SkColor
Definition:
SkColor.h:37
INHERITED
#define INHERITED(method,...)
Definition:
SkRecorder.cpp:128
SkSVGFe.h
SkSVGTag
SkSVGTag
Definition:
SkSVGNode.h:23
SkSVGTag::kFeFlood
@ kFeFlood
SkSVGTypes.h
SkSVGFeFlood
Definition:
SkSVGFeFlood.h:14
SkSVGFeFlood::getInputs
std::vector< SkSVGFeInputType > getInputs() const override
Definition:
SkSVGFeFlood.h:22
SkSVGFeFlood::Make
static sk_sp< SkSVGFeFlood > Make()
Definition:
SkSVGFeFlood.h:16
SkSVGFe
Definition:
SkSVGFe.h:18
SkSVGFe::SkSVGFe
SkSVGFe(SkSVGTag t)
Definition:
SkSVGFe.h:67
SkSVGFe::onMakeImageFilter
virtual sk_sp< SkImageFilter > onMakeImageFilter(const SkSVGRenderContext &, const SkSVGFilterContext &) const =0
SkSVGFilterContext
Definition:
SkSVGFilterContext.h:21
SkSVGRenderContext
Definition:
SkSVGRenderContext.h:63
sk_sp
Definition:
SkRefCnt.h:220
Generated on Sun Jun 23 2024 21:56:07 for Flutter Engine by
1.9.4