23class PathAdapter final :
public DiscardableAdapterBase<PathAdapter, sksg::Path> {
25 PathAdapter(
const skjson::Value& jpath,
const AnimationBuilder& abuilder)
27 this->bind(abuilder, jpath, fShape);
31 void onSync()
override {
32 const auto& path_node = this->node();
37 path.setFillType(path_node->getFillType());
38 path.setIsVolatile(!this->isStatic());
40 path_node->setPath(path);
45 using INHERITED = DiscardableAdapterBase<PathAdapter, sksg::Path>;
51 return this->attachDiscardableAdapter<PathAdapter>(jpath, *
this);
static std::unique_ptr< SkEncoder > Make(SkWStream *dst, const SkPixmap *src, const SkYUVAPixmaps *srcYUVA, const SkColorSpace *srcYUVAColorSpace, const SkJpegEncoder::Options &options)
#define INHERITED(method,...)
sk_sp< sksg::Path > attachPath(const skjson::Value &) const
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