MagicEraserState
MagicEraserState
Runtime state for the magic eraser tool. More…
#include <ProcessingOptions.hpp>
Public Attributes
| Name | |
|---|---|
| bool | drawing_mode Whether currently in drawing mode. |
| std::vector< uint8_t > | mask Mask of pixels to be replaced (empty = no replacement). |
| ImageSize | image_size Size of the image the mask corresponds to. |
Detailed Description
struct MagicEraserState;Runtime state for the magic eraser tool.
This state is not user-configurable and is managed by the processing chain. It includes the drawing mask, drawing mode toggle, and image dimensions.
Public Attributes Documentation
variable drawing_mode
bool drawing_mode {false};Whether currently in drawing mode.
variable mask
std::vector< uint8_t > mask;Mask of pixels to be replaced (empty = no replacement).
variable image_size
ImageSize image_size;Size of the image the mask corresponds to.
Updated on 2026-11-13 at 20:25:39 +0000