Go to the source code of this file.
◆ SG_ATTRIBUTE
#define SG_ATTRIBUTE |
( |
|
attr_name, |
|
|
|
attr_type, |
|
|
|
attr_container |
|
) |
| |
Value: const attr_type&
get##attr_name()
const {
return attr_container; } \
void
set##attr_name(
const attr_type& v) { \
if (attr_container == v) return; \
attr_container = v; \
this->invalidate(); \
} \
void
set##attr_name(attr_type&& v) { \
if (attr_container == v) return; \
attr_container = std::move(v); \
this->invalidate(); \
}
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 set
const myers::Point & get(const myers::Segment &)
Definition at line 100 of file SkSGNode.h.
◆ SG_MAPPED_ATTRIBUTE
#define SG_MAPPED_ATTRIBUTE |
( |
|
attr_name, |
|
|
|
attr_type, |
|
|
|
attr_container |
|
) |
| |
Value: attr_type
get##attr_name()
const {
return attr_container.get##attr_name(); } \
void
set##attr_name(
const attr_type& v) { \
if (attr_container.get##attr_name() == v) return; \
attr_container.set##attr_name(v); \
this->invalidate(); \
} \
void
set##attr_name(attr_type&& v) { \
if (attr_container.get##attr_name() == v) return; \
attr_container.set##attr_name(std::move(v)); \
this->invalidate(); \
}
Definition at line 113 of file SkSGNode.h.