|
|
Donner SVG Editor & Engine
SVG-native editor and embeddable SVG2 + CSS3 engine in C++20, with GPU (WebGPU) and compact CPU renderers, built for correctness, security, and performance.
|
Locked-rejection flash input for OverlayRenderer::captureChromeSnapshot. Carries the rejected (locked) element whose outline should flash red plus the current fade intensity. Kept as a dedicated struct (rather than a dependency on SelectTool::LockedRejectionFlash) so the overlay renderer stays decoupled from the tool layer. More...
#include "donner/editor/OverlayRenderer.h"
Public Attributes | |
| svg::SVGElement | element |
| The element whose selection was rejected because it (or an ancestor group) is locked. | |
| float | intensity = 0.0f |
| Fade intensity in (0, 1]; scales the red stroke's alpha at draw time. | |
Locked-rejection flash input for OverlayRenderer::captureChromeSnapshot. Carries the rejected (locked) element whose outline should flash red plus the current fade intensity. Kept as a dedicated struct (rather than a dependency on SelectTool::LockedRejectionFlash) so the overlay renderer stays decoupled from the tool layer.
| svg::SVGElement donner::editor::LockedRejectionFlashInput::element |
The element whose selection was rejected because it (or an ancestor group) is locked.
| float donner::editor::LockedRejectionFlashInput::intensity = 0.0f |
Fade intensity in (0, 1]; scales the red stroke's alpha at draw time.