14.22: effects, text and shapes outlast size changes and adjustments

This commit is contained in:
ZacharyZhang-NY committed 2026-10-11 12:03:49 -04:00
1 parent bafb07978a
commit e8b74c6e47
17 files changed
+226 -38

No files matched your search

+2
View File
@@ -127,6 +127,8 @@ struct LayerEffects {
void setEnabled(bool enabled, LayerEffectKind kind);
// The effects that are switched on.
LayerEffects visible() const;
// Resampled by `factor`: sizes, distances and blurs, within range.
LayerEffects scaled(double factor) const;
friend bool operator==(const LayerEffects &, const LayerEffects &) = default;
};