#include <SkSVGTypes.h>
Definition at line 224 of file SkSVGTypes.h.
◆ Type
Enumerator |
---|
kNone | |
kColor | |
kIRI | |
Definition at line 226 of file SkSVGTypes.h.
226 {
229 kIRI,
230 };
@ kColor
hue and saturation of source with luminosity of destination
◆ SkSVGPaint() [1/6]
SkSVGPaint::SkSVGPaint |
( |
| ) |
|
|
inline |
Definition at line 232 of file SkSVGTypes.h.
constexpr SkColor SK_ColorBLACK
◆ SkSVGPaint() [2/6]
SkSVGPaint::SkSVGPaint |
( |
Type |
t | ) |
|
|
inlineexplicit |
◆ SkSVGPaint() [3/6]
◆ SkSVGPaint() [4/6]
Definition at line 235 of file SkSVGTypes.h.
236 : fType(
Type::kIRI), fColor(std::move(fallback_color)), fIRI(
iri) {}
const SkSVGIRI & iri() const
◆ SkSVGPaint() [5/6]
◆ SkSVGPaint() [6/6]
◆ color()
Definition at line 249 of file SkSVGTypes.h.
249 {
251 return fColor;
252 }
◆ iri()
const SkSVGIRI & SkSVGPaint::iri |
( |
| ) |
const |
|
inline |
◆ operator!=()
bool SkSVGPaint::operator!= |
( |
const SkSVGPaint & |
other | ) |
const |
|
inline |
Definition at line 246 of file SkSVGTypes.h.
246{ return !(*this == other); }
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ operator==()
bool SkSVGPaint::operator== |
( |
const SkSVGPaint & |
other | ) |
const |
|
inline |
Definition at line 243 of file SkSVGTypes.h.
243 {
244 return fType == other.fType && fColor == other.fColor && fIRI == other.fIRI;
245 }
◆ type()
Type SkSVGPaint::type |
( |
| ) |
const |
|
inline |
The documentation for this class was generated from the following file: