#include <SkImageFilter_Base.h>
Definition at line 147 of file SkImageFilter_Base.h.
◆ cropRect()
std::optional< SkRect > SkImageFilter_Base::Common::cropRect |
( |
| ) |
const |
|
inline |
◆ getInput()
◆ inputCount()
int SkImageFilter_Base::Common::inputCount |
( |
| ) |
const |
|
inline |
◆ inputs()
◆ unflatten()
bool SkImageFilter_Base::Common::unflatten |
( |
SkReadBuffer & |
buffer, |
|
|
int |
expectedInputs |
|
) |
| |
Attempt to unflatten the expected number of input filters. If any number of input filters is valid, pass -1. If this fails (i.e. corrupt buffer or contents) then return false and common will be left uninitialized. If this returns true, then inputCount() is the number of found input filters, each of which may be NULL or a valid imagefilter.
Definition at line 177 of file SkImageFilter.cpp.
177 {
180 return false;
181 }
182 if (!
buffer.validate(expectedCount < 0 ||
count == expectedCount)) {
183 return false;
184 }
185
186#if defined(SK_BUILD_FOR_FUZZER)
188 return false;
189 }
190#endif
191
196 return false;
197 }
198 }
199
201 static constexpr uint32_t kHasAll_CropEdge = 0x0F;
205 return false;
206 }
207
211 return false;
212 }
213 if (
flags == kHasAll_CropEdge) {
215 }
216 }
218}
static bool SkIsValidRect(const SkRect &rect)
@ kRemoveDeprecatedCropRect
FlutterSemanticsFlag flags
sk_sp< SkBlender > blender SkRect rect
DEF_SWITCHES_START aot vmservice shared library Name of the *so containing AOT compiled Dart assets for launching the service isolate vm snapshot The VM snapshot data that will be memory mapped as read only SnapshotAssetPath must be present isolate snapshot The isolate snapshot data that will be memory mapped as read only SnapshotAssetPath must be present cache dir Path to the cache directory This is different from the persistent_cache_path in embedder which is used for Skia shader cache icu native lib Path to the library file that exports the ICU data vm service The hostname IP address on which the Dart VM Service should be served If not defaults to or::depending on whether ipv6 is specified vm service A custom Dart VM Service port The default is to pick a randomly available open port disable vm Disable the Dart VM Service The Dart VM Service is never available in release mode disable vm service Disable mDNS Dart VM Service publication Bind to the IPv6 localhost address for the Dart VM Service Ignored if vm service host is set endless trace buffer
The documentation for this class was generated from the following files: