#include <SkImageFilters.h>
Definition at line 47 of file SkImageFilters.h.
◆ CropRect() [1/8]
SkImageFilters::CropRect::CropRect |
( |
| ) |
|
|
inline |
◆ CropRect() [2/8]
SkImageFilters::CropRect::CropRect |
( |
const SkIRect & |
crop | ) |
|
|
inline |
◆ CropRect() [3/8]
SkImageFilters::CropRect::CropRect |
( |
const SkRect & |
crop | ) |
|
|
inline |
◆ CropRect() [4/8]
SkImageFilters::CropRect::CropRect |
( |
const std::optional< SkRect > & |
crop | ) |
|
|
inline |
◆ CropRect() [5/8]
SkImageFilters::CropRect::CropRect |
( |
const std::nullopt_t & |
| ) |
|
|
inline |
◆ CropRect() [6/8]
SkImageFilters::CropRect::CropRect |
( |
std::nullptr_t |
| ) |
|
|
inline |
◆ CropRect() [7/8]
SkImageFilters::CropRect::CropRect |
( |
const SkIRect * |
optionalCrop | ) |
|
|
inline |
◆ CropRect() [8/8]
SkImageFilters::CropRect::CropRect |
( |
const SkRect * |
optionalCrop | ) |
|
|
inline |
Definition at line 63 of file SkImageFilters.h.
63 {
64 if (optionalCrop) {
65 *this = *optionalCrop;
66 }
67 }
◆ operator==()
bool SkImageFilters::CropRect::operator== |
( |
const CropRect & |
o | ) |
const |
|
inline |
Definition at line 70 of file SkImageFilters.h.
70 {
71 return this->has_value() == o.has_value() &&
72 (!this->has_value() || this->
value() == *o);
73 }
The documentation for this struct was generated from the following file: