Flutter Engine
The Flutter Engine
Public Types | Public Member Functions | List of all members
SkSVGFeInputType Class Reference

#include <SkSVGTypes.h>

Public Types

enum class  Type {
  kSourceGraphic , kSourceAlpha , kBackgroundImage , kBackgroundAlpha ,
  kFillPaint , kStrokePaint , kFilterPrimitiveReference , kUnspecified
}
 

Public Member Functions

 SkSVGFeInputType ()
 
 SkSVGFeInputType (Type t)
 
 SkSVGFeInputType (const SkSVGStringType &id)
 
bool operator== (const SkSVGFeInputType &other) const
 
bool operator!= (const SkSVGFeInputType &other) const
 
const SkStringid () const
 
Type type () const
 

Detailed Description

Definition at line 635 of file SkSVGTypes.h.

Member Enumeration Documentation

◆ Type

enum class SkSVGFeInputType::Type
strong
Enumerator
kSourceGraphic 
kSourceAlpha 
kBackgroundImage 
kBackgroundAlpha 
kFillPaint 
kStrokePaint 
kFilterPrimitiveReference 
kUnspecified 

Definition at line 637 of file SkSVGTypes.h.

637 {
638 kSourceGraphic,
640 kBackgroundImage,
641 kBackgroundAlpha,
642 kFillPaint,
643 kStrokePaint,
644 kFilterPrimitiveReference,
646 };
@ kUnspecified
The absence of a specialized TaskSourceGrade.

Constructor & Destructor Documentation

◆ SkSVGFeInputType() [1/3]

SkSVGFeInputType::SkSVGFeInputType ( )
inline

Definition at line 648 of file SkSVGTypes.h.

◆ SkSVGFeInputType() [2/3]

SkSVGFeInputType::SkSVGFeInputType ( Type  t)
inlineexplicit

Definition at line 649 of file SkSVGTypes.h.

649: fType(t) {}

◆ SkSVGFeInputType() [3/3]

SkSVGFeInputType::SkSVGFeInputType ( const SkSVGStringType id)
inlineexplicit

Definition at line 650 of file SkSVGTypes.h.

651 : fType(Type::kFilterPrimitiveReference), fId(id) {}

Member Function Documentation

◆ id()

const SkString & SkSVGFeInputType::id ( ) const
inline

Definition at line 658 of file SkSVGTypes.h.

658 {
660 return fId;
661 }
#define SkASSERT(cond)
Definition: SkAssert.h:116

◆ operator!=()

bool SkSVGFeInputType::operator!= ( const SkSVGFeInputType other) const
inline

Definition at line 656 of file SkSVGTypes.h.

656{ return !(*this == other); }

◆ operator==()

bool SkSVGFeInputType::operator== ( const SkSVGFeInputType other) const
inline

Definition at line 653 of file SkSVGTypes.h.

653 {
654 return fType == other.fType && fId == other.fId;
655 }

◆ type()

Type SkSVGFeInputType::type ( ) const
inline

Definition at line 663 of file SkSVGTypes.h.

663{ return fType; }

The documentation for this class was generated from the following file: